Skip to contentSkip to conversation

spi: add spi_ppc4xx driver

PATCH New David Brownell 1 participant 1 message Jul 3, 2009 SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi: add spi_ppc4xx driver

From: "Steven A. Falco" <sfalco-7/[email protected]>

This adds a SPI driver for the SPI controller found in the IBM/AMCC 4xx PowerPC's.

---
 drivers/spi/Kconfig      |    7 
 drivers/spi/Makefile     |    1 
 drivers/spi/spi_ppc4xx.c |  612 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 620 insertions(+)
 create mode 100644 drivers/spi/spi_ppc4xx.c
drivers/spi/Kconfig +7 -0
@@ -178,6 +178,13 @@ config SPI_PL022
 	  controller. If you have an embedded system with an AMBA(R)
 	  bus and a PL022 controller, say Y or M here.
 
+config SPI_PPC4xx
+	tristate "PPC4xx SPI Controller"
+	depends on PPC32 && 4xx && SPI_MASTER
+	select SPI_BITBANG
+	help
+	  This selects a driver for the PPC4xx SPI Controller.
+
 config SPI_PXA2XX
 	tristate "PXA2xx SSP SPI master"
 	depends on ARCH_PXA && EXPERIMENTAL
drivers/spi/Makefile +1 -0
@@ -26,6 +26,7 @@ obj-$(CONFIG_SPI_ORION)			+= orion_spi.o
 obj-$(CONFIG_SPI_PL022)			+= amba-pl022.o
 obj-$(CONFIG_SPI_MPC52xx_PSC)		+= mpc52xx_psc_spi.o
 obj-$(CONFIG_SPI_MPC8xxx)		+= spi_mpc8xxx.o
+obj-$(CONFIG_SPI_PPC4xx)		+= spi_ppc4xx.o
 obj-$(CONFIG_SPI_S3C24XX_GPIO)		+= spi_s3c24xx_gpio.o
 obj-$(CONFIG_SPI_S3C24XX)		+= spi_s3c24xx.o
 obj-$(CONFIG_SPI_TXX9)			+= spi_txx9.o
drivers/spi/spi_ppc4xx.c new file +612 -0

612 lines not on this page · raw message

------------------------------------------------------------------------------