AnsweredAssumed Answered

i.MX6 SCLK_POL & SCLK_PHA in ECSPIx_CONFIGREG

Question asked by m.c on Jul 13, 2015
Latest reply on Jul 22, 2015 by m.c

Customer would like set SCLK_POL & SCLK_PHA in ECSPIx_CONFIGREG. There is an function mx51_ecspi_config in kernel driver can do this. How to pass parameter (spi_imx_config->mode) to this function in correct way? By device tree or other way?

http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/drivers/spi/spi-imx.c?id=kk4.4.3_2.0.0-ga#n311

Outcomes