]> git.dujemihanovic.xyz Git - u-boot.git/commit
pinctrl: sunxi: move pinctrl code
authorAndre Przywara <andre.przywara@arm.com>
Tue, 6 Sep 2022 09:36:38 +0000 (10:36 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Sun, 22 Oct 2023 22:40:56 +0000 (23:40 +0100)
commit20b78c55e74dc69a2530c7b76c0912777197caf5
treeb8914c3c10a9555be38b5cbdf31b47bb00fbb6e3
parent5ad98c57b8dc465b7d1534203b75dc2b35440457
pinctrl: sunxi: move pinctrl code

Move the existing sunxi-specific low level pinctrl routines from
arch/arm/mach-sunxi into the existing GPIO code under drivers/gpio, so
that the common code can be shared outside of arch/arm.

This also takes the opportunity to move some definitions from our
header file into the driver C file, as they are private to the driver
and are not needed elsewhere.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Samuel Holland <samuel@sholland.org>
Tested-by: Samuel Holland <samuel@sholland.org>
arch/arm/include/asm/arch-sunxi/gpio.h
arch/arm/mach-sunxi/Makefile
arch/arm/mach-sunxi/pinmux.c [deleted file]
drivers/gpio/sunxi_gpio.c