gpio: move ppc4xx driver to drivers/gpio and modernize
Status from this message: Applied to powerpc/next.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 3 repliesApplied
- v17 patches 11 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | gpio: move ppc4xx gpio driver from arch/powerpc to drivers/gpioarch/ arch/ arch/ +4 more | +11 | 0 replies | |
| 2/8 | gpio: ppc44x: update all 4xx to 44xdrivers/ | +34 | 0 replies | |
| 3/8 | gpio: ppc44x: Use module platform driver helper for GPIOdrivers/ | +4 | 0 replies | |
| 4/8 | gpio: ppc44x: Use platform resource helper for GPIO MMIOdrivers/ | +7 | 0 replies | |
| 5/8 | gpio: ppc44x: Convert GPIO to generic MMIOdrivers/ | +29 | 0 replies | |
| 6/8 | gpio: ppc44x: drop PPC-specific IO helpersdrivers/ drivers/ | +29 | 0 replies | |
| 7/8 | gpio: ppc44x: fix undefined behavior in GPIO_MASK2 macrodrivers/ | +1 | 0 replies | |
| 8/8 | gpio: ppc44x: use dev_name() for chip labeldrivers/ | +1 | 0 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.
| Patch | Linus Walleij |
|---|---|
| Series | R-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.
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