From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932132AbdBHKPe (ORCPT ); Wed, 8 Feb 2017 05:15:34 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:40501 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752710AbdBHKPR (ORCPT ); Wed, 8 Feb 2017 05:15:17 -0500 Date: Wed, 8 Feb 2017 11:14:58 +0100 From: Maxime Ripard To: Icenowy Zheng Cc: Linus Walleij , Rob Herring , Chen-Yu Tsai , Catalin Marinas , Will Deacon , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH 5/8] arm64: dts: allwinner: add R_PIO node Message-ID: <20170208101458.du6ybqsw52ypzhzw@lukather> References: <20170208100009.29362-1-icenowy@aosc.xyz> <20170208100009.29362-5-icenowy@aosc.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fds4xpmbfshxzxzd" Content-Disposition: inline In-Reply-To: <20170208100009.29362-5-icenowy@aosc.xyz> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --fds4xpmbfshxzxzd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 08, 2017 at 06:00:06PM +0800, Icenowy Zheng wrote: > Allwinner A64 SoC has a R_PIO node like the one in H3. >=20 > Add the node as well as needed clocks and resets. >=20 > As there's no document for apb0_gates, I only added the R_PIO bit here. >=20 > Signed-off-by: Icenowy Zheng > --- > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 40 +++++++++++++++++++++= ++++++ > 1 file changed, 40 insertions(+) >=20 > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/b= oot/dts/allwinner/sun50i-a64.dtsi > index 1c64ea2d23f9..4b0baa79554c 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > @@ -98,6 +98,15 @@ > clock-output-names =3D "osc32k"; > }; > =20 > + apb0: apb0_clk { > + compatible =3D "fixed-factor-clock"; > + #clock-cells =3D <0>; > + clock-div =3D <1>; > + clock-mult =3D <1>; > + clocks =3D <&osc24M>; > + clock-output-names =3D "apb0"; > + }; > + > psci { > compatible =3D "arm,psci-0.2"; > method =3D "smc"; > @@ -392,5 +401,36 @@ > interrupts =3D , > ; > }; > + > + apb0_gates: clk@1f01428 { > + compatible =3D "allwinner,sun50i-a64-apb0-gates-clk", > + "allwinner,sun4i-a10-gates-clk"; > + reg =3D <0x01f01428 0x4>; > + #clock-cells =3D <1>; > + clocks =3D <&apb0>; > + clock-indices =3D <0>; > + clock-output-names =3D "apb0_pio"; > + }; > + > + apb0_rst: reset@1f014b0 { > + reg =3D <0x01f014b0 0x4>; > + compatible =3D "allwinner,sun6i-a31-clock-reset"; > + #reset-cells =3D <1>; > + }; Please make a sunxi-ng driver for those clocks. Thanks, Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --fds4xpmbfshxzxzd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJYmu+dAAoJEBx+YmzsjxAgRXEQAKufXNJGVGt1QhJrv6IfVEqK wtyFHWJqzcDjWI4Azi/q6yuLpgI7out0FcNeAzP1Y8APOc33PyCc2dSBtEia/Xi6 9KL8iEPaUx5/X0GHLwwYpVProcrSUHDwPpuAwWw1IELxf1PccvjQmehgxwHyzFCd cs7VvJkwvIGBjpX8V9b4mK/OiTQ0Wu9tOpb6PEUU2FlQR2HTX64ke5CO+BMnb2Cv TPoY52/VPLz1EyAAqpUEaNvt0+W5ZxQTcvehOgDlHFC+qOUWPal9RPROc5qJzSOb CodM4swOtPedn1s6q7MBRAG+EWZi6QnW20f4/QMD3p9nJlbtYP6246rTnHnIDRjS 8uP4eWYwu9K1vwMBJfLYfpMPvfBDQ+ZZLxrI7uKURPeFoTIDUrzUgBTV2/1np7ov HBDz0SD2oPCl2TeQPSdB+vQcHuPCP3+TyjTKcYP6046AveopnDb9lLY1K23Ih+Pa 09l9Z9huWn9TdUY5l67McpTxV41rZbhLwXDIaLjp7ufEf4jD8W26rPKpetfv0kh3 AstPX6N36MoG7gkDrug8FScxLxKelD7F6A6dmdllqrYRU07f+cp4MNsC42F+nXmy yy+JpZpwEe09DKwed3f3luKkKaBjWi8MJWx9lurpTbc+oQ5E7IN9zeC1LaTSSmox AbmGF8B5UJl1f5EmU6IH =hsUI -----END PGP SIGNATURE----- --fds4xpmbfshxzxzd--