]> git.baikalelectronics.ru Git - kernel.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)
commit5a50392742512fc9c49a6611df943b6a61e244a2
tree2305f0f12b7291379855241df751a2f463b0194b
parentf44c068e6d216cebec690a02d34de81ff80642c5
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]