Re: [PATCH v2 03/48] dt-bindings: input: gpio-keys: accept also interrupt-extended

From: Rob Herring
Date: Thu Jun 09 2022 - 11:21:28 EST


On Thu, 09 Jun 2022 13:39:05 +0200, Krzysztof Kozlowski wrote:
> 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@xxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/input/gpio-keys.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>

The tooling is supposed to take care of this, but it's complicated
enough that we don't find it. So easier to handle in the schema.

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>