Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755387AbbESK4z (ORCPT ); Tue, 19 May 2015 06:56:55 -0400 Received: from smarthost01a.mail.zen.net.uk ([212.23.1.1]:51369 "EHLO smarthost01a.mail.zen.net.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754188AbbESK4u (ORCPT ); Tue, 19 May 2015 06:56:50 -0400 Message-ID: <1432033003.3047.43.camel@linaro.org> Subject: Re: [PATCH v2 3/5] arm64: Juno: Add memory mapped timer node From: "Jon Medhurst (Tixy)" To: Liviu Dudau Cc: Arnd Bergmann , Olof Johansson , Rob Herring , Mark Rutland , Ian Campbell , Marc Zyngier , Catalin Marinas , Will Deacon , Sudeep Holla , devicetree , LAKML , LKML Date: Tue, 19 May 2015 11:56:43 +0100 In-Reply-To: <1431970109-8902-4-git-send-email-Liviu.Dudau@arm.com> References: <1431970109-8902-1-git-send-email-Liviu.Dudau@arm.com> <1431970109-8902-4-git-send-email-Liviu.Dudau@arm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Originating-smarthost01a-IP: [82.69.122.217] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1720 Lines: 54 On Mon, 2015-05-18 at 18:28 +0100, Liviu Dudau wrote: > Juno based boards have a memory mapped timer @ 0x2a810000. This > is disabled on r0 version of the board due to an SoC errata. So wouldn't it make more sense then to disable it in the dts for r0? As it is, you disable it in the common file below then have to later re-enable it in juno-r1.dts. Apart from that, the whole series looks good to be and I've given it a spin on r0 and r1. So consider that an Acked-by: Jon Medhurst > > Signed-off-by: Liviu Dudau > --- > arch/arm64/boot/dts/arm/juno-base.dtsi | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi > index 5c4c035..b7e862f 100644 > --- a/arch/arm64/boot/dts/arm/juno-base.dtsi > +++ b/arch/arm64/boot/dts/arm/juno-base.dtsi > @@ -2,6 +2,21 @@ > * Devices shared by all Juno boards > */ > > + memtimer: timer@2a810000 { > + compatible = "arm,armv7-timer-mem"; > + reg = <0x0 0x2a810000 0x0 0x10000>; > + clock-frequency = <50000000>; > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + status = "disabled"; > + frame@2a830000 { > + frame-number = <1>; > + interrupts = <0 60 4>; > + reg = <0x0 0x2a830000 0x0 0x10000>; > + }; > + }; > + > gic: interrupt-controller@2c010000 { > compatible = "arm,gic-400", "arm,cortex-a15-gic"; > reg = <0x0 0x2c010000 0 0x1000>, -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/