Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751801AbbEQTAl (ORCPT ); Sun, 17 May 2015 15:00:41 -0400 Received: from down.free-electrons.com ([37.187.137.238]:38298 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751254AbbEQTAP (ORCPT ); Sun, 17 May 2015 15:00:15 -0400 Date: Sun, 17 May 2015 16:30:14 +0200 From: Maxime Ripard To: Jens Kuske Cc: Emilio =?iso-8859-1?Q?L=F3pez?= , Mike Turquette , Linus Walleij , Rob Herring , Chen-Yu Tsai , Vishnu Patekar , Hans de Goede , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v2 07/10] pinctrl: sunxi: Add H3 PIO controller support Message-ID: <20150517143014.GH4004@lukather> References: <1431707940-19372-1-git-send-email-jenskuske@gmail.com> <1431707940-19372-8-git-send-email-jenskuske@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T+d4WTH4wtHHX3b6" Content-Disposition: inline In-Reply-To: <1431707940-19372-8-git-send-email-jenskuske@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3233 Lines: 86 --T+d4WTH4wtHHX3b6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 15, 2015 at 06:38:57PM +0200, Jens Kuske wrote: > The H3 uses the same pin controller as previous SoC's from Allwinner. > Add support for the pins controlled by the main PIO controller. >=20 > Signed-off-by: Jens Kuske > --- > .../bindings/pinctrl/allwinner,sunxi-pinctrl.txt | 1 + > drivers/pinctrl/sunxi/Kconfig | 8 + > drivers/pinctrl/sunxi/Makefile | 1 + > drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c | 522 +++++++++++++++= ++++++ > 4 files changed, 532 insertions(+) > create mode 100644 drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c >=20 > diff --git a/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pi= nctrl.txt b/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinct= rl.txt > index fdd8046..c46af8e 100644 > --- a/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.t= xt > +++ b/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.t= xt > @@ -16,6 +16,7 @@ Required properties: > "allwinner,sun7i-a20-pinctrl" > "allwinner,sun8i-a23-pinctrl" > "allwinner,sun8i-a23-r-pinctrl" > + "allwinner,sun8i-h3-pinctrl" > - reg: Should contain the register physical address and length for the > pin controller. > =20 > diff --git a/drivers/pinctrl/sunxi/Kconfig b/drivers/pinctrl/sunxi/Kconfig > index 2eb893e..6c1cec5 100644 > --- a/drivers/pinctrl/sunxi/Kconfig > +++ b/drivers/pinctrl/sunxi/Kconfig > @@ -43,6 +43,14 @@ config PINCTRL_SUN8I_A23_R > depends on RESET_CONTROLLER > select PINCTRL_SUNXI_COMMON > =20 > +config PINCTRL_SUN8I_H3 > + tristate "Allwinner H3 pinctrl driver" > + default MACH_SUN8I > + select PINCTRL_SUNXI_COMMON PINCTRL_SUNXI_COMMON should probably be turned into a tristate as well Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --T+d4WTH4wtHHX3b6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVWKX2AAoJEBx+YmzsjxAg2koP/ipValUrDkbSPpfT5SkWXA8M IgDnsw1jkntVlt9jVMlHLRWV0NpL7Kt8kj8jAIIy8yb6mRTCO45JuRAy2yBz3kEf EmiGNuB15nwCOIxLnLvr8zu4eohCPmpqyNEqjYszk+pWYpCnL5a/QuTITCMKXvdK bs6Yg91tqOYDqXBcoJ1MC1H2M+CzDwhWzeQDCqZlQHukauD/2fK73AHZSCrIvddt mhZ94Vh9ZeaL2yqfIlkUvT6kg3pCrBE/+XA2cMeJN7OX3hejen13Cw+qcLm3mGQ7 neF8e2349sn4quOv857EKb/+q4Liz5yAx6zLZAl3uFBZQIJMBgRDt3zc9Elp2zEb 0/LrW5k10Uk66L9KUmALU9n49Jt/uhd9pwxznG5ah8BbZw45/cLrkiuhoGIbGQX3 4i2TpC3vALdZRnVThT7WswDuJs61VQDCJUBvWZ3bxoUvIEX7jv4e3r9CzKkFbn7N p2l51eqUZqHhPUkdXYe6gWwCcpj81kdpzcTdbx9ffQ34lLvZoTnHnKdMsqifQFEv vOZEctmDqVCTZ4L2J0SBFTcWT4Q7OYVltY8JPCPekt19Ek8wxwqsFvSMJ7dBaIUj FaG7XBHIbORw4Jh2FRcMMecD2BnU+/2IEQMiDe4pn8EaKabPDXJp/f3zDaSyNecT ZeBamGOXGL/KOqPe09hn =L3gV -----END PGP SIGNATURE----- --T+d4WTH4wtHHX3b6-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/