mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[ARM] 5546/1: ARM PL022 SSP/SPI driver v3
This adds a driver for the ARM PL022 PrimeCell SSP/SPI driver found in the U300 platforms as well as in some ARM reference hardware, and in a modified version on the Nomadik board. Reviewed-by: Alessandro Rubini <[email protected]> Reviewed-by: Russell King <[email protected]> Reviewed-by: Baruch Siach <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Russell King <[email protected]>
This commit is contained in:
parent
1ee73784b6
commit
b43d65f7e8
4 changed files with 2140 additions and 0 deletions
|
|
@ -171,6 +171,15 @@ config SPI_ORION
|
|||
help
|
||||
This enables using the SPI master controller on the Orion chips.
|
||||
|
||||
config SPI_PL022
|
||||
tristate "ARM AMBA PL022 SSP controller (EXPERIMENTAL)"
|
||||
depends on ARM_AMBA && EXPERIMENTAL
|
||||
default y if MACH_U300
|
||||
help
|
||||
This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP
|
||||
controller. If you have an embedded system with an AMBA(R)
|
||||
bus and a PL022 controller, say Y or M here.
|
||||
|
||||
config SPI_PXA2XX
|
||||
tristate "PXA2xx SSP SPI master"
|
||||
depends on ARCH_PXA && EXPERIMENTAL
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ obj-$(CONFIG_SPI_PXA2XX) += pxa2xx_spi.o
|
|||
obj-$(CONFIG_SPI_OMAP_UWIRE) += omap_uwire.o
|
||||
obj-$(CONFIG_SPI_OMAP24XX) += omap2_mcspi.o
|
||||
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_MPC83xx) += spi_mpc83xx.o
|
||||
obj-$(CONFIG_SPI_S3C24XX_GPIO) += spi_s3c24xx_gpio.o
|
||||
|
|
|
|||
1866
drivers/spi/amba-pl022.c
Normal file
1866
drivers/spi/amba-pl022.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue