Skip to content

Commit 140bb02

Browse files
Marek VasutLinus Walleij
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 <marex@denx.de> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220926204735.381779-1-marex@denx.de Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 4489217 commit 140bb02

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

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)