From: Joey Gouly Date: Tue, 26 Oct 2021 17:58:12 +0000 (+0100) Subject: dt-bindings: pinctrl: add #interrupt-cells to apple,pinctrl X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=69533cd3a1a9b155bdb151caf04bc176b5759696;p=linux.git dt-bindings: pinctrl: add #interrupt-cells to apple,pinctrl The GPIO/pinctrl hardware can act as an interrupt-controller, so add the #interrupt-cells property to the binding. Signed-off-by: Joey Gouly Reviewed-by: Sven Peter Acked-by: Rob Herring Link: https://lore.kernel.org/r/20211026175815.52703-3-joey.gouly@arm.com Signed-off-by: Linus Walleij --- diff --git a/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml index d50571affd1f2..0b3eb068fb123 100644 --- a/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml @@ -43,6 +43,9 @@ properties: interrupt-controller: true + '#interrupt-cells': + const: 2 + patternProperties: '-pins$': type: object @@ -88,6 +91,7 @@ examples: gpio-ranges = <&pinctrl 0 0 212>; interrupt-controller; + #interrupt-cells = <2>; interrupt-parent = <&aic>; interrupts = , ,