]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc1f5223fd117cb70fb2d5eb0128727ffa3a827ca
treea61802a8d43b1b2654061d3fafb3a546a168f028
parent726baeca96dd249e67660e222ad1e1b7919b2ce9
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