Skip to content

ARM: pxa: use software nodes/properties for GPIOs

Dmitry Torokhov linux-arm-kernel lkml soc 1 version Applied

Status from this message: This series was applied to soc/soc.git (for-next)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 9 repliesApplied 10/10

Patches in v1 All 10 applied

#Subject and filesSizeRepliesApplied
1/10ARM: spitz: fix GPIO assignment for backlightarch/arm/mach-pxa/spitz.c+10 -200 repliesApplied
2/10ARM: pxa: consolidate GPIO chip platform dataarch/arm/mach-pxa/devices.c arch/arm/mach-pxa/pxa25x.c arch/arm/mach-pxa/pxa27x.c+15 -130 repliesApplied
3/10ARM: pxa/gumstix: convert vbus gpio to use software nodesarch/arm/mach-pxa/devices.c arch/arm/mach-pxa/devices.h arch/arm/mach-pxa/gumstix.c +1 more+16 -153 repliesApplied
4/10ARM: spitz: Simplify instantiating SPI controllerarch/arm/mach-pxa/spitz.c+9 -150 repliesApplied
5/10ARM: spitz: Use software nodes to describe SPI CS linesarch/arm/mach-pxa/pxa27x.c arch/arm/mach-pxa/spitz.c+11 -110 repliesApplied
6/10ARM: spitz: Use software nodes to describe audio GPIOsarch/arm/mach-pxa/spitz.c+44 -220 repliesApplied
7/10ARM: spitz: Use software nodes to describe LCD GPIOsarch/arm/mach-pxa/spitz.c+19 -190 repliesApplied
8/10ARM: spitz: Use software nodes to describe MMC GPIOsarch/arm/mach-pxa/devices.c arch/arm/mach-pxa/devices.h arch/arm/mach-pxa/gumstix.c +2 more+31 -300 repliesApplied
9/10ARM: spitz: Use software nodes to describe LED GPIOsarch/arm/mach-pxa/spitz.c+50 -210 repliesApplied
10/10ARM: spitz: Use software nodes for the ADS7846 touchscreenarch/arm/mach-pxa/spitz.c+15 -250 repliesApplied

Reviews trailers per patch

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

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

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 00/10] ARM: pxa: use software nodes/properties for GPIOs

This series converts legacy pxa boards (spitz, gumstix) to use software nodes/properties to describe various GPIOs instead of relying on GPIO lookup tables. The benefit is that structure and behavior is closer to DT-described GPIOs.

The very first patch ("ARM: spitz: fix GPIO assignment for backlight") is actually a fix that IMO should be applied sooner rather than later, the rest of patches are enhancements. The reason it is sent with the rest of the series is that later changes contextually depend on it.

The last patch ("ARM: spitz: Use software nodes for the ADS7846 touchscreen") soft-depends on corresponding changes by Linus Walleij to the ads7846 driver in input tree. It compiles without it, but the device will not sync with display refreshes. I have created an immutable branch (branched from v6.9) at:

git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git ib/ads7846-hsync

in case you wish to pull it in.

Regretfully it was only compiled as I do not have access to the relevant hardware.

Dmitry Torokhov (8):
ARM: spitz: fix GPIO assignment for backlight
ARM: pxa: consolidate GPIO chip platform data
ARM: pxa/gumstix: convert vbus gpio to use software nodes
ARM: spitz: Simplify instantiating SPI controller
ARM: spitz: Use software nodes to describe audio GPIOs
ARM: spitz: Use software nodes to describe LCD GPIOs
ARM: spitz: Use software nodes to describe MMC GPIOs
ARM: spitz: Use software nodes to describe LED GPIOs

Linus Walleij (2):
ARM: spitz: Use software nodes to describe SPI CS lines
ARM: spitz: Use software nodes for the ADS7846 touchscreen

 arch/arm/mach-pxa/devices.c              |  53 +++--
 arch/arm/mach-pxa/devices.h              |   5 +-
 arch/arm/mach-pxa/gumstix.c              |  24 +-
 arch/arm/mach-pxa/pxa25x.c               |   8 +-
 arch/arm/mach-pxa/pxa27x.c               |   9 +-
 arch/arm/mach-pxa/spitz.c                | 284 ++++++++++++-----------
 include/linux/platform_data/mmc-pxamci.h |   4 +-
 7 files changed, 208 insertions(+), 179 deletions(-)

Thanks.

Signature · 1 line
2.45.2.803.g4e1b14247a-goog