commit | 5d584ccec106f8919ce39562e062d822770513b7 | [log] [tgz] |
---|---|---|
author | Markus Niebel <Markus.Niebel@tqs.de> | Mon Feb 17 17:33:17 2014 +0100 |
committer | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | Tue Feb 18 22:29:26 2014 +0530 |
tree | 41e9261dec0d4d02b4c5fc65fbec8eb190b6b097 | |
parent | d7cbcc762ea88ad20e9005a85bf7d55939b5e9d2 [diff] |
spi: spi-mxc: implement clk control for ECSPI to fix SPI_MODE_3 SPI_MODE_3 requires clk high when inactive. The SCLK_CTL field of the config reg was not configured in case of CPOL. Fix configuration so that SPI_MODE_3 which uses CPOL configures the clk line to be high in inactive state. Signed-off-by: Markus Niebel <Markus.Niebel@tqs.de> Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>