public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: cw00.choi@samsung•com (Chanwoo Choi)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 2/2] ARM: dts: Use architected timer on Exynos 5410
Date: Tue, 06 Oct 2015 17:33:54 +0900	[thread overview]
Message-ID: <56138772.5030302@samsung.com> (raw)
In-Reply-To: <57f3491726014e3817bdf9988b1aa30436b45e00.1444119342.git.p.fedin@samsung.com>

Hi Pavel,

On 2015? 10? 06? 17:24, Pavel Fedin wrote:
> This switches the kernel to timer accesses using CP15, allowing to use
> KVM virtualization.
> 
> Signed-off-by: Pavel Fedin <p.fedin@samsung•com>
> ---
>  arch/arm/boot/dts/exynos5410.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/exynos5410.dtsi b/arch/arm/boot/dts/exynos5410.dtsi
> index d8de015..c14f100 100644
> --- a/arch/arm/boot/dts/exynos5410.dtsi
> +++ b/arch/arm/boot/dts/exynos5410.dtsi
> @@ -138,6 +138,17 @@
>  						<10 &gic 0 130 0>,
>  						<11 &gic 0 131 0>;
>  			};
> +
> +			arch_timer {
> +				compatible = "arm,armv7-timer";
> +				interrupt-parent = <&gic>;

You don't need to add 'interrupt-parent' because exynos5410.dtsi already includes
it on top.

> +				interrupts = <1 13 0xf08>,
> +						<1 14 0xf08>,
> +						<1 11 0xf08>,
> +						<1 10 0xf08>;
> +				clock-frequency = <24000000>;
> +			};
> +
>  		};
>  
>  		sysram at 02020000 {
> 

Thanks,
Chanwoo Choi

  reply	other threads:[~2015-10-06  8:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-06  8:23 [PATCH 0/2] ARM: EXYNOS: Allow to use architected timer Pavel Fedin
2015-10-06  8:23 ` [PATCH 1/2] exynos_mct: Allow to use architected timer mode Pavel Fedin
2015-10-06  8:24 ` [PATCH 2/2] ARM: dts: Use architected timer on Exynos 5410 Pavel Fedin
2015-10-06  8:33   ` Chanwoo Choi [this message]
2015-10-06  8:49     ` Pavel Fedin
2015-10-06  8:37 ` [PATCH 0/2] ARM: EXYNOS: Allow to use architected timer Arnd Bergmann
2015-10-06  8:51   ` Alexey Klimov
2015-10-06  8:56   ` Pavel Fedin
2015-10-06  9:12     ` Arnd Bergmann
2015-10-06  9:44       ` Pavel Fedin
2015-10-06 10:03         ` Arnd Bergmann
2015-10-06 10:09     ` Kukjin Kim
2015-10-06 10:16       ` Pavel Fedin
2015-10-06 10:25       ` Kukjin Kim

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=56138772.5030302@samsung.com \
    --to=cw00.choi@samsung$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox