From: gregory.clement@free-electrons.com (Gregory CLEMENT)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: mvebu: enable ARM_GLOBAL_TIMER compilation Armada 38x platforms
Date: Thu, 03 Aug 2017 15:17:20 +0200 [thread overview]
Message-ID: <87efss94f3.fsf@free-electrons.com> (raw)
In-Reply-To: <1501605383-24748-2-git-send-email-mw@semihalf.com> (Marcin Wojtas's message of "Tue, 1 Aug 2017 18:36:22 +0200")
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
WARNING: multiple messages have this Message-ID (diff)
From: Gregory CLEMENT <gregory.clement@free-electrons.com>
To: Marcin Wojtas <mw@semihalf.com>
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
Subject: Re: [PATCH 1/2] ARM: mvebu: enable ARM_GLOBAL_TIMER compilation Armada 38x platforms
Date: Thu, 03 Aug 2017 15:17:20 +0200 [thread overview]
Message-ID: <87efss94f3.fsf@free-electrons.com> (raw)
In-Reply-To: <1501605383-24748-2-git-send-email-mw@semihalf.com> (Marcin Wojtas's message of "Tue, 1 Aug 2017 18:36:22 +0200")
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
next prev parent reply other threads:[~2017-08-03 13:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-01 16:36 [PATCH 0/2] Add generic Cortex-A9 timer for Armada 38x Marcin Wojtas
2017-08-01 16:36 ` Marcin Wojtas
2017-08-01 16:36 ` [PATCH 1/2] ARM: mvebu: enable ARM_GLOBAL_TIMER compilation Armada 38x platforms Marcin Wojtas
2017-08-01 16:36 ` Marcin Wojtas
2017-08-03 13:17 ` Gregory CLEMENT [this message]
2017-08-03 13:17 ` Gregory CLEMENT
2017-08-01 16:36 ` [PATCH 2/2] ARM: dts: armada-38x: Add arm_global_timer node Marcin Wojtas
2017-08-01 16:36 ` Marcin Wojtas
2017-08-03 13:14 ` Gregory CLEMENT
2017-08-03 13:14 ` Gregory CLEMENT
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87efss94f3.fsf@free-electrons.com \
--to=gregory.clement@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.