Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp323632ybl; Tue, 10 Dec 2019 23:54:43 -0800 (PST) X-Google-Smtp-Source: APXvYqx965a9odEgA6/Rtu7U55v3KIprvD4g83rwMnIZ6tShPK6M6yE9OEHIVZxpYHDVzDaZs8zQ X-Received: by 2002:aca:4fcd:: with SMTP id d196mr1784333oib.89.1576050883425; Tue, 10 Dec 2019 23:54:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576050883; cv=none; d=google.com; s=arc-20160816; b=o1VELWeifC20gQAZZH0QzoKc3HvSqjcGr5jW65Nqy8ZE7SBfCyj/cnqh4SyPCYsYrb EMT2Ya+ilfWxN6D+1LF2N4pcteVHbTnfVIbUrn2INQMJU6Ycc2USlMwEtmuW2b47WV0f kfmsWA78DwS+lkmONinwKVOuNyFkDTs8PmqoUp3aHPnWWfLb/qtdYhO33VAs01sQsYOg i2qQyiU0HFhHPsA7R89VSpomJ6UT3ExITZ70OSmlHpQsIvckHlowYJjDTU51w3S69CFn oX4f+kLDZ8Y3tIC7C1nVjS8j+wrHux7jTrKxuc7BGf3wxOHwc1HLO4JHMOaxcXsoebwV iClg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=pBkwA1COd02X+LS8mZ+b8zNh0SU3HyJfjoICOVuVfi4=; b=lkFjyPujnzCr5dpln4wwrs6aPMIlmwmjhvMNEfqqEoolJoo7UmiFD+kaE9tj5qXZUt qPIVdZSwSkNkVtSf9b8zHcthfssjZiDzaihW4TtgVnwZnUZJFAh/zdW+ayOC1cu/IoeQ OMF0x28agY3Ej20RWGn3W35YCmGpwtnfpd836HT+bgkDTOxmXTWVklOBh94hV3/Yp3iC p5hkKf0HQbWT8lXhDHkEAB1wo4bv/rYljoACcrG4FEU/caXhcLeadV+iC0y3/UvUV8Fp w1YiZt/Ynzfpn5plXnPlPZe0o++YXbURLrfCRF6/iSCAdWyOaC3PSD0i8XCRYQmrz7ID ASpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aUZnEGVh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p124si758087oib.224.2019.12.10.23.54.29; Tue, 10 Dec 2019 23:54:43 -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=@kernel.org header.s=default header.b=aUZnEGVh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728292AbfLKHwr (ORCPT + 99 others); Wed, 11 Dec 2019 02:52:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:55888 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726230AbfLKHwp (ORCPT ); Wed, 11 Dec 2019 02:52:45 -0500 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C1ECC2077B; Wed, 11 Dec 2019 07:52:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576050765; bh=yWpjNHnkidZj4XaFsdjcIZ5feaM3cE6pCFefziQeG0I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aUZnEGVh5u/iue73k01w3n3v5Q9rLhXNFvIyOJ/roliTtfKaGRZrG8lOYjNmx2CUU 8z+36AV72iM9C80RlQRAoAceH8b4viEOu0iNCWRRF0M3Sj68LVW4qvO3ZaOaqVK05z 9dfdON/89bttS1TGysLwHmGomURmPj1jMOsYlLZw= Date: Wed, 11 Dec 2019 15:52:36 +0800 From: Shawn Guo To: Michael Walle 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 v2] arm64: dts: ls1028a: fix reboot node Message-ID: <20191211075235.GR15858@dragon> References: <20191209184644.14057-1-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191209184644.14057-1-michael@walle.cc> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 09, 2019 at 07:46:44PM +0100, Michael Walle wrote: > The reboot register isn't located inside the DCFG controller, but in its > own RST controller. Fix it. > > Fixes: 8897f3255c9c ("arm64: dts: Add support for NXP LS1028A SoC") > Signed-off-by: Michael Walle > --- > > changes since v1: > - add fixes tag > - remove "ls1028a-rst" compatible string, because there is no actual > driver for it. It just use the syscon driver. > > 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 8b28fda2ca20..7825550b7cef 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > @@ -88,7 +88,7 @@ > > reboot { > compatible ="syscon-reboot"; > - regmap = <&dcfg>; > + regmap = <&rst>; > offset = <0xb0>; > mask = <0x02>; > }; > @@ -178,6 +178,12 @@ > little-endian; > }; > > + rst: syscon@1e60000 { > + compatible = "syscon"; > + reg = <0x0 0x1e60000 0x0 0x10000>; > + little-endian; > + }; > + > scfg: syscon@1fc0000 { Hmm, what is your base? It doesn't apply to my branch. Shawn > compatible = "fsl,ls1028a-scfg", "syscon"; > reg = <0x0 0x1fc0000 0x0 0x10000>; > -- > 2.20.1 >