Skip to content

sunxi: Cleanup to prepare for DM_GPIO/DM_PINCTRL

Samuel Holland u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sunxi: Clean up inclusions of asm/arch/gpio.harch/arm/mach-sunxi/board.c arch/arm/mach-sunxi/clock.c arch/arm/mach-sunxi/clock_sun4i.c +11 more+2 -191 reply
2/3sunxi: gpio: Remove name_to_gpio macroarch/arm/include/asm/arch-sunxi/gpio.h drivers/spi/spi-sunxi.c drivers/video/Kconfig +2 more+14 -151 reply
3/3sunxi: gpio: Remove bank-specific size macrosarch/arm/include/asm/arch-sunxi/gpio.h drivers/gpio/sunxi_gpio.c+2 -141 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchAndre Przywara
1/3R-b
2/3A-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] sunxi: Cleanup to prepare for DM_GPIO/DM_PINCTRL

I have a patch series in progresss to migrate sunxi to a DM_PINCTRL driver and convert the remaining legacy GPIO users (outside of SPL).

This is one of several small independent sets of preparatory patches I will be sending in order to minimize the size of the main series (which has >100 patches at this point).

Samuel Holland (3):
sunxi: Clean up inclusions of asm/arch/gpio.h
sunxi: gpio: Remove name_to_gpio macro
sunxi: gpio: Remove bank-specific size macros

 arch/arm/include/asm/arch-sunxi/gpio.h | 15 ++-------------
 arch/arm/mach-sunxi/board.c            |  1 -
 arch/arm/mach-sunxi/clock.c            |  1 -
 arch/arm/mach-sunxi/clock_sun4i.c      |  1 -
 board/sunxi/board.c                    |  1 -
 board/sunxi/gmac.c                     |  1 -
 drivers/gpio/axp_gpio.c                |  1 -
 drivers/gpio/sunxi_gpio.c              |  3 ---
 drivers/mmc/sunxi_mmc.c                |  3 +--
 drivers/net/sun8i_emac.c               |  5 +----
 drivers/power/axp809.c                 |  1 -
 drivers/power/axp818.c                 |  1 -
 drivers/spi/spi-sunxi.c                |  2 +-
 drivers/usb/musb-new/sunxi.c           |  2 --
 drivers/video/Kconfig                  | 10 +++++-----
 drivers/video/hitachi_tx18d42vm_lcd.c  |  6 +++---
 drivers/video/sunxi/sunxi_display.c    | 11 +++++------
 drivers/video/sunxi/sunxi_lcd.c        |  1 -
 18 files changed, 18 insertions(+), 48 deletions(-)
Signature · 1 line
2.31.1