Skip to content

gpio, pinctrl, introduce for_each_requested_gpio() helper

Andy Shevchenko linux-gpio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5gpiolib: Introduce for_each_requested_gpio_in_range() macroinclude/linux/gpio/driver.h+16 -00 replies
2/5ARM/orion/gpio: Make use of for_each_requested_gpio()arch/arm/plat-orion/gpio.c+2 -63 replies
3/5gpio: mvebu: Make use of for_each_requested_gpio()drivers/gpio/gpio-mvebu.c+2 -60 replies
4/5gpio: xra1403: Make use of for_each_requested_gpio()drivers/gpio/gpio-xra1403.c+2 -60 replies
5/5pinctrl: at91: Make use of for_each_requested_gpio()drivers/pinctrl/pinctrl-at91.c+2 -50 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/5
2/5R-b
3/5
4/5
5/5

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 v1 0/5] gpio, pinctrl, introduce for_each_requested_gpio() helper

While cleaning up Intel pin control drivers I have noticed that one helper macro can be used widely in GPIO and pin control subsystems. Here we are.

Intel stuff is deliberately excluded, so, this can be applied to the GPIO subsystem into immutable branch that will be propagated to pin control subsystem and TWIMC parties, such as Intel pin control drivers.

Andy Shevchenko (5):
gpiolib: Introduce for_each_requested_gpio_in_range() macro ARM/orion/gpio: Make use of for_each_requested_gpio()
gpio: mvebu: Make use of for_each_requested_gpio()
gpio: xra1403: Make use of for_each_requested_gpio()
pinctrl: at91: Make use of for_each_requested_gpio()

 arch/arm/plat-orion/gpio.c     |  8 ++------
 drivers/gpio/gpio-mvebu.c      |  8 ++------
 drivers/gpio/gpio-xra1403.c    |  8 ++------
 drivers/pinctrl/pinctrl-at91.c |  7 ++-----
 include/linux/gpio/driver.h    | 16 ++++++++++++++++
 5 files changed, 24 insertions(+), 23 deletions(-)
Signature · 1 line
2.27.0.rc2