]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
pinctrl: sunxi: Add support for the Allwinner A523
authorAndre Przywara <andre.przywara@arm.com>
Thu, 6 Mar 2025 23:58:26 +0000 (23:58 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 13 Mar 2025 13:48:57 +0000 (14:48 +0100)
commit648be4cd95172167fd4cc7262c1827bd37cea8e3
tree5761521c0bd657cab1ef4917540fe20840eca578
parentd626d248caaea408a7fe355ddf59e871aa58b0e1
pinctrl: sunxi: Add support for the Allwinner A523

The Allwinner A523 contains pins in 10 out of the 11 possible pin banks;
it just skips port A.
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-8-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.c [new file with mode: 0644]