Message ID | 20240529-dt-warnings-gpio-sgpio-interrupt-cells-v1-3-91c42976833b@codeconstruct.com.au |
---|---|
State | New |
Headers | show |
Series | dt-bindings: gpio: aspeed,sgpio: Miscellaneous cleanups | expand |
diff --git a/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml b/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml index fe27b5d01e80..02c02ef97565 100644 --- a/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml +++ b/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml @@ -46,6 +46,9 @@ properties: interrupt-controller: true + '#interrupt-cells': + const: 2 + clocks: maxItems: 1 @@ -75,6 +78,7 @@ examples: clocks = <&syscon ASPEED_CLK_APB>; interrupts = <40>; interrupt-controller; + #interrupt-cells = <2>; gpio-controller; #gpio-cells = <2>; ngpios = <80>;
Squash warnings such as: ``` /home/andrew/src/kernel.org/linux/build.aspeed_g5/arch/arm/boot/dts/aspeed/aspeed-ast2500-evb.dtb: sgpio@1e780200: '#interrupt-cells' does not match any of the regexes: 'pinctrl-[0-9]+' ``` Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au> --- Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml | 4 ++++ 1 file changed, 4 insertions(+)