Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: pinctrl: mediatek,mt7622-pinctrl: Add missing base reg

The pin controller for both MT7622 and MT7629 need both a "base"
and an "eint" MMIO like the ones found on other MediaTek SoCs:
while devicetrees have always been correct, the binding is not,
as it only allows an "eint" reg.

Add "base" to reg-names and increment maxItems for reg to two.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

authored by

AngeloGioacchino Del Regno and committed by
Rob Herring (Arm)
8e0118a7 8d200dff

+4 -2
+4 -2
Documentation/devicetree/bindings/pinctrl/mediatek,mt7622-pinctrl.yaml
··· 19 19 - mediatek,mt7629-pinctrl 20 20 21 21 reg: 22 - maxItems: 1 22 + maxItems: 2 23 23 24 24 reg-names: 25 25 items: 26 + - const: base 26 27 - const: eint 27 28 28 29 gpio-controller: true ··· 368 367 369 368 pio: pinctrl@10211000 { 370 369 compatible = "mediatek,mt7622-pinctrl"; 371 - reg = <0 0x10211000 0 0x1000>; 370 + reg = <0 0x10211000 0 0x1000>, 371 + <0 0x10005000 0 0x1000>; 372 372 gpio-controller; 373 373 #gpio-cells = <2>; 374 374