Skip to content
Snippets Groups Projects
Commit 5d584cce authored by Markus Niebel's avatar Markus Niebel Committed by Jagannadha Sutradharudu Teki
Browse files

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: default avatarMarkus Niebel <Markus.Niebel@tqs.de>
Reviewed-by: default avatarJagannadha Sutradharudu Teki <jaganna@xilinx.com>
parent d7cbcc76
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment