[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <F3DBB1B3EF102E4994C89758CFCA32412C41F0@DBDE01.ent.ti.com>
Date: Tue, 5 Feb 2013 06:39:20 +0000
From: "Kumar, Anil" <anilkumar.v@...com>
To: Sergei Shtylyov <sshtylyov@...sta.com>,
"Nori, Sekhar" <nsekhar@...com>
CC: "davinci-linux-open-source@...ux.davincidsp.com"
<davinci-linux-open-source@...ux.davincidsp.com>,
"linux@....linux.org.uk" <linux@....linux.org.uk>,
"Cousson, Benoit" <b-cousson@...com>,
"tony@...mide.com" <tony@...mide.com>,
"devicetree-discuss@...ts.ozlabs.org"
<devicetree-discuss@...ts.ozlabs.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"rob.herring@...xeda.com" <rob.herring@...xeda.com>,
"grant.likely@...retlab.ca" <grant.likely@...retlab.ca>,
"hs@...x.de" <hs@...x.de>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
Subject: RE: [PATCH 2/2] ARM: davinci: da850: add wdt OF_DEV_AUXDATA entry
Hi Serqei,
On Mon, Feb 04, 2013 at 17:30:20, Sergei Shtylyov wrote:
> Hello.
>
> On 04-02-2013 15:50, Sekhar Nori wrote:
>
> > Auxdata is not evm specific. This can instead be called da850_auxdata_lookup[].
>
> > Also, I dont think it is necessary to add auxdata in a separate patch
> > from dt nodes. So, I fixed these issues and came up with below patch. I
> > tested basic wdt reboot. reboot command is still broken (with or
> > without this patch). Can you please look at that?
>
> > Thanks,
> > Sekhar
>
> > ----8<----
> > From: "Kumar, Anil" <anilkumar.v@...com>
> > Date: Thu, 24 Jan 2013 14:08:14 +0530
> > Subject: [PATCH 1/1] ARM: davinci: da850: add wdt DT node
>
> > Add da850 wdt DT node.
>
> > Signed-off-by: Kumar, Anil <anilkumar.v@...com>
> > Signed-off-by: Sekhar Nori <nsekhar@...com>
> [...]
>
> > diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
> > index 8dd15c0..2800090 100644
> > --- a/arch/arm/boot/dts/da850.dtsi
> > +++ b/arch/arm/boot/dts/da850.dtsi
> > @@ -88,6 +88,11 @@
> > 19>;
> > status = "disabled";
> > };
> > + wdt: wdt@...1000 {
> > + compatible = "ti,davinci-wdt";
> > + reg = <0x21000 0xfff>;
>
> Not 0x1000? This is region size, not upper limit.
Oh, you are right. It should be 0x1000. Thanks for correcting.
In da850 timer1 is used as wdt and according to da850 data sheet.
Timer1 start address is 0x01C21000
Timer1 end address is 0x01C21FFF
I had wrongly calculated upper limit. I will fix it.
Thanks,
Anil
--
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