T2080 SPI /dev/spi is not creating.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

T2080 SPI /dev/spi is not creating.

1,617件の閲覧回数
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 件の賞賛
返信
1 返信

1,323件の閲覧回数
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 件の賞賛
返信