Hi Andre, On 9/28/23 16:54, Andre Przywara wrote: > 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.przyw...@arm.com> > --- > arch/arm/include/asm/arch-sunxi/gpio.h | 20 +---- > arch/arm/mach-sunxi/Makefile | 1 - > arch/arm/mach-sunxi/pinmux.c | 78 ------------------- > drivers/gpio/sunxi_gpio.c | 102 ++++++++++++++++++++++++- > 4 files changed, 105 insertions(+), 96 deletions(-) > delete mode 100644 arch/arm/mach-sunxi/pinmux.c
Many thanks! This works perfectly for D1. Reviewed-by: Samuel Holland <sam...@sholland.org> Tested-by: Samuel Holland <sam...@sholland.org>