Message ID | 20211016141839.45460-3-joey.gouly@arm.com |
---|---|
State | New |
Headers | show |
Series | pinctrl/GPIO driver for Apple SoCs | expand |
On Sat, Oct 16, 2021, at 16:18, Joey Gouly wrote: > 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> > --- > Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git > a/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml > b/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml > index d50571affd1f..340be4eabf44 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 > + thanks for adding this! small nit: could you also add it to the example below? Reviewed-by: Sven Peter <sven@svenpeter.dev> Thanks, Sven
On Sat, 16 Oct 2021 15:18:36 +0100, Joey Gouly wrote: > 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> > --- > Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml | 3 +++ > 1 file changed, 3 insertions(+) > Acked-by: Rob Herring <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml index d50571affd1f..340be4eabf44 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
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> --- Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml | 3 +++ 1 file changed, 3 insertions(+)