]> asedeno.scripts.mit.edu Git - linux.git/commit
spi: add SPI controller driver for UniPhier SoC
authorKeiji Hayashibara <hayashibara.keiji@socionext.com>
Wed, 1 Aug 2018 07:29:12 +0000 (16:29 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 1 Aug 2018 10:22:37 +0000 (11:22 +0100)
commit5ba155a4d4cc8e4cdd3db6df7d03271a3bd91177
tree2305f0f12b7291379855241df751a2f463b0194b
parent4dcd5c2781f3c5c7851800649047658956d590af
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>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spi-uniphier.c [new file with mode: 0644]