AnsweredAssumed Answered

i.mx6 SPI lines state after driver unbind

Question asked by Krzysztof Drobiński on Mar 20, 2017
Latest reply on Mar 22, 2017 by igorpadykov

Hi,

I have use case that at some point I need to reconfigure SPI pads to HiZ state.

I'm wondering what is the state of SPI lines after unbinding spi driver in fsl kernel 3.10?

In function  spi_imx_remove()  I see that

writel(0, spi_imx->base + MXC_CSPICTRL);

May I assume that after unbinding spi driver and having 0 in MXC_CSPICTRL, spi lines for this controller are in HiZ state?

Outcomes