]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pinctrl: sunxi: Add support for the secondary A523 GPIO ports
authorAndre Przywara <andre.przywara@arm.com>
Thu, 6 Mar 2025 23:58:27 +0000 (23:58 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 13 Mar 2025 13:48:57 +0000 (14:48 +0100)
commitb8a51e95b376c9a1fe66a831d44901214e2ea2e3
tree1e56692d90ade91356df30d971cc4229601ab0d9
parent648be4cd95172167fd4cc7262c1827bd37cea8e3
pinctrl: sunxi: Add support for the secondary A523 GPIO ports

As most other Allwinner SoCs before, the A523 chip contains a second
GPIO controller, managing banks PL and PM.
Use the newly introduced DT based pinctrl driver to describe just the
generic pinctrl properties, so advertise the number of pins per bank
and the interrupt capabilities. The actual function/mux assignment is
taken from the devicetree.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/20250306235827.4895-9-andre.przywara@arm.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/Kconfig
drivers/pinctrl/sunxi/Makefile
drivers/pinctrl/sunxi/pinctrl-sun55i-a523-r.c [new file with mode: 0644]