* [PATCH] dt-bindings: pinctrl: mt7622: allow gpio-hogs
@ 2026-07-09 19:39 Chen-Yu Yeh
2026-07-22 15:27 ` Rob Herring (Arm)
2026-07-25 9:43 ` Linus Walleij
0 siblings, 2 replies; 3+ messages in thread
From: Chen-Yu Yeh @ 2026-07-09 19:39 UTC (permalink / raw)
To: Sean Wang, Linus Walleij, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno
Cc: linux-mediatek, linux-gpio, devicetree, linux-kernel,
linux-arm-kernel, Frank Wunderlich, Chen-Yu Yeh
Commit 6e3b067d3c5e ("arm64: dts: mediatek: mt7622: Align GPIO hog
name with bindings") renamed the asm_sel GPIO hog to asm-sel-hog to
follow the GPIO hog naming convention, but the mt7622 pinctrl binding
only allows child nodes matching '-pins(-[a-z]+)?$', causing a
dtbs_check warning:
mt7622-bananapi-bpi-r64.dtb: pinctrl@10211000 (mediatek,mt7622-pinctrl):
'asm-sel-hog' does not match any of the regexes:
'-pins(-[a-z]+)?$', '^pinctrl-[0-9]+$'
Allow gpio-hog nodes in the pinctrl node, following the same pattern
as commit 9322da935c9a ("dt-bindings: pinctrl: mt7988: allow
gpio-hogs").
Signed-off-by: Chen-Yu Yeh <chenyou910331@gmail.com>
---
.../devicetree/bindings/pinctrl/mediatek,mt7622-pinctrl.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7622-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7622-pinctrl.yaml
index 6b925c5099cc..021307b6d801 100644
--- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7622-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7622-pinctrl.yaml
@@ -65,6 +65,11 @@ then:
- "#interrupt-cells"
patternProperties:
+ "-hog(-[0-9]+)?$":
+ type: object
+ required:
+ - gpio-hog
+
'-pins(-[a-z]+)?$':
type: object
additionalProperties: false
--
2.43.0
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] dt-bindings: pinctrl: mt7622: allow gpio-hogs
2026-07-09 19:39 [PATCH] dt-bindings: pinctrl: mt7622: allow gpio-hogs Chen-Yu Yeh
@ 2026-07-22 15:27 ` Rob Herring (Arm)
2026-07-25 9:43 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2026-07-22 15:27 UTC (permalink / raw)
To: Chen-Yu Yeh
Cc: Matthias Brugger, Sean Wang, Conor Dooley, devicetree,
Krzysztof Kozlowski, Frank Wunderlich, linux-gpio,
linux-mediatek, Linus Walleij, AngeloGioacchino Del Regno,
linux-kernel, linux-arm-kernel
On Fri, 10 Jul 2026 03:39:27 +0800, Chen-Yu Yeh wrote:
> Commit 6e3b067d3c5e ("arm64: dts: mediatek: mt7622: Align GPIO hog
> name with bindings") renamed the asm_sel GPIO hog to asm-sel-hog to
> follow the GPIO hog naming convention, but the mt7622 pinctrl binding
> only allows child nodes matching '-pins(-[a-z]+)?$', causing a
> dtbs_check warning:
>
> mt7622-bananapi-bpi-r64.dtb: pinctrl@10211000 (mediatek,mt7622-pinctrl):
> 'asm-sel-hog' does not match any of the regexes:
> '-pins(-[a-z]+)?$', '^pinctrl-[0-9]+$'
>
> Allow gpio-hog nodes in the pinctrl node, following the same pattern
> as commit 9322da935c9a ("dt-bindings: pinctrl: mt7988: allow
> gpio-hogs").
>
> Signed-off-by: Chen-Yu Yeh <chenyou910331@gmail.com>
> ---
> .../devicetree/bindings/pinctrl/mediatek,mt7622-pinctrl.yaml | 5 +++++
> 1 file changed, 5 insertions(+)
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] dt-bindings: pinctrl: mt7622: allow gpio-hogs
2026-07-09 19:39 [PATCH] dt-bindings: pinctrl: mt7622: allow gpio-hogs Chen-Yu Yeh
2026-07-22 15:27 ` Rob Herring (Arm)
@ 2026-07-25 9:43 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2026-07-25 9:43 UTC (permalink / raw)
To: Chen-Yu Yeh
Cc: Sean Wang, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Matthias Brugger, AngeloGioacchino Del Regno, linux-mediatek,
linux-gpio, devicetree, linux-kernel, linux-arm-kernel,
Frank Wunderlich
On Thu, Jul 9, 2026 at 9:39 PM Chen-Yu Yeh <chenyou910331@gmail.com> wrote:
> Commit 6e3b067d3c5e ("arm64: dts: mediatek: mt7622: Align GPIO hog
> name with bindings") renamed the asm_sel GPIO hog to asm-sel-hog to
> follow the GPIO hog naming convention, but the mt7622 pinctrl binding
> only allows child nodes matching '-pins(-[a-z]+)?$', causing a
> dtbs_check warning:
>
> mt7622-bananapi-bpi-r64.dtb: pinctrl@10211000 (mediatek,mt7622-pinctrl):
> 'asm-sel-hog' does not match any of the regexes:
> '-pins(-[a-z]+)?$', '^pinctrl-[0-9]+$'
>
> Allow gpio-hog nodes in the pinctrl node, following the same pattern
> as commit 9322da935c9a ("dt-bindings: pinctrl: mt7988: allow
> gpio-hogs").
>
> Signed-off-by: Chen-Yu Yeh <chenyou910331@gmail.com>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-07-25 9:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-09 19:39 [PATCH] dt-bindings: pinctrl: mt7622: allow gpio-hogs Chen-Yu Yeh
2026-07-22 15:27 ` Rob Herring (Arm)
2026-07-25 9:43 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®