mbox series

[v4,0/8] spi: pxa2xx: Set of cleanups (part 1+)

Message ID 20210511142711.23244-1-andriy.shevchenko@linux.intel.com (mailing list archive)
Headers show
Series spi: pxa2xx: Set of cleanups (part 1+) | expand

Message

Andy Shevchenko May 11, 2021, 2:27 p.m. UTC
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: Introduce int_stop_and_reset() helper
  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

 drivers/spi/spi-pxa2xx-dma.c |  17 +---
 drivers/spi/spi-pxa2xx-pci.c |   2 +-
 drivers/spi/spi-pxa2xx.c     | 171 ++++++++++++++++++-----------------
 drivers/spi/spi-pxa2xx.h     |  16 +++-
 include/linux/pxa2xx_ssp.h   |  32 +++++++
 sound/soc/pxa/pxa-ssp.c      |  16 ----
 6 files changed, 140 insertions(+), 114 deletions(-)