[PATCH v3 0/8] spi: pxa2xx: Set of cleanups

From: Andy Shevchenko
Date: Tue May 11 2021 - 10:17:47 EST


Set of cleanups here and there related to the SPI PXA2xx driver.
On top of them, adding the special type for Intel Merrifield.

In v4:
- dropped applied patches

In v3:
- rebased on top of v5.13-rc1 and/or spi/for-5,14

In v2:
- cover letter (Mark)
- drop moving the header in patch 5 (Mark)


Andy Shevchenko (8):
spi: pxa2xx: Reuse int_error_stop() in pxa2xx_spi_slave_abort()
spi: pxa2xx: Use pxa_ssp_enable()/pxa_ssp_disable() in the driver
spi: pxa2xx: Extract pxa2xx_spi_update() helper
spi: pxa2xx: Extract clear_SSCR1_bits() helper
spi: pxa2xx: Extract read_SSSR_bits() helper
spi: pxa2xx: Constify struct driver_data parameter
spi: pxa2xx: Introduce special type for Merrifield SPIs
spi: Convert to use predefined time multipliers

drivers/spi/spi-pxa2xx-dma.c | 17 ++--
drivers/spi/spi-pxa2xx-pci.c | 2 +-
drivers/spi/spi-pxa2xx.c | 147 ++++++++++++++++++-----------------
drivers/spi/spi-pxa2xx.h | 16 +++-
drivers/spi/spi.c | 41 ++++++----
include/linux/pxa2xx_ssp.h | 32 ++++++++
sound/soc/pxa/pxa-ssp.c | 16 ----
7 files changed, 156 insertions(+), 115 deletions(-)

--
2.30.2