spi: sh-msiof: Add slave mode support
authorHisashi Nakamura <hisashi.nakamura.ak@renesas.com>
Mon, 22 May 2017 13:11:43 +0000 (15:11 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 26 May 2017 12:11:54 +0000 (13:11 +0100)
commitcf9e4784f3bde3e4749163384f27450ddffe746c
treea4047eb127979d77db50eea2930faf6cff4f78e0
parentaa2ea9115bc3f0735aa65b833076cc5fe3da1489
spi: sh-msiof: Add slave mode support

Add slave mode support to the MSIOF driver, in both PIO and DMA mode.

For now this only supports the transmission of messages with a size
that is known in advance.

Signed-off-by: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>
Signed-off-by: Hiromitsu Yamasaki <hiromitsu.yamasaki.ym@renesas.com>
[geert: Timeout handling cleanup, spi core integration, cancellation,
rewording]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/sh-msiof.txt
drivers/spi/spi-sh-msiof.c
include/linux/spi/sh_msiof.h