Add spidev to imx28

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

Add spidev to imx28

914 Views
imravi
Contributor II

I am trying to add spidev to my linux-2.6.31 version applying the set of patch from freescale "imx_10.08.00.tar.bz2" . I have added the related  data in the mach-mx28.c according to this image given by igorpadykov

spiConfig2.pnghttps___community.freescale.com_servlet_JiveServlet_downloadImage_2-444854-15726_spiConfig2.png

But still spidev 1.0 is not coming the dev directory. With the latest distribution of ltib as per the spec file for linux-2.6.31 the patch set should be  "imx_10.10.00.tar.bz2". but i am unable to download this file. Can anyone please give a link to this file. is it because of this old patch distribution.

Labels (2)
0 Kudos
2 Replies

575 Views
fabio_estevam
NXP Employee
NXP Employee

You could use kernel 4.2 instead and add spidev support in your dts file.

Take a look at arch/arm/boot/dts/imx28-tx28.dtsi for an example.

Regards,

Fabio Estevam

0 Kudos

575 Views
igorpadykov
NXP Employee
NXP Employee

Hi ravi

please look at spi patches for linux-2.6.31 version

Linux SPI driver, SPI NOR support, and I2C patch for SDK 2010.08.

GZ (14.6 kB) L2.6.31_10.08_SDK_PATCHES

http://www.freescale.com/products/arm-processors/i.mx-applications-processors-based-on-arm-cores/i.m...

also check

how open spidev on imx28 platform?

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos