Knut Wohlrab c09b890b76 spi/imx: set the inactive state of the clock according to the clock polarity
There are SPI devices which need a SPI clock with active low polarity and
high inactive state.

Add the setting of the inactive state ECSPIx_CONFIGREG:SCLK CTL
according to the clock polarity ECSPIx_CONFIGREG:SCLK POL:

DT without "spi-cpol" = 0 = clock active high polarity = inactive state low
DT with    "spi-cpol" = 1 = clock active low  polarity = inactive state high

Signed-off-by: Knut Wohlrab <knut.wohlrab@de.bosch.com>
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-09-28 14:05:08 +01:00
..
2012-08-17 22:56:18 +01:00
2011-11-09 23:02:12 +08:00
2011-06-06 01:16:30 -06:00
2012-04-10 14:11:34 -06:00
2011-09-21 09:41:48 -06:00
2011-06-06 01:16:30 -06:00
2012-09-25 13:37:05 +01:00
2011-06-06 01:16:30 -06:00
2012-04-10 14:11:34 -06:00
2011-06-06 01:16:30 -06:00
2012-05-19 22:37:16 -06:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00
2012-09-25 13:37:05 +01:00
2011-06-06 01:16:30 -06:00