AnsweredAssumed Answered

imx6ul ecspi generating signal cs

Question asked by lincheng Yang on Dec 18, 2019
Latest reply on Feb 13, 2020 by Michael Stahl


There is currently a peripheral spi regmap API used for read and write operations,  in ecspi3 bus connection,The cs pin is configured as required cs function which automatically generates a CS signal, not configured GPIO function to generate a CS signal manually .


dts configuration is as follows:
                pinctrl_ecspi3: ecspi3grp {
                        fsl,pins = <
                                MX6UL_PAD_UART2_RTS_B__ECSPI3_MISO        0x100b1  /* MISO*/
                                MX6UL_PAD_UART2_CTS_B__ECSPI3_MOSI        0x100b1  /* MOSI*/
                                MX6UL_PAD_UART2_RX_DATA__ECSPI3_SCLK      0x100b1  /* CLK*/
                                MX6UL_PAD_UART2_TX_DATA__ECSPI3_SS0       0x100b1  /* CS*/

However, the automatic generation CS / SS signals are as follows:

But my spi peripherals required CS / SS signals, as follows

How do I modify the kernel and dts?
linux kernel version is linux-4.9.88