[PATCH v2 00/10] spi/pxa2xx: add Intel Lynxpoint SPI controller support

From: Mika Westerberg
Date: Mon Jan 21 2013 - 04:30:45 EST


Hi all,

This is a second iteration of the patches first introduced here:

http://thread.gmane.org/gmane.linux.kernel/1417691

On Intel Lynxpoint (the PCH used with Haswell) we have two SPI controllers
that reside in the Low Power Subsystem of the PCH. The hardware is mostly
compliant with PXA2xx SPI controller except that there are few additional
registers. Those are described in patch [9/10].

Changes to previous version:
- Split 64-bit build support and warnings fix into separate patches
[1,2/10].
- Convert to use common clk API instead of passing the clock rate
via custom platform data parameter.
- Split the DMA implementation into a separate files for PXA and
DMA engine.

I've dropped the two patches that are already applied in Mark's SPI tree.

Tested on Haswell machine with both DMA and PIO modes. Only compile tested
on PXA (due to lack of hardware).

Mika Westerberg (10):
spi/pxa2xx: allow building on a 64-bit kernel
spi/pxa2xx: fix warnings when compiling a 64-bit kernel
spi/pxa2xx: convert to the pump message infrastructure
spi/pxa2xx: convert to the common clk framework
spi/pxa2xx: use the private DMA API only when CONFIG_ARCH_PXA is set
spi/pxa2xx: add support for DMA engine
spi/pxa2xx: add support for runtime PM
spi/pxa2xx: add support for SPI_LOOP
spi/pxa2xx: add support for Intel Low Power Subsystem SPI
spi/pxa2xx: add support for Lynxpoint SPI controllers

drivers/spi/Kconfig | 11 +-
drivers/spi/Makefile | 5 +-
drivers/spi/spi-pxa2xx-dma.c | 388 ++++++++++++++
drivers/spi/spi-pxa2xx-pxadma.c | 490 ++++++++++++++++++
drivers/spi/spi-pxa2xx.c | 1068 ++++++++++++---------------------------
drivers/spi/spi-pxa2xx.h | 201 ++++++++
include/linux/pxa2xx_ssp.h | 9 +
include/linux/spi/pxa2xx_spi.h | 105 +---
8 files changed, 1433 insertions(+), 844 deletions(-)
create mode 100644 drivers/spi/spi-pxa2xx-dma.c
create mode 100644 drivers/spi/spi-pxa2xx-pxadma.c
create mode 100644 drivers/spi/spi-pxa2xx.h

--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/