diff options
author | Keiji Hayashibara <hayashibara.keiji@socionext.com> | 2018-08-01 03:29:12 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-01 06:22:37 -0400 |
commit | 5ba155a4d4cc8e4cdd3db6df7d03271a3bd91177 (patch) | |
tree | 2305f0f12b7291379855241df751a2f463b0194b /drivers/spi/Kconfig | |
parent | 4dcd5c2781f3c5c7851800649047658956d590af (diff) |
spi: add SPI controller driver for UniPhier SoC
Add SPI controller driver implemented in Socionext UniPhier SoCs.
UniPhier SoCs have two types SPI controllers; SCSSI supports a
single channel, and MCSSI supports multiple channels.
This driver supports SCSSI only.
This controller has 32bit TX/RX FIFO with depth of eight entry,
and supports the SPI master mode only.
This commit is implemented in PIO transfer mode, not DMA transfer.
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Keiji Hayashibara <hayashibara.keiji@socionext.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index ad5d68e1dab7..671d078349cc 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig | |||
@@ -688,6 +688,19 @@ config SPI_TXX9 | |||
688 | help | 688 | help |
689 | SPI driver for Toshiba TXx9 MIPS SoCs | 689 | SPI driver for Toshiba TXx9 MIPS SoCs |
690 | 690 | ||
691 | config SPI_UNIPHIER | ||
692 | tristate "Socionext UniPhier SPI Controller" | ||
693 | depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF | ||
694 | help | ||
695 | This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller. | ||
696 | |||
697 | UniPhier SoCs have SCSSI and MCSSI SPI controllers. | ||
698 | Every UniPhier SoC has SCSSI which supports single channel. | ||
699 | Older UniPhier Pro4/Pro5 also has MCSSI which support multiple channels. | ||
700 | This driver supports SCSSI only. | ||
701 | |||
702 | If your SoC supports SCSSI, say Y here. | ||
703 | |||
691 | config SPI_XCOMM | 704 | config SPI_XCOMM |
692 | tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver" | 705 | tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver" |
693 | depends on I2C | 706 | depends on I2C |