diff options
author | Marek Vasut <marex@denx.de> | 2022-09-26 22:47:35 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-10-04 10:38:02 +0200 |
commit | 140bb02315e78923dc0ecd7d3c7f021c0167a817 (patch) | |
tree | b4b22fed9788af45162257d5fee79ee8141d812d /Documentation/devicetree | |
parent | 448921706bdd1758ac63c07185c5a4713278d6f8 (diff) | |
download | lwn-140bb02315e78923dc0ecd7d3c7f021c0167a817.tar.gz lwn-140bb02315e78923dc0ecd7d3c7f021c0167a817.zip |
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>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml index 06229d93c24c..12598e036287 100644 --- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml @@ -107,6 +107,12 @@ patternProperties: minimum: 0 maximum: 11 + patternProperties: + "^(.+-hog(-[0-9]+)?)$": + type: object + required: + - gpio-hog + required: - gpio-controller - '#gpio-cells' |