pinctrl: sunxi: increase number of GPIO bank regulators
authorAndre Przywara <andre.przywara@arm.com>
Thu, 6 Mar 2025 23:58:21 +0000 (23:58 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 13 Mar 2025 13:48:56 +0000 (14:48 +0100)
commit4713b70cc4bd46fd47899e0f4c5b3ecae213db9f
treeef9f6a580f2cd04bf9e9b6db059d010a5952e2ab
parent12966fdfbadbce5758a6d73f794778e10296cb64
pinctrl: sunxi: increase number of GPIO bank regulators

By design, the Allwinner pinctrl IP always supported up to 11 GPIO banks,
though no SoC ever used more than 9 banks so far.
The Allwinner A523 has pins in all 11 banks, which exceeds the number of
per-bank regulators that we currently support, as this was set to 9.

Increase the size of the array to hold up to 11 regulator structs, to
support pins in bank J and K as well.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/20250306235827.4895-3-andre.przywara@arm.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/pinctrl-sunxi.h