dt-bindings: input: gpio-keys: accept also interrupt-extended

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>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220705120356.94876-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
Krzysztof Kozlowski 2022-07-05 14:03:56 +02:00 committed by Dmitry Torokhov
parent 005d4674ed
commit 42d3f278d5

View File

@ -92,6 +92,8 @@ patternProperties:
anyOf:
- required:
- interrupts
- required:
- interrupts-extended
- required:
- gpios