内核中的spidev是spix.x的使用案列,我现在想在同一个板子上使用spi1.0、spi1.1,共用SPI0_SCLK,SPI0_MISO,SPI0_DI,靠spi0_cs0和spi0_cs1来区分1.0和1.1。请问有成功的案列吗?还是需要自己在spidev的基础上做逻辑区分?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
就是在struct spi_board_info am335x_spi1_slave_info[]结构初始化的时候,增加spidev1.1 ,spidev.c就增加了spidev1.1设备节点;现在虽然能够通讯,但系统还存在一个bug,我将spidev编译成模块形式,在卸载模块时只能卸载掉spidev1.0,而spidev1.1仍然存在,卸载不掉。我正在查找原因。