diff mbox series

[RESEND,v3,3/3] dt-bindings: input: gpio-keys: accept also interrupt-extended

Message ID 20220705120356.94876-4-krzysztof.kozlowski@linaro.org
State Accepted
Commit 42d3f278d504de99edca345cd0543081d725943b
Headers show
Series [RESEND,v3,1/3] dt-bindings: input: gpio-keys: enforce node names to match all properties | expand

Commit Message

Krzysztof Kozlowski July 5, 2022, 12:03 p.m. UTC
Each key device node might have interrupts-extended instead of
interrupts property:

  fsl-ls1028a-kontron-sl28-var1.dtb: buttons0: power-button: 'anyOf' conditional failed, one must be fixed:
    'interrupts' is a required property
    'gpios' is a required property

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/input/gpio-keys.yaml | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/input/gpio-keys.yaml b/Documentation/devicetree/bindings/input/gpio-keys.yaml
index e722e681d237..17ac9dff7972 100644
--- a/Documentation/devicetree/bindings/input/gpio-keys.yaml
+++ b/Documentation/devicetree/bindings/input/gpio-keys.yaml
@@ -92,6 +92,8 @@  patternProperties:
     anyOf:
       - required:
           - interrupts
+      - required:
+          - interrupts-extended
       - required:
           - gpios