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

Rob Herring robherring2 at gmail.com
Tue Oct 1 15:23:05 EDT 2013


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.

>  			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>

Rob

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




More information about the linux-arm-kernel mailing list