[PATCH 1/2] arm: socfpga: Add clock for smp_twd timer

Dinh Nguyen dinguyen at altera.com
Tue Oct 1 15:35:55 EDT 2013


On Tue, 2013-10-01 at 14:23 -0500, Rob Herring wrote:
> On 09/17/2013 11:32 AM, dinguyen at altera.com wrote:
> > From: Dinh Nguyen <dinguyen at altera.com>
> > 
> > Assign a clock for the twd-timer.
> > 
> > Signed-off-by: Dinh Nguyen <dinguyen at altera.com>
> > Cc: Rob Herring <rob.herring at calxeda.com>
> > Cc: Pawel Moll <pawel.moll at arm.com>
> > Cc: Mark Rutland <mark.rutland at arm.com>
> > Cc: Stephen Warren <swarren at wwwdotorg.org>
> > Cc: Ian Campbell <ian.campbell at citrix.com>
> > CC: linux-arm-kernel at lists.infradead.org
> > ---
> >  arch/arm/boot/dts/socfpga.dtsi |    4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
> > index acd6c3a..e28df94 100644
> > --- a/arch/arm/boot/dts/socfpga.dtsi
> > +++ b/arch/arm/boot/dts/socfpga.dtsi
> > @@ -480,11 +480,11 @@
> >  			clock-names = "biu", "ciu";
> >  		};
> >  
> > -		/* Local timer */
> > -		timer at fffec600 {
> > +		local-timer at fffec600 {
> 
> timer was the right name.

I'll put it back...

> 
> >  			compatible = "arm,cortex-a9-twd-timer";
> >  			reg = <0xfffec600 0x100>;
> >  			interrupts = <1 13 0xf04>;
> > +			clocks = <&mpu_periph_clk>;
> 
> Otherwise, this looks fine and I wouldn't expect much input on a change
> that doesn't add a new binding.
> 
> Acked-by: Rob Herring <rob.herring at calxeda.com>

Thanks Rob!

Dinh
> 
> Rob
> 
> >  		};
> >  
> >  		timer0: timer0 at ffc08000 {
> > 
> 
> 






More information about the linux-arm-kernel mailing list