dt-bindings: pinctrl: mt8186: Fix 'reg-names' for pinctrl nodes
authorAllen-KH Cheng <allen-kh.cheng@mediatek.com>
Fri, 19 Aug 2022 12:06:49 +0000 (20:06 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 25 Aug 2022 12:56:46 +0000 (14:56 +0200)
commit0684bc79cd52edca88e430b177f06d980aed5779
tree3d3e59c3383955a94a0bf80b5dd53ea754442c79
parent11b918d90aebf87b7d317ec95c17b46716f43d57
dt-bindings: pinctrl: mt8186: Fix 'reg-names' for pinctrl nodes

The mt8186 contains 8 GPIO physical address bases that correspond to
the 'reg-names' of the pinctrl driver. The 'reg-names' entries in
bindings are ordered incorrectly, though. The system crashes due of an
erroneous address when the regulator initializes.

We fix the 'reg-names' for the pinctrl nodes and the pinctrl-mt8186
example in bindings.

Fixes: 338e953f1bd1 ("dt-bindings: pinctrl: mt8186: add pinctrl file and binding document")
Co-developed-by: Guodong Liu <guodong.liu@mediatek.com>
Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20220819120649.21523-1-allen-kh.cheng@mediatek.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/pinctrl-mt8186.yaml