Re: [PATCH] dt-bindings: pinctrl: mt7622: allow gpio-hogs
From: Rob Herring (Arm)
Date: Wed Jul 22 2026 - 11:29:11 EST
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@xxxxxxxxx>
> ---
> .../devicetree/bindings/pinctrl/mediatek,mt7622-pinctrl.yaml | 5 +++++
> 1 file changed, 5 insertions(+)
>
Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>