From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Andr=c3=a9_Przywara?= Subject: Re: [PATCH 2/5] arm64: dts: allwinner: a64: Add watchdog Date: Tue, 13 Mar 2018 01:39:24 +0000 Message-ID: <29bb31fc-dd3d-e9c5-c78e-f8e80f7a95fa@arm.com> References: <20180312161050.7647-1-harald@ccbib.org> <20180312161050.7647-3-harald@ccbib.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180312161050.7647-3-harald@ccbib.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Harald Geyer , Maxime Ripard , Chen-Yu Tsai Cc: Mark Rutland , devicetree@vger.kernel.org, info@olimex.com, Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org, Icenowy Zheng List-Id: devicetree@vger.kernel.org On 12/03/18 16:10, Harald Geyer wrote: Hi, > Add a watchdog node for the A64, automatically enabled on all boards. > Tested on Olimex Teres I. > > Signed-off-by: Harald Geyer > --- > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > index 64e452a758fa..ca1b365bc722 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > @@ -665,5 +665,11 @@ > #address-cells = <1>; > #size-cells = <0>; > }; > + > + wdt0: watchdog@1c20ca0 { > + compatible = "allwinner,sun6i-a31-wdt"; Please use the recommended way, adding a specific compatible first: compatible = "allwinner,sun50i-a64-wdt", "allwinner,sun6i-a31-wdt"; The rest looks correct. I am just a bit puzzled what's the use of a watchdog on a laptop? I would expect it being more used in embedded systems? Or is that patch here actually independent from the Teres I? Cheers, Andre. > + reg = <0x01c20ca0 0x20>; > + interrupts = ; > + }; > }; > }; >