Skip to contentSkip to conversation

SPI: SSP SPI Controller driver

PATCH New chao bi 1 participant 1 message Dec 17, 2012 SPI

lore
Share & tools
lore

chao bi

author
#0 lore raw

PATCH 1/1 SPI: SSP SPI Controller driver

This patch is to implement SSP SPI controller driver, which has been applied and validated on intel Moorestown & Medfield platform. The patch are originated by Ken Mills <[email protected]> and Sylvain Centelles <[email protected]>, migrating to lateset Linux mainline SPI framework by Channing <[email protected]> and Chen Jun <[email protected]> according to their integration & validation on Medfield platform.

---
 drivers/spi/Kconfig                   |    9 +
 drivers/spi/Makefile                  |    1 +
 drivers/spi/spi-intel-mid-ssp.c       | 1633 +++++++++++++++++++++++++++++++++
 include/linux/spi/spi-intel-mid-ssp.h |  103 +++
 4 files changed, 1746 insertions(+), 0 deletions(-)
 create mode 100644 drivers/spi/spi-intel-mid-ssp.c
 create mode 100644 include/linux/spi/spi-intel-mid-ssp.h
drivers/spi/Kconfig +9 -0
index 2e188e1..6285f17 100644
@@ -186,6 +186,15 @@ config SPI_IMX
 	  This enables using the Freescale i.MX SPI controllers in master
 	  mode.
 
+config SPI_INTEL_MID_SSP
+	tristate "SSP SPI controller driver for Intel MID platforms"
+	depends on SPI_MASTER && INTEL_MID_DMAC
+	help
+	  This is the unified SSP SPI master controller driver for
+	  the Intel MID platforms, handling Moorestown & Medfield,
+	  master clock mode.
+	  It supports Bulverde SSP core.
+
 config SPI_LM70_LLP
 	tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)"
 	depends on PARPORT && EXPERIMENTAL
drivers/spi/Makefile +1 -0
index 64e970b..1738966 100644
@@ -33,6 +33,7 @@ obj-$(CONFIG_SPI_FSL_ESPI)		+= spi-fsl-espi.o
 obj-$(CONFIG_SPI_FSL_SPI)		+= spi-fsl-spi.o
 obj-$(CONFIG_SPI_GPIO)			+= spi-gpio.o
 obj-$(CONFIG_SPI_IMX)			+= spi-imx.o
+obj-$(CONFIG_SPI_INTEL_MID_SSP)		+= spi-intel-mid-ssp.o
 obj-$(CONFIG_SPI_LM70_LLP)		+= spi-lm70llp.o
 obj-$(CONFIG_SPI_MPC512x_PSC)		+= spi-mpc512x-psc.o
 obj-$(CONFIG_SPI_MPC52xx_PSC)		+= spi-mpc52xx-psc.o
drivers/spi/spi-intel-mid-ssp.c new file +1633 -0

1,633 lines not on this page · raw message

include/linux/spi/spi-intel-mid-ssp.h new file +103 -0

103 lines not on this page · raw message

Signature · 1 line
1.7.1