Skip to content

Commit a31517b

Browse files
amboarBartosz Golaszewski
authored andcommitted
dt-bindings: gpio: aspeed,sgpio: Specify gpio-line-names
Some devicetrees specify gpio-line-names in the sgpio node despite it not being defined by the binding. It's a reasonable thing to do, so define the property to squash warnings such as: arch/arm/boot/dts/aspeed/aspeed-bmc-vegman-rx20.dtb: sgpio@1e780200: 'gpio-line-names' does not match any of the regexes: 'pinctrl-[0-9]+' Acked-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Andrew Jeffery <[email protected]> Link: https://lore.kernel.org/r/20240530-dt-warnings-gpio-sgpio-interrupt-cells-v2-1-912cd16e641f@codeconstruct.com.au Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent 77e1ea9 commit a31517b

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
@@ -33,6 +33,11 @@ properties:
3333

3434
gpio-controller: true
3535

36+
# Each SGPIO is represented as a pair of input and output GPIOs
37+
gpio-line-names:
38+
minItems: 160
39+
maxItems: 256
40+
3641
'#gpio-cells':
3742
const: 2
3843

0 commit comments

Comments
 (0)