[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <009f01d112dd$fab40830$f01c1890$@samsung.com>
Date: Fri, 30 Oct 2015 09:41:15 +0300
From: Pavel Fedin <p.fedin@...sung.com>
To: 'Pankaj Dubey' <pankaj.dubey@...sung.com>
Cc: devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
'linux-samsung-soc' <linux-samsung-soc@...r.kernel.org>,
linux-kernel@...r.kernel.org, 'Rob Herring' <robh+dt@...nel.org>,
'Pawel Moll' <pawel.moll@....com>,
'Mark Rutland' <mark.rutland@....com>,
'Ian Campbell' <ijc+devicetree@...lion.org.uk>,
'Kumar Gala' <galak@...eaurora.org>,
'Kukjin Kim' <kgene@...nel.org>,
'Krzysztof Kozlowski' <k.kozlowski@...sung.com>
Subject: RE: [PATCH v4 2/4] ARM: dts: Add SROMc to Exynos 5410
Hello!
> -----Original Message-----
> From: linux-samsung-soc-owner@...r.kernel.org [mailto:linux-samsung-soc-owner@...r.kernel.org]
> On Behalf Of Pankaj Dubey
> Sent: Thursday, October 29, 2015 8:28 PM
> To: Pavel Fedin
> Cc: devicetree@...r.kernel.org; linux-arm-kernel@...ts.infradead.org; linux-samsung-soc;
> linux-kernel@...r.kernel.org; Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala;
> Kukjin Kim; Krzysztof Kozlowski
> Subject: Re: [PATCH v4 2/4] ARM: dts: Add SROMc to Exynos 5410
>
> Hi Pavel,
>
> On 29 October 2015 at 18:12, Pavel Fedin <p.fedin@...sung.com> wrote:
> > This machine uses own SoC device tree file, add missing part.
> >
> > Signed-off-by: Pavel Fedin <p.fedin@...sung.com>
> > ---
> > arch/arm/boot/dts/exynos5410.dtsi | 15 +++++++++++++++
> > 1 file changed, 15 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/exynos5410.dtsi b/arch/arm/boot/dts/exynos5410.dtsi
> > index 4603356..da6a8fa0e 100644
> > --- a/arch/arm/boot/dts/exynos5410.dtsi
> > +++ b/arch/arm/boot/dts/exynos5410.dtsi
> > @@ -101,6 +101,15 @@
> > reg = <0x10000000 0x100>;
> > };
> >
> > + sromc: sromc@...50000 {
> > + #address-cells = <1>;
> > + #size-cells = <1>;
> > + ranges;
> > +
>
> We do not need to specify these three properties as they are already
> present in parent node "soc".
We do, otherwise dtc complains about defaults of #address-cells = 2 and #size-cells=1, and without empty "ranges" subnode's resources are not correctly translated.
>
> > + compatible = "samsung,exynos-srom";
> > + reg = <0x12250000 0x14>;
> > + };
> > +
> > pmu_system_controller: system-controller@...40000 {
> > compatible = "samsung,exynos5410-pmu", "syscon";
> > reg = <0x10040000 0x5000>;
> > @@ -133,6 +142,12 @@
> > <10 &gic 0 130 0>,
> > <11 &gic 0 131 0>;
> > };
> > +
> > + arch_timer {
> > + compatible = "arm,armv7-timer";
> > + clock-frequency = <24000000>;
> > + };
> > +
>
> This change should not be part of this patch.
Ooops, thank you very much, this should not have been here at all. This is a leftover from my experiments, i was tracing DT parsing code and added it just for test, to see why timer gets probed as a subnode.
Just forgot to remove it afterwards and it slipped into the patch.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists