Skip to content

Commit 3a40985

Browse files
amboarBartosz Golaszewski
authored andcommitted
dt-bindings: gpio: aspeed,sgpio: Specify #interrupt-cells
Squash warnings such as: arch/arm/boot/dts/aspeed/aspeed-ast2500-evb.dtb: sgpio@1e780200: '#interrupt-cells' does not match any of the regexes: 'pinctrl-[0-9]+' Also, mark #interrupt-cells as required. The kernel devicetrees already specified it where compatible nodes were defined, and u-boot pulls in the kernel devicetrees, so this should have minimal practical impact. Signed-off-by: Andrew Jeffery <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/20240530-dt-warnings-gpio-sgpio-interrupt-cells-v2-2-912cd16e641f@codeconstruct.com.au Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent a31517b commit 3a40985

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ properties:
4646

4747
interrupt-controller: true
4848

49+
'#interrupt-cells':
50+
const: 2
51+
4952
clocks:
5053
maxItems: 1
5154

@@ -60,6 +63,7 @@ required:
6063
- '#gpio-cells'
6164
- interrupts
6265
- interrupt-controller
66+
- '#interrupt-cells'
6367
- ngpios
6468
- clocks
6569
- bus-frequency
@@ -77,6 +81,7 @@ examples:
7781
reg = <0x1e780200 0x0100>;
7882
clocks = <&syscon ASPEED_CLK_APB>;
7983
interrupt-controller;
84+
#interrupt-cells = <2>;
8085
ngpios = <80>;
8186
bus-frequency = <12000000>;
8287
};

0 commit comments

Comments
 (0)