Writing Driver for On-Board SPI in Linux

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

Writing Driver for On-Board SPI in Linux

434 Views
narreddiprakash
Contributor II

Dear Support Team,

            I am working on i.mx6 duallite A9 dual SoC. I am planing to write a SPI Master driver for on-board SPIs. The i.mx6 contains 4 SPIs. I can access those SPIs as a part of application from user space, but I wanna to write a device driver for one of those SPI.

Can you please help in writing driver for on-board SPI.?

What are the thing should I consider before writing that driver.?

Please respond as soon as possible.

Thanks and Regards,

Siva Prakash Reddy

Labels (1)
1 Reply

340 Views
igorpadykov
NXP Employee
NXP Employee

Hi Siva

for writing drivers manual one can look on

Linux Device Drivers, Third Edition [LWN.net] 

and use nxp linux documentation on

i.MX Software|NXP 

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