spi: rspi: Add support for specifying CPHA/CPOL
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Sun, 12 Jan 2014 10:27:43 +0000 (11:27 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 13 Jan 2014 17:24:04 +0000 (17:24 +0000)
commit348e5153bcf6c6a0a735eeb6f65e1aba8ffe2780
treea61802a8d43b1b2654061d3fafb3a546a168f028
parentfbe5072bbeac5362edc8c49435b76e6df75a9d95
spi: rspi: Add support for specifying CPHA/CPOL

Add support for specifying the SPI clock phase and polarity, based on the
SDK reference code.

Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-rspi.c