Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1703095

Re: [PATCH 2/2] ARM: dts: armada-38x: Add arm_global_timer node

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Gregory CLEMENT <gregory.clement@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] ARM: dts: armada-38x: Add arm_global_timer node
Date Thu, 03 Aug 2017 15:20:01 +0200
Message-ID <uaocF-rc-1@gated-at.bofh.it> (permalink)
References <u9In8-6iz-15@gated-at.bofh.it> <u9In9-6iz-35@gated-at.bofh.it>
X-Original-To Marcin Wojtas <mw@semihalf.com>
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8BIT
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 46
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, sebastian.hesselbarth@gmail.com, andrew@lunn.ch, linux@armlinux.org.uk, jason@lakedaemon.net, thomas.petazzoni@free-electrons.com, will.deacon@arm.com, robh+dt@kernel.org, mark.rutland@arm.com, jaz@semihalf.com, cognet@ci0.org
X-Original-Date Thu, 03 Aug 2017 15:14:46 +0200
X-Original-Message-ID <87lgn094jd.fsf@free-electrons.com>
X-Original-References <1501605383-24748-1-git-send-email-mw@semihalf.com> <1501605383-24748-3-git-send-email-mw@semihalf.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1703095

Show key headers only | View raw


Hi Marcin,
 
 On mar., août 01 2017, Marcin Wojtas <mw@semihalf.com> wrote:

> Since generic Cortex-A9 global timer is available after adding
> it to compilation, enable its node in armada-38x.dtsi.
>
> Signed-off-by: Marcin Wojtas <mw@semihalf.com>

Applied on mvebu/dt

Thanks,

Gregory

> ---
>  arch/arm/boot/dts/armada-38x.dtsi | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
> index af31f5d..7ff0811e 100644
> --- a/arch/arm/boot/dts/armada-38x.dtsi
> +++ b/arch/arm/boot/dts/armada-38x.dtsi
> @@ -154,6 +154,13 @@
>  				reg = <0xc000 0x58>;
>  			};
>  
> +			timer@c200 {
> +				compatible = "arm,cortex-a9-global-timer";
> +				reg = <0xc200 0x20>;
> +				interrupts = <GIC_PPI 11 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>;
> +				clocks = <&coreclk 2>;
> +			};
> +
>  			timer@c600 {
>  				compatible = "arm,cortex-a9-twd-timer";
>  				reg = <0xc600 0x20>;
> -- 
> 1.8.3.1
>

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Add generic Cortex-A9 timer for Armada 38x Marcin Wojtas <mw@semihalf.com> - 2017-08-01 18:40 +0200
  [PATCH 1/2] ARM: mvebu: enable ARM_GLOBAL_TIMER compilation Armada 38x platforms Marcin Wojtas <mw@semihalf.com> - 2017-08-01 18:40 +0200
    Re: [PATCH 1/2] ARM: mvebu: enable ARM_GLOBAL_TIMER compilation Armada 38x platforms Gregory CLEMENT <gregory.clement@free-electrons.com> - 2017-08-03 15:20 +0200
  [PATCH 2/2] ARM: dts: armada-38x: Add arm_global_timer node Marcin Wojtas <mw@semihalf.com> - 2017-08-01 18:40 +0200
    Re: [PATCH 2/2] ARM: dts: armada-38x: Add arm_global_timer node Gregory CLEMENT <gregory.clement@free-electrons.com> - 2017-08-03 15:20 +0200

csiph-web