Skip to content

Commit a568231

Browse files
leilkliubroonie
authored andcommitted
spi: mediatek: Add spi bus for Mediatek MT8173
This patch adds basic spi bus for MT8173. Signed-off-by: Leilk Liu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 0d850e7 commit a568231

File tree

4 files changed

+781
-0
lines changed

4 files changed

+781
-0
lines changed

drivers/spi/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,15 @@ config SPI_MESON_SPIFC
326326
This enables master mode support for the SPIFC (SPI flash
327327
controller) available in Amlogic Meson SoCs.
328328

329+
config SPI_MT65XX
330+
tristate "MediaTek SPI controller"
331+
depends on ARCH_MEDIATEK || COMPILE_TEST
332+
help
333+
This selects the MediaTek(R) SPI bus driver.
334+
If you want to use MediaTek(R) SPI interface,
335+
say Y or M here.If you are not sure, say N.
336+
SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs.
337+
329338
config SPI_OC_TINY
330339
tristate "OpenCores tiny SPI"
331340
depends on GPIOLIB || COMPILE_TEST

drivers/spi/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ obj-$(CONFIG_SPI_MESON_SPIFC) += spi-meson-spifc.o
4848
obj-$(CONFIG_SPI_MPC512x_PSC) += spi-mpc512x-psc.o
4949
obj-$(CONFIG_SPI_MPC52xx_PSC) += spi-mpc52xx-psc.o
5050
obj-$(CONFIG_SPI_MPC52xx) += spi-mpc52xx.o
51+
obj-$(CONFIG_SPI_MT65XX) += spi-mt65xx.o
5152
obj-$(CONFIG_SPI_MXS) += spi-mxs.o
5253
obj-$(CONFIG_SPI_NUC900) += spi-nuc900.o
5354
obj-$(CONFIG_SPI_OC_TINY) += spi-oc-tiny.o

0 commit comments

Comments
 (0)