Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3890859ybl; Mon, 9 Dec 2019 01:44:03 -0800 (PST) X-Google-Smtp-Source: APXvYqwvWwRzmQYAkHC1/px81Wv0XxBGaPC2VlakHF2SP5ZxX8vOw0AgaX/0HHc53QXIQlvY0ymf X-Received: by 2002:a54:4011:: with SMTP id x17mr22843320oie.52.1575884642858; Mon, 09 Dec 2019 01:44:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575884642; cv=none; d=google.com; s=arc-20160816; b=zN1+3fe5a2v2rnwAVEfL1oIHu48x87EM7wVAJU0qsBdi8mQFbLww/fgYG6jrtUmskg to7Fn0iT1T3Z5R6iOfTTryYE9yZEinVywmVJlAT8dNuhvP1IIun+IEBxdp1nsaKDrQpS a/tRuuBuij5meBiL6kKZTDqTS3NrkoLeEaxknI6FSyTCM4ztyrIh/MoVe91AERz3rrxr 4NszBcRn3TFOLT7pRseW5R8EWJnENTNhhvirO4iw3RpLKyy2YOlzfv/TxEBSho1nsk4V LhdoDpElBCludElizsOEWlcjCxVkLwRoKWd2n4vTryMMuVlgfrD93u6vd1iQW+QztuOw copQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=A+S+3RFjVcWK0eGQU/wCN8y+0aJTyPpQt2Yx6PrB4a0=; b=h1PuTPKXm3/q1r5fmkIpbTSiV/5Ki/TW7f6wehc+eN/HQWIh96tO7Yq6KNEae5GdeN FM6rZxrw2HrRnacYFjcdM3L/AbsXl9BUZdHwy0fyLv6N3ZIBeagKYKzvakCRBQgZd2oa HfYYTKTIYC1TdVJAM4ySFBTTVDeTFo1G9Tu+dsVXoiy6OE+USxcjsv4xbhgT8YTm3ul3 q1Dsf8hlMPMGvAHyiGluvriQJrzytogImpbyLMLwK5Nf1/zFfDazkrQT56ebVsWF+Fgt 1qBhnpFBKngoFpccG3izEGB2VFire49us/gwB6etiiGo5hav/NkzId/DG8bpaeic6KXk +c6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=BmOe7vHM; 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 e73si11777528oib.145.2019.12.09.01.43.48; Mon, 09 Dec 2019 01:44:02 -0800 (PST) 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; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=BmOe7vHM; 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 S1727325AbfLIJCH (ORCPT + 99 others); Mon, 9 Dec 2019 04:02:07 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:33663 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726377AbfLIJCG (ORCPT ); Mon, 9 Dec 2019 04:02:06 -0500 Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 96AA423061; Mon, 9 Dec 2019 10:02:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1575882122; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=A+S+3RFjVcWK0eGQU/wCN8y+0aJTyPpQt2Yx6PrB4a0=; b=BmOe7vHMwSZ3b0Nh7ICW9Ztz0DnvAGQAwNpiPP7/0aSs0/MvLB0Qc7s5OA6prXbQn7MaPZ RO0oTQ9WohcxvPwAF/1Hc/MDA8q1Kn2dGy4mCMGB/3oz4bxbMfwhoRsTni+57+BqUwvwd1 EcZgmdH89vEgBYG4X/gTZWwbMh2ig8Q= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 09 Dec 2019 10:02:02 +0100 From: Michael Walle To: Shawn Guo Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Li Yang , Rob Herring , Mark Rutland Subject: Re: [PATCH] arm64: dts: ls1028a: fix reboot node In-Reply-To: <20191209034722.GZ3365@dragon> References: <20191123000709.13162-1-michael@walle.cc> <20191209034722.GZ3365@dragon> Message-ID: <67346b48fa7e236ea31e3ecb1a108f28@walle.cc> X-Sender: michael@walle.cc User-Agent: Roundcube Webmail/1.3.8 X-Spamd-Bar: + X-Spam-Level: * X-Rspamd-Server: web X-Spam-Status: No, score=1.40 X-Spam-Score: 1.40 X-Rspamd-Queue-Id: 96AA423061 X-Spamd-Result: default: False [1.40 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[dt]; MIME_GOOD(-0.10)[text/plain]; DKIM_SIGNED(0.00)[]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM(-0.00)[-0.679]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2019-12-09 04:47, schrieb Shawn Guo: > On Sat, Nov 23, 2019 at 01:07:09AM +0100, Michael Walle wrote: >> The reboot register isn't located inside the DCFG controller, but in >> its >> own RST controller. Fix it. >> >> Signed-off-by: Michael Walle >> --- >> arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 8 +++++++- >> 1 file changed, 7 insertions(+), 1 deletion(-) >> >> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi >> b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi >> index 72b9a75976a1..dc75534a4754 100644 >> --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi >> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi >> @@ -102,7 +102,7 @@ >> >> reboot { >> compatible ="syscon-reboot"; >> - regmap = <&dcfg>; >> + regmap = <&rst>; >> offset = <0xb0>; >> mask = <0x02>; >> }; >> @@ -161,6 +161,12 @@ >> big-endian; >> }; >> >> + rst: syscon@1e60000 { >> + compatible = "fsl,ls1028a-rst", "syscon"; > > Compatible "fsl,ls1028a-rst" seems undocumented? it is the same with fsl,ls1028a-scfg and fsl,ls1028a-dcfg. So maybe I should just drop the "fsl,ls1028a-rst". What do you think? -michael > > Shawn > >> + reg = <0x0 0x1e60000 0x0 0x10000>; >> + little-endian; >> + }; >> + >> scfg: syscon@1fc0000 { >> compatible = "fsl,ls1028a-scfg", "syscon"; >> reg = <0x0 0x1fc0000 0x0 0x10000>; >> -- >> 2.20.1 >>