[PATCH 7/7] ARM: mxs: Add SPI driver for mx233/mx28
Marek Vasut
marex at denx.de
Thu Jun 28 18:09:38 EDT 2012
Dear Alain-Serge Nagni,
> Hi Fabio and Marek,
> So I did rebuild the Kernel and UBoot to support device tree. I did
> reboot the system and this time I’m not having any kernel panic. Which is
> a good signJ. After investigation I notice that the SSP2 node status is
> marked “disabled” (in the file imx28.dtsi). So there is no way based on
> the patch that was publish to have the imx-spi driver loaded in the kernel
> at boot time.
> Mareck,
> I guess that you have a piece of code that you forgot to publish? If not
> how can I have your SPI drive to run?
> Right now I guess that the next step would be to define the SPI node in
> the im28-evk.dts file. I will open a thread to see if anybody as a
> solution for that. What is your take on that?
>
> Thanks guys,
> Alain-Serge
[...]
Fabio already answered your question. Lemme teach you a few more rules:
1) Do not top post in the email conversation ;-)
2) About DT. You're supposed to include imx28.dtsi in your imx28-yourboard.dts
file. Then everything that's already defined in the imx28.dtsi will be present
in your imx28-yourboard.dts . But the key thing is, if you define something
again, it will override the stuff already defined in the imx28.dtsi file. But
you don't have to redefine everything, just redefine what you need changed.
Best regards,
Marek Vasut
More information about the linux-arm-kernel
mailing list