Skip to content

Commit 140bb02

Browse files
Marek Vasutlinusw
authored andcommitted
dt-bindings: pinctrl: st,stm32: Document gpio-hog pattern property
Document gpio-hog pattern property and its subnodes. This fixes dtbs_check warnings when building current Linux DTs: " arch/arm/boot/dts/stm32mp153c-dhcom-drc02.dtb: pinctrl@50002000: gpio@50003000: 'rs485-rx-en-hog' does not match any of the regexes: 'pinctrl-[0-9]+' " Signed-off-by: Marek Vasut <[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 4489217 commit 140bb02

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@ patternProperties:
107107
minimum: 0
108108
maximum: 11
109109

110+
patternProperties:
111+
"^(.+-hog(-[0-9]+)?)$":
112+
type: object
113+
required:
114+
- gpio-hog
115+
110116
required:
111117
- gpio-controller
112118
- '#gpio-cells'

0 commit comments

Comments
 (0)