Skip to content

gpio: move ppc4xx driver to drivers/gpio and modernize

Rosen Penev linux-gpio linuxppc-dev lkml 2 versions – Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 3 repliesApplied
  2. v17 patches 11 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/8gpio: move ppc4xx gpio driver from arch/powerpc to drivers/gpioarch/powerpc/configs/44x/warp_defconfig arch/powerpc/configs/ppc44x_defconfig arch/powerpc/platforms/44x/Kconfig +4 more+11 -100 replies
2/8gpio: ppc44x: update all 4xx to 44xdrivers/gpio/gpio-ppc44x.c+34 -340 replies
3/8gpio: ppc44x: Use module platform driver helper for GPIOdrivers/gpio/gpio-ppc44x.c+4 -50 replies
4/8gpio: ppc44x: Use platform resource helper for GPIO MMIOdrivers/gpio/gpio-ppc44x.c+7 -40 replies
5/8gpio: ppc44x: Convert GPIO to generic MMIOdrivers/gpio/gpio-ppc44x.c+29 -460 replies
6/8gpio: ppc44x: drop PPC-specific IO helpersdrivers/gpio/Kconfig drivers/gpio/gpio-ppc44x.c+29 -130 replies
7/8gpio: ppc44x: fix undefined behavior in GPIO_MASK2 macrodrivers/gpio/gpio-ppc44x.c+1 -10 replies
8/8gpio: ppc44x: use dev_name() for chip labeldrivers/gpio/gpio-ppc44x.c+1 -50 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLinus Walleij
SeriesR-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

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

Read the v2 thread

Cover letter [PATCHv2 0/8] gpio: move ppc4xx driver to drivers/gpio and modernize

This series moves the ppc4xx GPIO driver from arch/powerpc to drivers/gpio, converts it to be a proper platform driver using generic MMIO helpers, drops architecture-specific accessors, and prepares it for module build and COMPILE_TEST.

v2: use guard(), reorganize a bit for clarity.

Rosen Penev (8):
gpio: move ppc4xx gpio driver from arch/powerpc to drivers/gpio
gpio: ppc44x: update all 4xx to 44x
gpio: ppc44x: Use module platform driver helper for GPIO
gpio: ppc44x: Use platform resource helper for GPIO MMIO
gpio: ppc44x: Convert GPIO to generic MMIO
gpio: ppc44x: drop PPC-specific IO helpers
gpio: ppc44x: fix undefined behavior in GPIO_MASK2 macro
gpio: ppc44x: use dev_name() for chip label

 arch/powerpc/configs/44x/warp_defconfig |   2 +-
 arch/powerpc/configs/ppc44x_defconfig   |   2 +-
 arch/powerpc/platforms/44x/Kconfig      |   7 -
 arch/powerpc/platforms/44x/Makefile     |   2 +-
 arch/powerpc/platforms/44x/gpio.c       | 211 ------------------------
 drivers/gpio/Kconfig                    |   7 +
 drivers/gpio/Makefile                   |   1 +
 drivers/gpio/gpio-ppc44x.c              | 208 +++++++++++++++++++++++
 8 files changed, 219 insertions(+), 221 deletions(-)
 delete mode 100644 arch/powerpc/platforms/44x/gpio.c
 create mode 100644 drivers/gpio/gpio-ppc44x.c
Signature · 1 line
2.55.0