linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] spi/pxa2xx: add Intel Lynxpoint SPI controller support
@ 2013-01-07 10:44 Mika Westerberg
  2013-01-07 10:44 ` [PATCH 01/11] spi/pxa2xx: allow building on a 64-bit kernel Mika Westerberg
                   ` (10 more replies)
  0 siblings, 11 replies; 43+ messages in thread
From: Mika Westerberg @ 2013-01-07 10:44 UTC (permalink / raw)
  To: linux-kernel
  Cc: grant.likely, linus.walleij, eric.y.miao, linux, haojian.zhuang,
	broonie, chao.bi, Rafael J. Wysocki, Mika Westerberg

Hi all,

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 [10/11].

The patches [1-6/11] implement the foundation:

	* allow building the driver on 64-bit kernel
	* allow passing the ssp_device from platform data
	* allow passing clock rate from platform data on arches that don't
	  support common clk framework like x86
	* separate the PXA private DMA implementation out

The following patches [7-11/11] then build on top of this foundation so
that we support the generic DMA engine API, runtime power management, and
finally the Intel Lynxpoint SPI controller that is discoverable from ACPI
namespace.

Tested with DMA and PIO modes on Haswell/Lynxpoint machine.

This shouldn't break anything but I haven't been able to test on PXA (due
to lack of hardware) so I would appreciate if someone who has the hardware
could try them out.

Note that checkpatch.pl gives few warnings about using CamelCase for
identifiers but I decided to be consistent with the original style instead.
Let me know if it is not acceptable and I'll change them.

The series is based on 3.8-rc2.

Mika Westerberg (11):
  spi/pxa2xx: allow building on a 64-bit kernel
  spi/pxa2xx: convert to the pump message infrastructure
  spi/pxa2xx-pci: switch to use pcim_* interfaces
  spi/pxa2xx: embed the ssp_device to platform data
  spi/pxa2xx: make clock rate configurable from platform data
  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            |    4 +-
 drivers/spi/spi-pxa2xx-pci.c   |  134 +---
 drivers/spi/spi-pxa2xx.c       | 1516 +++++++++++++++++++++++++++-------------
 include/linux/pxa2xx_ssp.h     |   18 +
 include/linux/spi/pxa2xx_spi.h |  109 +--
 5 files changed, 1103 insertions(+), 678 deletions(-)

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 43+ messages in thread

end of thread, other threads:[~2013-01-17 10:35 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-07 10:44 [PATCH 00/11] spi/pxa2xx: add Intel Lynxpoint SPI controller support Mika Westerberg
2013-01-07 10:44 ` [PATCH 01/11] spi/pxa2xx: allow building on a 64-bit kernel Mika Westerberg
2013-01-08  3:27   ` Eric Miao
2013-01-08 10:29     ` Mika Westerberg
2013-01-07 10:44 ` [PATCH 02/11] spi/pxa2xx: convert to the pump message infrastructure Mika Westerberg
2013-01-17  9:26   ` Linus Walleij
2013-01-07 10:44 ` [PATCH 03/11] spi/pxa2xx-pci: switch to use pcim_* interfaces Mika Westerberg
2013-01-08 10:59   ` Mark Brown
2013-01-07 10:44 ` [PATCH 04/11] spi/pxa2xx: embed the ssp_device to platform data Mika Westerberg
2013-01-07 10:44 ` [PATCH 05/11] spi/pxa2xx: make clock rate configurable from " Mika Westerberg
2013-01-08 11:02   ` Mark Brown
2013-01-08 12:41     ` Mika Westerberg
2013-01-08 13:10       ` Mark Brown
2013-01-08 21:33         ` Rafael J. Wysocki
2013-01-09 10:51           ` Mika Westerberg
2013-01-09 21:52             ` Rafael J. Wysocki
2013-01-10 10:00               ` Mika Westerberg
2013-01-09 12:25           ` Mark Brown
2013-01-09 22:07             ` Rafael J. Wysocki
2013-01-10  9:58               ` Mika Westerberg
2013-01-10 12:38                 ` Mika Westerberg
2013-01-10 12:54                   ` Rafael J. Wysocki
2013-01-10 12:51                     ` Mark Brown
2013-01-10 13:07                       ` Mika Westerberg
2013-01-10 13:23                         ` Rafael J. Wysocki
2013-01-10 13:33                           ` Mika Westerberg
2013-01-10 13:18                       ` Rafael J. Wysocki
2013-01-10 13:33                         ` Mark Brown
2013-01-10 13:58                           ` Mika Westerberg
2013-01-10 21:56                             ` Rafael J. Wysocki
2013-01-11 10:59                               ` Mark Brown
2013-01-10 13:08                     ` Mika Westerberg
2013-01-08 21:37     ` Rafael J. Wysocki
2013-01-07 10:44 ` [PATCH 06/11] spi/pxa2xx: use the private DMA API only when CONFIG_ARCH_PXA is set Mika Westerberg
2013-01-17  9:36   ` Linus Walleij
2013-01-17 10:00     ` Mika Westerberg
2013-01-07 10:44 ` [PATCH 07/11] spi/pxa2xx: add support for DMA engine Mika Westerberg
2013-01-17  9:48   ` Linus Walleij
2013-01-17 10:39     ` Mika Westerberg
2013-01-07 10:44 ` [PATCH 08/11] spi/pxa2xx: add support for runtime PM Mika Westerberg
2013-01-07 10:44 ` [PATCH 09/11] spi/pxa2xx: add support for SPI_LOOP Mika Westerberg
2013-01-07 10:44 ` [PATCH 10/11] spi/pxa2xx: add support for Intel Low Power Subsystem SPI Mika Westerberg
2013-01-07 10:44 ` [PATCH 11/11] spi/pxa2xx: add support for Lynxpoint SPI controllers Mika Westerberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).