From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AB3A6C4361B for ; Mon, 14 Dec 2020 14:22:42 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5B4DC22C7B for ; Mon, 14 Dec 2020 14:22:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5B4DC22C7B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=b815d0VWOE57Dnk9I8Ywinzr9GdRvtok84ROZOAnAwg=; b=yHNf4xY/Ato0asniCyDzP7zCz /xsrycsWxk/R4vgBXqF/f3Xn9QmiovHMfFUva75b4k0Q79r0M/4FKW4AUsdZUC75MUk5ozljuAYIw aGf4zQOTQzndH9K3FjVj5dNq+elK2JfIJHgZNLbeJT0sDdN/+vuxjGRlDhz41iKCWnXIzl64Fg16J MsB+zRBADA0EyM0qB7EpU8ekpzcKZQQIdgi/vZiRGyOnhOCLJpn8YPBZZSIwQFD+njuBTxEAeytnO 9GyDyxlat2vqnB91pgDYglRDu2BBAnG2ajBH+Z9R035W9CKLBGwuRcrrGox5p7WaPsJOeHXMMJmyK 9wycYGRIQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kooj8-0001tH-Uk; Mon, 14 Dec 2020 14:21:26 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kooj5-0001sX-Iw for linux-arm-kernel@lists.infradead.org; Mon, 14 Dec 2020 14:21:24 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 5CF64560; Mon, 14 Dec 2020 09:21:21 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 14 Dec 2020 09:21:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=BwtqYUjEM5HK5CeLB7QlKUDY+Fr UbzjldMfZjsiMexA=; b=eijK8TGe+PD/AeF4enheqKELlzQdA4ELRqVUObxQ1yv dVDm5kPRMy9ciR27jqEopK2YKIrAAnwhEW1lh/j3yzjeshaHFKuc9BWIaP2JRZ71 RJKs86OzYyNaLRVf/BW97s8G3EU78xh4hWEETtEokz5PjwRiy5UgS4f1/w//aDpP IR3158yF6Wu2UkEU6pqG/3CPBOczsL9GHTG/g3Mde1SP/xEpZPDzeq2X6s6BhGv1 AzUL4ao5cIWXM6io9h+ybrkvNOu/vYUjlzeMcpS5CNPqokdkr0CXAvtvsHVmTox5 g1YkHIPaKuluDiW6hKS5F1YS/gNXGzvSyo/JM0D82dQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=BwtqYU jEM5HK5CeLB7QlKUDY+FrUbzjldMfZjsiMexA=; b=mQTsI8adGoXRW6GXO/VD4k bPUUj4XcctjHyjNJpfZUcSIPPAYtw41EZHsbKkeo0+F+2p1HrHOpKZmHwMNcn+eX iOyKruAqDrte3wz97gMGyEBUYIkkriGkco0CAbfp97NaAuUg8AbX9mx1l6TwDRU+ pfqitCejj42CCqHPzu09DNpxUiLOB2Usxy3ZTXtcMHiIdAsPCFsC+QXkrcPJ/Hqj tSPzdadniATteRpoiC9CVlGu5IfJOQeB77VsQH4Wx/edd+T6RrQHry2G+3avQHwx RCAey9wqiVjQogiFcjG5/WIaCFxDSEnu05gKmdyl+TlKDSazzEqdtfE4gdkNjxNQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudekkedgieefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepleekgeehhfdutdeljefgleejffehfffgieejhffgueefhfdtveetgeehieeh gedunecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 9B2FA1080059; Mon, 14 Dec 2020 09:21:19 -0500 (EST) Date: Mon, 14 Dec 2020 15:21:18 +0100 From: Maxime Ripard To: Icenowy Zheng Subject: Re: [RFC PATCH 05/12] pinctrl: sunxi: add pinctrl driver for V831/V833 Message-ID: <20201214142118.bxdzu7z7cdomhgy7@gilmour> References: <20201212040157.3639864-1-icenowy@aosc.io> <20201212040430.3640418-2-icenowy@aosc.io> MIME-Version: 1.0 In-Reply-To: <20201212040430.3640418-2-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201214_092123_752377_A8797DBF X-CRM114-Status: GOOD ( 18.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Jernej Skrabec , Linus Walleij , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Chen-Yu Tsai , Rob Herring , linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============0196872216668404227==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============0196872216668404227== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rchau4rbhiwycv2k" Content-Disposition: inline --rchau4rbhiwycv2k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 12, 2020 at 12:04:23PM +0800, Icenowy Zheng wrote: > V831/V833 are new chips from Allwinner. They're the same die with > different package. >=20 > Add a pinctrl driver for them. >=20 > The difference between V831/V833 pinctrl is implemented based on the > user manual. >=20 > Cc: Linus Walleij > Cc: linux-gpio@vger.kernel.org > Signed-off-by: Icenowy Zheng > --- > drivers/pinctrl/sunxi/Kconfig | 5 + > drivers/pinctrl/sunxi/Makefile | 1 + > drivers/pinctrl/sunxi/pinctrl-sun8i-v83x.c | 743 +++++++++++++++++++++ > drivers/pinctrl/sunxi/pinctrl-sunxi.h | 2 + > 4 files changed, 751 insertions(+) > create mode 100644 drivers/pinctrl/sunxi/pinctrl-sun8i-v83x.c >=20 > diff --git a/drivers/pinctrl/sunxi/Kconfig b/drivers/pinctrl/sunxi/Kconfig > index 593293584ecc..fc13335a3eda 100644 > --- a/drivers/pinctrl/sunxi/Kconfig > +++ b/drivers/pinctrl/sunxi/Kconfig > @@ -73,6 +73,11 @@ config PINCTRL_SUN8I_V3S > default MACH_SUN8I > select PINCTRL_SUNXI > =20 > +config PINCTRL_SUN8I_V83X > + bool "Support for the Allwinner V831/V833 PIO" > + default MACH_SUN8I > + select PINCTRL_SUNXI > + We're not using the wildcard much, and I'd rather be consistent with the name / Kconfig option scheme used for the clock driver (and the rest of the SoCs in a similar situation) Maxime --rchau4rbhiwycv2k Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX9d03gAKCRDj7w1vZxhR xbPvAQCq17o8gHL1yUSGIQCGeqX51CHQBMYjDd0RI8x/CV4EuAEA/opdKZPWikSe DNBii3EVWa8xj+3RRyjhq8gfj/VMwg4= =HJdK -----END PGP SIGNATURE----- --rchau4rbhiwycv2k-- --===============0196872216668404227== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============0196872216668404227==--