From: Maxime Ripard Subject: Re: [PATCH v2 13/13] ARM: dts: sun9i: Add missing unit address Date: Fri, 15 Mar 2019 10:02:16 +0100 Message-ID: <20190315090216.qypb7tfquk5bfwth@flea> References: <463dbc60de944f4e0400dcdc190c983cf0d208e8.1552594551.git-series.maxime.ripard@bootlin.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0810915693==" Return-path: Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7EB086E364 for ; Fri, 15 Mar 2019 09:02:19 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Chen-Yu Tsai Cc: Sean Paul , linux-arm-kernel , dri-devel List-Id: dri-devel@lists.freedesktop.org --===============0810915693== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2zirji6ya3tnhg7a" Content-Disposition: inline --2zirji6ya3tnhg7a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 15, 2019 at 10:39:24AM +0800, Chen-Yu Tsai wrote: > On Fri, Mar 15, 2019 at 4:16 AM Maxime Ripard = wrote: > > > > The soc node in the A80 DTSI has a ranges property, but no matching unit > > address, which results in a DTC warning. Add the unit address to remove > > that warning. > > > > Signed-off-by: Maxime Ripard > > --- > > arch/arm/boot/dts/sun9i-a80.dtsi | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i= -a80.dtsi > > index 9b15f272e5f5..7a495c84ab65 100644 > > --- a/arch/arm/boot/dts/sun9i-a80.dtsi > > +++ b/arch/arm/boot/dts/sun9i-a80.dtsi > > @@ -289,7 +289,7 @@ > > status =3D "disabled"; > > }; > > > > - soc { > > + soc@20000 { >=20 > I thought we didn't like the soc node having an address? In general, yes, but in general we also don't have a ranges property. > Maybe we just bite the bullet and use 64-bit addresses and sizes for > the A80? I'd rather not, the current layout of the DT is pretty nice. But now I'm thinking, do you remember why we need to do that mapping in the first place? It's a 32bits SoCs, so why do we need to care about 64 bits addresses? Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --2zirji6ya3tnhg7a Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXItqGAAKCRDj7w1vZxhR xQgdAP9w+by0IvvOsMTlM72lSQLRmNXWlPHOgsk2zXENX+w7qwEAplIrEUTPvgts xHjMCiY9P7FK7wY5tuIKM2l/2UlcRA0= =vP3a -----END PGP SIGNATURE----- --2zirji6ya3tnhg7a-- --===============0810915693== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0810915693==--