Received: by 10.213.65.68 with SMTP id h4csp247485imn; Tue, 13 Mar 2018 03:05:04 -0700 (PDT) X-Google-Smtp-Source: AG47ELsNIFitqK0pUCl6wl2vRkzzZmB4Y4DP1hNE16ciE4cbGs7gb262KWDDNN+mccRmg5kN7kvk X-Received: by 10.101.67.137 with SMTP id m9mr8937572pgp.301.1520935504204; Tue, 13 Mar 2018 03:05:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520935504; cv=none; d=google.com; s=arc-20160816; b=hMO+/j2DNFpUlL88SkRYHTdkVZI7UY0dkgg4ZHJF6TV45GqY23njkZz+zKWYCqrAzZ pz1Pr07B+6kmvY9tagRokRgIpuoKhUFqGe7gJXE0Hiz9bIYE8RP0HkcoIO5Nhk3eoRj2 su6A4stwBgIb8MD76Dy3nUD1gkF74HECyWeAXKMTrrEpi8vGb0/hunbfYtXIjAkgjgSo 8Mb2Qi03jPLp9D6bRfaQ6bn3AGuiUPUr9EH3awQcwNTaKwWu6jWc+vztyYwCsPZIIT4J fao2SrGnOgDvwY+o+Mf1IZLCxthu/Hdq3prJ77XHwmQvd6SQXp9tT+BoH8UvLJAIeWmu dbcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-transfer-encoding :content-id:mime-version:comments:references:in-reply-to:subject:cc :to:from:arc-authentication-results; bh=A1xlHgzPls1sdDtWPCAdcFnwlHoeoEFEJOgAhrYDG+w=; b=wr30dymP8ytK+V8tupVQYqcm0E6reqhm+GkOqAcAVJ4lMQw1bSkKLyQcAWL73wJpS3 Ofa0N+n8WS/d3jOOsqIoJAWRc/ddHOrkwUu4sv1SE2HWQVIVuW/+h3QbYA0dtncQrneP 1dxS+uAhdTM5M8KAB00AlhySikoavwwhRJk5O5h4qHCKaDW4/A1uKcZKOsH+GpQkRgbb H11RwYGibhw5cPbLNci4lXgrZtamIlTH5lNDGmsRls6iPid5hQfTPu4j2Sh6IZBsJBW4 Ch8b2KWXATGlTDQxkKIwNvOYP4FALYkEfAlEhW1EqC771JMEIVzL2cUz0wG1TI6E/1Ey JI3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y5si7205322pfl.370.2018.03.13.03.04.49; Tue, 13 Mar 2018 03:05:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752642AbeCMKDl convert rfc822-to-8bit (ORCPT + 99 others); Tue, 13 Mar 2018 06:03:41 -0400 Received: from h1.radempa.de ([176.9.142.194]:38457 "EHLO mail.cosmopool.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752588AbeCMKDk (ORCPT ); Tue, 13 Mar 2018 06:03:40 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cosmopool.net (Postfix) with ESMTP id 25F0F9002AC; Tue, 13 Mar 2018 11:03:38 +0100 (CET) Received: from mail.cosmopool.net ([127.0.0.1]) by localhost (mail.your-server.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d-3p2Uu3rmpQ; Tue, 13 Mar 2018 11:03:37 +0100 (CET) Received: from stardust.g4.wien.funkfeuer.at (178.113.193.8.wireless.dyn.drei.com [178.113.193.8]) by mail.cosmopool.net (Postfix) with ESMTPSA id 68D56900252; Tue, 13 Mar 2018 11:03:37 +0100 (CET) Received: from lambda by stardust.g4.wien.funkfeuer.at with local (Exim 4.89) (envelope-from ) id 1evgmL-0000KW-JP; Tue, 13 Mar 2018 11:03:33 +0100 From: Harald Geyer To: =?UTF-8?Q?Andr=c3=a9_Przywara?= cc: Maxime Ripard , Chen-Yu Tsai , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Icenowy Zheng , info@olimex.com Subject: Re: [PATCH 2/5] arm64: dts: allwinner: a64: Add watchdog In-reply-to: <29bb31fc-dd3d-e9c5-c78e-f8e80f7a95fa@arm.com> References: <20180312161050.7647-1-harald@ccbib.org> <20180312161050.7647-3-harald@ccbib.org> <29bb31fc-dd3d-e9c5-c78e-f8e80f7a95fa@arm.com> Comments: In-reply-to =?UTF-8?Q?Andr=c3=a9_Przywara?= message dated "Tue, 13 Mar 2018 01:39:24 +0000." MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <1270.1520935413.1@stardust.g4.wien.funkfeuer.at> Content-Transfer-Encoding: 8BIT Date: Tue, 13 Mar 2018 11:03:33 +0100 Message-Id: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, André Przywara writes: > On 12/03/18 16:10, Harald Geyer wrote: > > 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"; I tried to follow the style most commonly used in the rest of the file, but I can add the new string to the binding documentation and use it here. > The rest looks correct. > > I am just a bit puzzled what's the use of a watchdog on a laptop? I guess the same as the watchdog on my x86 PC - debugging/testing software using watchdogs. ;) > I > would expect it being more used in embedded systems? Or is that patch > here actually independent from the Teres I? Yes, I could have sent it as independent patch, but I figured merging is easier if there aren't independent patches touching the same file at the same time. I mostly added support for the watchdog because it was listed in the wiki as untested and it cost me virtually no time to run a few tests while working on the teres. Thanks, Harald > Cheers, > Andre. > > > + reg = <0x01c20ca0 0x20>; > > + interrupts = ; > > + }; > > }; > > }; > > > -- If you want to support my work: see http://friends.ccbib.org/harald/supporting/ or donate via CLAM to xASPBtezLNqj4cUe8MT5nZjthRSEjrRQXN or via peercoin to P98LRdhit3gZbHDBe7ta5jtXrMJUms4p7w