From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chanwoo Choi Subject: Re: [PATCH v2 5/6] arm64: dts: exynos: Move arch-timer node to right place Date: Wed, 17 Oct 2018 14:01:57 +0900 Message-ID: <5BC6C245.7040407@samsung.com> References: <20181015123112.9379-1-m.szyprowski@samsung.com> <20181015123112.9379-6-m.szyprowski@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Return-path: In-reply-to: <20181015123112.9379-6-m.szyprowski@samsung.com> Sender: linux-kernel-owner@vger.kernel.org To: Marek Szyprowski , linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Will Deacon , Catalin Marinas , Marc Zyngier , Thomas Gleixner , Daniel Lezcano , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Inki Dae List-Id: linux-samsung-soc@vger.kernel.org Hi Marek, On 2018년 10월 15일 21:31, Marek Szyprowski wrote: > Move ARM architected timer device-tree node to the beginning of 'soc' > node, to group it together with other ARM CPU core devices (like PMU). > > Signed-off-by: Marek Szyprowski > --- > arch/arm64/boot/dts/exynos/exynos5433.dtsi | 23 +++++++++++----------- > 1 file changed, 12 insertions(+), 11 deletions(-) > > diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi > index 2131f12364cb..fa20eb3495b3 100644 > --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi > +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi > @@ -255,6 +255,18 @@ > interrupt-affinity = <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>; > }; > > + timer: timer { > + compatible = "arm,armv8-timer"; > + interrupts = + (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>, > + + (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>, > + + (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>, > + + (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>; > + }; > + > chipid@10000000 { > compatible = "samsung,exynos4210-chipid"; > reg = <0x10000000 0x100>; > @@ -1750,17 +1762,6 @@ > }; > }; > > - timer: timer { > - compatible = "arm,armv8-timer"; > - interrupts = - (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>, > - - (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>, > - - (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>, > - - (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>; > - }; > }; > > #include "exynos5433-bus.dtsi" > I tested it on Exynos5433-based TM2 board. It is well working. Reviewed-by: Chanwoo Choi Tested-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics From mboxrd@z Thu Jan 1 00:00:00 1970 From: cw00.choi@samsung.com (Chanwoo Choi) Date: Wed, 17 Oct 2018 14:01:57 +0900 Subject: [PATCH v2 5/6] arm64: dts: exynos: Move arch-timer node to right place In-Reply-To: <20181015123112.9379-6-m.szyprowski@samsung.com> References: <20181015123112.9379-1-m.szyprowski@samsung.com> <20181015123112.9379-6-m.szyprowski@samsung.com> Message-ID: <5BC6C245.7040407@samsung.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Marek, On 2018? 10? 15? 21:31, Marek Szyprowski wrote: > Move ARM architected timer device-tree node to the beginning of 'soc' > node, to group it together with other ARM CPU core devices (like PMU). > > Signed-off-by: Marek Szyprowski > --- > arch/arm64/boot/dts/exynos/exynos5433.dtsi | 23 +++++++++++----------- > 1 file changed, 12 insertions(+), 11 deletions(-) > > diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi > index 2131f12364cb..fa20eb3495b3 100644 > --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi > +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi > @@ -255,6 +255,18 @@ > interrupt-affinity = <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>; > }; > > + timer: timer { > + compatible = "arm,armv8-timer"; > + interrupts = + (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>, > + + (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>, > + + (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>, > + + (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>; > + }; > + > chipid at 10000000 { > compatible = "samsung,exynos4210-chipid"; > reg = <0x10000000 0x100>; > @@ -1750,17 +1762,6 @@ > }; > }; > > - timer: timer { > - compatible = "arm,armv8-timer"; > - interrupts = - (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>, > - - (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>, > - - (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>, > - - (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>; > - }; > }; > > #include "exynos5433-bus.dtsi" > I tested it on Exynos5433-based TM2 board. It is well working. Reviewed-by: Chanwoo Choi Tested-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics