[U-Boot] [PATCH 1/1] ARM: tegra: Add Tegra20 SPI device nodes

Mirza Krak mirza.krak at hostmobility.com
Tue Jul 21 11:41:21 CEST 2015


2015-07-21 11:02 GMT+02:00 Thierry Reding <treding at nvidia.com>:
>
> On Mon, Jul 20, 2015 at 01:41:00PM +0200, Mirza Krak wrote:
> > From: Mirza Krak <mirza.krak at hostmobility.com>
> >
> > Add the device tree node for the SPI controllers found on Tegra20 SOCs.
> >
> > Signed-off-by: Mirza Krak <mirza.krak at hostmobility.com>
> >
> > ---
> >  arch/arm/dts/tegra20.dtsi | 44 ++++++++++++++++++++++++++++++++++++++++++++
> >  1 file changed, 44 insertions(+)
> >
> > diff --git a/arch/arm/dts/tegra20.dtsi b/arch/arm/dts/tegra20.dtsi
> > index b8c8a923017e..82168c9012e3 100644
> > --- a/arch/arm/dts/tegra20.dtsi
> > +++ b/arch/arm/dts/tegra20.dtsi
> > @@ -268,6 +268,50 @@
> >               #pwm-cells = <2>;
> >       };
> >
> > +     spi at 7000d400 {
> > +             compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
>
> This can't be correct on Tegra20 since Tegra30 didn't exist at the time.
> You'll need to drop the first string in the list for this to be correct.

Sent v2 of patch dropping tegra30 compatible string.

>
> Also, might be worth copying these from the Linux kernel's copy of the
> device tree files, since they are slightly different. That might involve
> pulling in a couple of headers too, though, so might not be worth it.
>
> Thierry

Pulling from Linux kernel's copy of these files is not something I am
up for at the moment.

-- 
Med Vänliga Hälsningar / Best Regards

*******************************************************************
Mirza Krak
Host Mobility AB
mirza.krak at hostmobility.com
Anders Personsgatan 12, 416 64 Göteborg
Sweden
http://www.hostmobility.com
Direct: +46 31 31 32 704
Phone: +46 31 31 32 700
Fax: +46 31 80 67 51
Mobile: +46 730 28 06 22
*******************************************************************


More information about the U-Boot mailing list