Received: by 10.213.65.68 with SMTP id h4csp83145imn; Mon, 12 Mar 2018 18:50:31 -0700 (PDT) X-Google-Smtp-Source: AG47ELvh0ZmnPj3NyxCQ4p56NtgkqUNdr+yN4OXG4p+/XdfpFZe86CZzFMnxuTa4M5l576ou3AGr X-Received: by 10.99.103.196 with SMTP id b187mr8256415pgc.1.1520905831199; Mon, 12 Mar 2018 18:50:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520905831; cv=none; d=google.com; s=arc-20160816; b=oSrzdPKw5d8ZU4RaQW5oNngD16Je3UzMhFxfAEiqiURyUdKUpBSnOJZ+g1J85IpVSM QrPVpcRLcNDMNwgTWid4cM+l9OR160mSGJcX5oEO/UN4Vh+BTa3TSOESp6uEPZNcGFeu iGt7rIK/TpFHR1o22PfuzpJj8Hm090t3FQExB4379WLgwrSpLpJTor4bbQdhQjECR7yX IsOcLCjlQ92aK+HFIgQ88QRo3fsWhYOK0RITomh00QHmYYdwNXGYqu0jq7j+rss0401l tjXXf0B4FjCFY/sGQJwN3Y0oge43WFoOxxmEPN+nyQsEd1yqHk6WAeGhxvPkLObNyQBy QwiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:organization:from:cc :references:to:subject:arc-authentication-results; bh=u/88d3KE+4iqg/FZ6f8rXFFBmoMdvOJGWuneYWAzMfI=; b=on89PdEhggljbpMxbdpdPQaxzo5Fc0J8h2E9VTaTIbTZZhfUbJ/yjgTGfi9pIMFLoa nBQ9YfmEQMNNdJWDwzsiYZJPpYA6LENpz3U/jtioSVyM5k/oF1btO88mVTeuMJqQNJWg LNE+hcvVhJUqVfk/44IG4U5AFOq3fxpapAlEsnruhLy6U+OLIOpS49AwCu7p0OQKrg4k i4sizQTS52z4oJy7CsOSFlSWJxNtix2kmXOjhiMAijT8ui0gjEUIa+miHiMfcrUgH8zQ txi3wREfBvOB8/2U7f3BR4d47Zq28lSFO9vKat07JKwaFikWo4+Bt6elIZZp9l+99VtQ IPbg== 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 g34-v6si7048633pld.513.2018.03.12.18.50.16; Mon, 12 Mar 2018 18:50:31 -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 S932343AbeCMBtW (ORCPT + 99 others); Mon, 12 Mar 2018 21:49:22 -0400 Received: from foss.arm.com ([217.140.101.70]:60600 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932211AbeCMBtV (ORCPT ); Mon, 12 Mar 2018 21:49:21 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3B5D015BE; Mon, 12 Mar 2018 18:39:28 -0700 (PDT) Received: from [192.168.3.111] (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 357A83F487; Mon, 12 Mar 2018 18:39:26 -0700 (PDT) Subject: Re: [PATCH 2/5] arm64: dts: allwinner: a64: Add watchdog To: Harald Geyer , Maxime Ripard , Chen-Yu Tsai References: <20180312161050.7647-1-harald@ccbib.org> <20180312161050.7647-3-harald@ccbib.org> Cc: 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 From: =?UTF-8?Q?Andr=c3=a9_Przywara?= Organization: ARM Ltd. Message-ID: <29bb31fc-dd3d-e9c5-c78e-f8e80f7a95fa@arm.com> Date: Tue, 13 Mar 2018 01:39:24 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20180312161050.7647-3-harald@ccbib.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 = ; > + }; > }; > }; >