spi: spi-pxa2xx: SPI support for Intel Quark X1000
authorWeike Chen <alvin.chen@intel.com>
Wed, 26 Nov 2014 10:35:10 +0000 (02:35 -0800)
committerMark Brown <broonie@kernel.org>
Wed, 26 Nov 2014 18:07:45 +0000 (18:07 +0000)
commite5262d0568dc9e10de79a726dfd7edb712a2c10b
treefb8cd4ca58e8f0ef1b1a016ac88139401ed55cfe
parent4fdb2424cc4499237197a8c9d35b34d68c750475
spi: spi-pxa2xx: SPI support for Intel Quark X1000

There are two SPI controllers exported by PCI subsystem for Intel Quark X1000.
The SPI memory mapped I/O registers supported by Quark are different from
the current implementation, and Quark only supports the registers of 'SSCR0',
'SSCR1', 'SSSR', 'SSDR', and 'DDS_RATE'. This patch is to enable the SPI for
Intel Quark X1000.

This piece of work is derived from Dan O'Donovan's initial work for Intel Quark
X1000 SPI enabling.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Weike Chen <alvin.chen@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx-pci.c
drivers/spi/spi-pxa2xx.c
drivers/spi/spi-pxa2xx.h
include/linux/pxa2xx_ssp.h