Dear All,
We are using SDK2.0 to boot T2080RDB, we can see in the kernel log spi memory device is detecting with CS0 and working fine.
There are four spi CS is configured in the dts file but there is no /dev/spi device is creating in the linux user space.
Please let me know how /dev/spi will create.
Thanks,
Vidya
Hello Vidya,
SPI is not like I2C, there are not typically SPI devices nodes and the SPI isn't accessed directly by userspace. Each SPI device connect to SPI interface must have a SPI client driver for it.
You could refer to drivers/mtd/devices/m25p80.c for SPI device driver development.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------