Skip to content

Commit 69533cd

Browse files
jgoulylinusw
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 <[email protected]> Reviewed-by: Sven Peter <[email protected]> Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 5853fd5 commit 69533cd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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)