Skip to content

Commit 69533cd

Browse files
jgoulyLinus Walleij
authored andcommitted
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 <joey.gouly@arm.com> Reviewed-by: Sven Peter <sven@svenpeter.dev> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20211026175815.52703-3-joey.gouly@arm.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 5853fd5 commit 69533cd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ properties:
4343

4444
interrupt-controller: true
4545

46+
'#interrupt-cells':
47+
const: 2
48+
4649
patternProperties:
4750
'-pins$':
4851
type: object
@@ -88,6 +91,7 @@ examples:
8891
gpio-ranges = <&pinctrl 0 0 212>;
8992
9093
interrupt-controller;
94+
#interrupt-cells = <2>;
9195
interrupt-parent = <&aic>;
9296
interrupts = <AIC_IRQ 16 IRQ_TYPE_LEVEL_HIGH>,
9397
<AIC_IRQ 17 IRQ_TYPE_LEVEL_HIGH>,

0 commit comments

Comments
 (0)