Skip to content

Commit 454fa27

Browse files
superna9999broonie
authored andcommitted
spi: Add Meson SPICC driver
The SPICC hardware block on the Amlogic SoCs is Communication oriented and can do Full-Duplex 8- to 32-bit width SPI transfers up to 30MHz. The current driver only supportd the PIO transfer mode since the DMA seems broken on available hardware. Signed-off-by: Neil Armstrong <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 01a330d commit 454fa27

File tree

3 files changed

+627
-0
lines changed

3 files changed

+627
-0
lines changed

drivers/spi/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,13 @@ config SPI_FSL_ESPI
393393
From MPC8536, 85xx platform uses the controller, and all P10xx,
394394
P20xx, P30xx,P40xx, P50xx uses this controller.
395395

396+
config SPI_MESON_SPICC
397+
tristate "Amlogic Meson SPICC controller"
398+
depends on ARCH_MESON || COMPILE_TEST
399+
help
400+
This enables master mode support for the SPICC (SPI communication
401+
controller) available in Amlogic Meson SoCs.
402+
396403
config SPI_MESON_SPIFC
397404
tristate "Amlogic Meson SPIFC controller"
398405
depends on ARCH_MESON || COMPILE_TEST

drivers/spi/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ obj-$(CONFIG_SPI_LANTIQ_SSC) += spi-lantiq-ssc.o
5353
obj-$(CONFIG_SPI_JCORE) += spi-jcore.o
5454
obj-$(CONFIG_SPI_LM70_LLP) += spi-lm70llp.o
5555
obj-$(CONFIG_SPI_LP8841_RTC) += spi-lp8841-rtc.o
56+
obj-$(CONFIG_SPI_MESON_SPICC) += spi-meson-spicc.o
5657
obj-$(CONFIG_SPI_MESON_SPIFC) += spi-meson-spifc.o
5758
obj-$(CONFIG_SPI_MPC512x_PSC) += spi-mpc512x-psc.o
5859
obj-$(CONFIG_SPI_MPC52xx_PSC) += spi-mpc52xx-psc.o

0 commit comments

Comments
 (0)