Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1043159ybj; Thu, 7 May 2020 13:27:51 -0700 (PDT) X-Google-Smtp-Source: APiQypICo279nbVJM1OjTFmbznx/7Vidiiamm2v9gLIFDsai6Tnro7yvIZgNygKx0EUde6AwdBuG X-Received: by 2002:a05:6402:1515:: with SMTP id f21mr14105097edw.370.1588883271181; Thu, 07 May 2020 13:27:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588883271; cv=none; d=google.com; s=arc-20160816; b=C/wA0NPyYPqqzcRafMiZG7pfnZF4z81Tjyz7dizhpSm08DIulkPvU6q5Z7+eSQsXEF JLOYI72S33EGrrDCo/GGiOW6Y6rKp6z9on7oAa4jq/jLMxKaZTpuXR99/tHG/GnZqS15 XfoEswH9lcAnQZyucuZVrNJMOGC/vySCEQwEHMfy/Mz2NNW3sNSKHsEXC9t80tsI8CXl 18LwaajgOUbFiY7gSO/0mvI/k8hvvgl8r7TDgX05y+19u5p1uc4jBS8enKNZqVANe4ax 919IRcyjzfn1KHutJQw4LUS/2SwWhH1hZlOOMPjeqLizxPdALHthLZNkCSWeOfDX6cf8 zwWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=F0vzWF2VZYcAKRpYD6fahpu2SBHcyJyldBVBJF1NhTQ=; b=QNeKouXX8nST/9Rqy6wm2tD2WAHC5wRYDNDC4PYHmdLirhcqBeTNQoPi7gyOQbbWsz VC4bpScNO+sM08Gr4hsNJm4OHZBNPMNa6O0mOBwHc9Mw6ZHCT7Q6A1+Is0n8ZV4tAnOl CxXfFX1l9E+a08wu5S7hGa8xKrVdweCKubKSZxg4TxiZCel9/twD2abeFCKGbtq41Hn1 eOxD5l1XzaIRd76x9mizV0GJAa8eP24O/WsS8Ep8MxG7CGAWX0SZxUZDHm7RzkGbxSs5 kFIykwKkzYn9C6tnHYriqyS1nbZrzjCF0xhrJkSMXRqkLr3BX357tKLlNuDY/8TV+EP2 Ac0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ci9si3842445ejc.125.2020.05.07.13.27.27; Thu, 07 May 2020 13:27:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728078AbgEGU0D (ORCPT + 99 others); Thu, 7 May 2020 16:26:03 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:39911 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726320AbgEGU0D (ORCPT ); Thu, 7 May 2020 16:26:03 -0400 Received: from aptenodytes (196.109.29.93.rev.sfr.net [93.29.109.196]) (Authenticated sender: paul.kocialkowski@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 26FC6100002; Thu, 7 May 2020 20:25:59 +0000 (UTC) Date: Thu, 7 May 2020 22:25:58 +0200 From: Paul Kocialkowski To: Johan Jonker Cc: devicetree@vger.kernel.org, ezequiel@collabora.com, hansverk@cisco.com, heiko@sntech.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, mchehab@kernel.org, robh+dt@kernel.org, thomas.petazzoni@bootlin.com Subject: Re: [PATCH v3 2/4] arm64: dts: rockchip: Add RGA support to the PX30 Message-ID: <20200507202558.GK2422122@aptenodytes> References: <20200430164245.1630174-3-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aqWxf8ydqYKP8htK" Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --aqWxf8ydqYKP8htK Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Fri 01 May 20, 00:05, Johan Jonker wrote: > Hi Paul, >=20 > > The PX30 features a RGA block: add the necessary node to support it. > >=20 > > Signed-off-by: Paul Kocialkowski > > --- > > arch/arm64/boot/dts/rockchip/px30.dtsi | 11 +++++++++++ > > 1 file changed, 11 insertions(+) > >=20 > > diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/d= ts/rockchip/px30.dtsi > > index f809dd6d5dc3..3de70aa4f1ce 100644 > > --- a/arch/arm64/boot/dts/rockchip/px30.dtsi > > +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi > > @@ -1102,6 +1102,17 @@ vopl_mmu: iommu@ff470f00 { > > status =3D "disabled"; > > }; > > =20 > > + rga: rga@ff480000 { > > + compatible =3D "rockchip,px30-rga", "rockchip,rk3288-rga"; > > + reg =3D <0x0 0xff480000 0x0 0x10000>; > > + interrupts =3D ; > > + clocks =3D <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA_CORE>; > > + clock-names =3D "aclk", "hclk", "sclk"; >=20 > > + resets =3D <&cru SRST_RGA>, <&cru SRST_RGA_A>, <&cru SRST_RGA_H>; > > + reset-names =3D "core", "axi", "ahb"; > > + power-domains =3D <&power PX30_PD_VO>; >=20 > sort >=20 > power-domains =3D <&power PX30_PD_VO>; > resets =3D <&cru SRST_RGA>, <&cru SRST_RGA_A>, <&cru SRST_RGA_H>; > reset-names =3D "core", "axi", "ahb"; What's the rationale behind this (besides alphabetic sorting, which I don't believe is a rule for dt properties)? Some nodes above in the file have it = in the same order that I do, and I like to see clocks followed by resets. Cheers, Paul >=20 >=20 > > + }; > > + > > qos_gmac: qos@ff518000 { > > compatible =3D "syscon"; > > reg =3D <0x0 0xff518000 0x0 0x20>; > > --=20 > > 2.26.0 >=20 --=20 Paul Kocialkowski, Bootlin Embedded Linux and kernel engineering https://bootlin.com --aqWxf8ydqYKP8htK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEJZpWjZeIetVBefti3cLmz3+fv9EFAl60btYACgkQ3cLmz3+f v9Ha1Qf/Xr5JD/LpgWWDus3bRN+aBAhQYAdGgLJOCLzfZ73l5ovYy4znYccQvOP7 9jefTg3IgTEVV/Dxsh+EFuaWAJzHmEREpDRMSCywxGQgrkWyU8rgB2z7GHjT0xUM DV0SU5Hi8mL2SDyXXMjAu+VQRu2ewNCXTSrNGMNey2R9ii5XZB51VZ61lYh4Zct8 wZ/M1S+jG6x/JbZT4UalUqvUyQIvNHS27RlkBROLBHcEBngSWCB/iQCOuLl5kjwa 3FFE9oLKQC/8C0q8Ys8o0Oz7lnfH5EEQ+3y4wLuHBTLGjMBrED3AREihwZOaLoHS OmTf3luRVKugDzmY3MKRI6vUPxK0lA== =fLpQ -----END PGP SIGNATURE----- --aqWxf8ydqYKP8htK--