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


Groups > linux.kernel > #1703102

Re: [PATCH 1/2] ARM: mvebu: enable ARM_GLOBAL_TIMER compilation Armada 38x platforms

From Gregory CLEMENT <gregory.clement@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] ARM: mvebu: enable ARM_GLOBAL_TIMER compilation Armada 38x platforms
Date 2017-08-03 15:20 +0200
Message-ID <uaocG-rc-21@gated-at.bofh.it> (permalink)
References <u9In8-6iz-15@gated-at.bofh.it> <u9In9-6iz-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

> Armada 38x SoCs along with legacy timer (time-armada-370-xp.c),
> comprise generic Cortex-A9 global timer (arm_global_timer.c).
> Enable its compilation. The system clocksource subsystem
> will pick one of above two available ones in case the global
> timer node is present in the device tree.
>
> Signed-off-by: Marcin Wojtas <mw@semihalf.com>

Applied on mvebu/soc

Thanks,

Gregory

> ---
>  arch/arm/mach-mvebu/Kconfig | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
> index 541647f..9b49867 100644
> --- a/arch/arm/mach-mvebu/Kconfig
> +++ b/arch/arm/mach-mvebu/Kconfig
> @@ -60,6 +60,8 @@ config MACH_ARMADA_38X
>  	select ARM_ERRATA_720789
>  	select ARM_ERRATA_753970
>  	select ARM_GIC
> +	select ARM_GLOBAL_TIMER
> +	select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
>  	select ARMADA_370_XP_IRQ
>  	select ARMADA_38X_CLK
>  	select HAVE_ARM_SCU
> -- 
> 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 | NextPrevious in thread | Next 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