[PATCH v2] spi/imx: set the inactive state of the clock according to the clock polarity

2012-09-25 Thread Dirk Behme
active high polarity = inactive state low DT withspi-cpol = 1 = clock active low polarity = inactive state high Signed-off-by: Knut Wohlrab knut.wohl...@de.bosch.com Signed-off-by: Dirk Behme dirk.be...@de.bosch.com Acked-by: Shawn Guo shawn@linaro.org CC: Mark Brown broo

Re: [PATCH] spi/imx: set the inactive state of the clock according to the clock polarity

2012-09-24 Thread Dirk Behme
Hi Mark, On 24.09.2012 07:06, Shawn Guo wrote: On Fri, Aug 31, 2012 at 10:55:11AM +0200, Dirk Behme wrote: From: Knut Wohlrab knut.wohl...@de.bosch.com There are SPI devices which need a SPI clock with active low polarity and high inactive state. Add the setting of the inactive state

Re: [PATCH] spi/imx: set the inactive state of the clock according to the clock polarity

2012-09-22 Thread Dirk Behme
On 21.09.2012 09:54, Uwe Kleine-König wrote: On Fri, Sep 21, 2012 at 09:36:51AM +0200, Dirk Behme wrote: On 31.08.2012 04:35, Shawn Guo wrote: Copy Uwe ... Copy our kernel mailing list ... Ping ;) Any opinions on this? Assuming it fixes access to a device I'm ok with your patch, but I

Re: [PATCH] spi/imx: set the inactive state of the clock according to the clock polarity

2012-09-21 Thread Dirk Behme
On 31.08.2012 04:35, Shawn Guo wrote: Copy Uwe ... Ping ;) Any opinions on this? Thanks Dirk On Fri, Aug 31, 2012 at 10:55:11AM +0200, Dirk Behme wrote: From: Knut Wohlrab knut.wohl...@de.bosch.com There are SPI devices which need a SPI clock with active low polarity and high inactive

[PATCH] spi/imx: set the inactive state of the clock according to the clock polarity

2012-08-31 Thread Dirk Behme
From: Knut Wohlrab knut.wohl...@de.bosch.com 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