AnsweredAssumed Answered

Native chip-select support on spi-fsl-lpspi.c

Question asked by ajithpv on Dec 4, 2019
Latest reply on Dec 6, 2019 by ajithpv

Hi,


I'm using the 4.14.98 GA BSP where I need to use native chip-select (i.e. dedicated SPI chip-select pin instead of GPIO chip-select) for one of our device.

I have gone through the "spi-fsl-lpspi.c" file where they include "<linux/spi/spi_bitbang.h>" but, not specifically used anything directly from the "spi_bitbang" (as far as I understand).

However, the driver still using the "cs-gpios" for chip-select in the probe function.

 

Hence, I would like to know whether the 4.14.98 GA BSP's spi-fsl-lpspi.c supports native chip-select? I do not have any dedicated GPIO pin for the chip-select and need to use the SPI native chip-select pin for the same.

 

Could anyone please confirm that, the driver is capable to handle the native chip-select pin instead of a GPIO chip-select pin?

Looking forward to your reply.

 

Thank you in advance,
Ajith P V

Outcomes