commit | 6683e62873cb858eeedcfd177bfa037fb2a6c7e5 | [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 | 92bc4e04b0557f03c1d261bd9f6211764c09005a [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>