On Wed, 12 May 2021 11:44:12 +0530, satya priya wrote:
Convert qcom pm8941 power key binding from .txt to .yaml format.
The example has been removed in favour of full example being
available in the qcom,pon.yaml binding.
Signed-off-by: satya priya <redacted>
---
Changes in V2:
- Fixed bot errors, took reference from input.yaml for "linux,code"
- Added one complete example for powerkey and resin, and referenced it
in main PON binding.
- Moved this patch to the end of the series.
Changes in V3:
- Moved this patch before PON binding patch.
- As per Rob's comments, added allOf at the beginning of binding.
Added maxItems for interrupts.
- Added 'unevaluatedProperties' instead of 'additionalProperties' as
we are using allOf.
Changes in V4:
- Removed the example and added in qcom,pon.yaml
.../bindings/input/qcom,pm8941-pwrkey.txt | 55 ----------------------
.../bindings/input/qcom,pm8941-pwrkey.yaml | 51 ++++++++++++++++++++
2 files changed, 51 insertions(+), 55 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/input/qcom,pm8941-pwrkey.txt
create mode 100644 Documentation/devicetree/bindings/input/qcom,pm8941-pwrkey.yaml
Reviewed-by: Rob Herring <robh@kernel.org>