How to driver MX6ULL SPI?

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

How to driver MX6ULL SPI?

1,510 Views
jackjiang
Contributor II

Dear,

I am going to driver SPI base Linux version 4.1.15, I config kernel and modify DTS file follow "i.MX_Linux_Reference_Manual" document, but I can't found any SPI device under /dev, attechment is my config information, looking forward to your reply.

Labels (1)
Tags (1)
0 Kudos
1 Reply

1,292 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jack

spi driver is implemented as spi sub-system in Linux, spi driver layer is located between the
client layer (for example pmic or spi flash). It may not implement device node entry.
As example one can look at Chapter 31 SPI NOR Flash Memory Technology Device (MTD) Driver attached
Linux Manual.

pastedImage_1.jpg

alternatively one can look at using spidev :

How to interface MCU with i.MX6 over SPI interface? - Toradex Community 

How To Use SPIDEV on phyFLEX-i.MX6 Yocto BSP - Develop.phytec - PHYTEC Wiki 


Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos