Skip to content

gpio: sunxi: Handle pin configuration flags

Samuel Holland u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4sunxi: gpio: Return void from setter functionsarch/arm/include/asm/arch-sunxi/gpio.h arch/arm/mach-sunxi/pinmux.c+4 -81 reply
2/4sunxi: gpio: Add per-bank drive and pull settersarch/arm/include/asm/arch-sunxi/gpio.h arch/arm/mach-sunxi/pinmux.c+18 -42 replies
3/4gpio: sunxi: Implement .set_flagsdrivers/gpio/sunxi_gpio.c+27 -354 replies
4/4mmc: sunxi: Use DM_GPIO flags to set pull-updrivers/mmc/sunxi_mmc.c+2 -65 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchSimon GlassHeinrich SchuchardtAndre Przywara
1/4R-b
2/4
3/4R-b R-b
4/4T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] gpio: sunxi: Handle pin configuration flags

This series updates the sunxi GPIO driver to handle pin pull-up/down, so consumer drivers do not need to call the non-DM sunxi_gpio_set_* functions. As an example, the last patch updates the MMC driver to use this functionality. The helpers added here will also be used for the upcoming DM_PINCTRL driver.

Samuel Holland (4):
sunxi: gpio: Return void from setter functions
sunxi: gpio: Add per-bank drive and pull setters
gpio: sunxi: Implement .set_flags
mmc: sunxi: Use DM_GPIO flags to set pull-up

 arch/arm/include/asm/arch-sunxi/gpio.h |  6 ++-
 arch/arm/mach-sunxi/pinmux.c           | 28 +++++++-----
 drivers/gpio/sunxi_gpio.c              | 62 +++++++++++---------------
 drivers/mmc/sunxi_mmc.c                |  8 +---
 4 files changed, 51 insertions(+), 53 deletions(-)
Signature · 1 line
2.32.0