All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] gpio: sunxi: Handle pin configuration flags
@ 2021-10-21  4:52 Samuel Holland
  2021-10-21  4:52 ` [PATCH 1/4] sunxi: gpio: Return void from setter functions Samuel Holland
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Samuel Holland @ 2021-10-21  4:52 UTC (permalink / raw)
  To: u-boot, Jagan Teki, Andre Przywara
  Cc: Samuel Holland, Andy Shevchenko, Icenowy Zheng, Jaehoon Chung,
	Jernej Skrabec, Peng Fan, Simon Glass

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(-)

-- 
2.32.0


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2022-01-30  1:18 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-21  4:52 [PATCH 0/4] gpio: sunxi: Handle pin configuration flags Samuel Holland
2021-10-21  4:52 ` [PATCH 1/4] sunxi: gpio: Return void from setter functions Samuel Holland
2021-11-05 13:53   ` Heinrich Schuchardt
2021-10-21  4:52 ` [PATCH 2/4] sunxi: gpio: Add per-bank drive and pull setters Samuel Holland
2021-11-05 14:12   ` Heinrich Schuchardt
2022-01-30  1:11     ` Andre Przywara
2021-10-21  4:52 ` [PATCH 3/4] gpio: sunxi: Implement .set_flags Samuel Holland
2021-10-24 19:53   ` Simon Glass
2021-11-05 14:43   ` Heinrich Schuchardt
2021-11-05 21:46     ` Samuel Holland
2022-01-30  1:18       ` Andre Przywara
2021-10-21  4:52 ` [PATCH 4/4] mmc: sunxi: Use DM_GPIO flags to set pull-up Samuel Holland
2021-10-21 21:58   ` Jaehoon Chung
2021-10-22  9:00     ` Andre Przywara
2021-10-22 10:10       ` Jaehoon Chung
2021-10-22 10:36         ` Andre Przywara
2021-11-05 15:52   ` Heinrich Schuchardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.