T2080 SPI /dev/spi is not creating.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

T2080 SPI /dev/spi is not creating.

949 Views
vidyasagartata
Contributor II

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

0 Kudos
Reply
1 Reply

655 Views
yipingwang
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply