Skip to content

spi: pxa2xx: Get rid of an additional layer in PCI driver

Andy Shevchenko linux-arm-kernel linux-spi lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 1 replyIn review
  2. v110 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11spi: pxa2xx: Wrap pxa_ssp_request() to be device managed resourcedrivers/spi/spi-pxa2xx.c+32 -180 replies
2/11spi: pxa2xx: Reorganize the SSP type retrievaldrivers/spi/spi-pxa2xx.c+11 -140 replies
3/11spi: pxa2xx: Remove no more needed driver datadrivers/spi/spi-pxa2xx.c+6 -60 replies
4/11spi: pxa2xx: Remove hard coded number of chip select pinsdrivers/spi/spi-pxa2xx.c+0 -40 replies
5/11spi: pxa2xx: Utilise temporary variable for struct devicedrivers/spi/spi-pxa2xx.c+11 -100 replies
6/11spi: pxa2xx: Print DMA burst size only when DMA is enableddrivers/spi/spi-pxa2xx.c+2 -10 replies
7/11spi: pxa2xx: Remove duplicate checkdrivers/spi/spi-pxa2xx.c+0 -30 replies
8/11spi: pxa2xx: Remove superflous check for Intel Atom SoCsdrivers/spi/spi-pxa2xx.c+11 -150 replies
9/11spi: pxa2xx: Extract pxa2xx_spi_platform_*() callbacksdrivers/spi/spi-pxa2xx.c+33 -190 replies
10/11spi: pxa2xx: Move platform driver to a separate filedrivers/spi/Makefile drivers/spi/spi-pxa2xx-platform.c drivers/spi/spi-pxa2xx.c +1 more+230 -2080 replies
11/11spi: pxa2xx: Convert PCI driver to use spi-pxa2xx code directlydrivers/spi/spi-pxa2xx-pci.c+13 -260 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/11] spi: pxa2xx: Get rid of an additional layer in PCI driver

SPI PXA2xx main driver is a compound of a core library and a platform driver code. Decoupling that allows to eventually get rid of an additional layer of devices hierarchy in PCI driver. There are also precursor cleanups.

In v2:
- made better handling of pxa_ssp_free() calls

Andy Shevchenko (11):
spi: pxa2xx: Wrap pxa_ssp_request() to be device managed resource
spi: pxa2xx: Reorganize the SSP type retrieval
spi: pxa2xx: Remove no more needed driver data
spi: pxa2xx: Remove hard coded number of chip select pins
spi: pxa2xx: Utilise temporary variable for struct device
spi: pxa2xx: Print DMA burst size only when DMA is enabled
spi: pxa2xx: Remove duplicate check
spi: pxa2xx: Remove superflous check for Intel Atom SoCs
spi: pxa2xx: Extract pxa2xx_spi_platform_*() callbacks
spi: pxa2xx: Move platform driver to a separate file
spi: pxa2xx: Convert PCI driver to use spi-pxa2xx code directly

 drivers/spi/Makefile              |   3 +-
 drivers/spi/spi-pxa2xx-pci.c      |  39 ++---
 drivers/spi/spi-pxa2xx-platform.c | 214 +++++++++++++++++++++++++
 drivers/spi/spi-pxa2xx.c          | 253 +++++-------------------------
 drivers/spi/spi-pxa2xx.h          |   6 +
 5 files changed, 270 insertions(+), 245 deletions(-)
 create mode 100644 drivers/spi/spi-pxa2xx-platform.c
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac