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 C3A14C4361B for ; Mon, 14 Dec 2020 16:44:35 +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 767EC22286 for ; Mon, 14 Dec 2020 16:44:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 767EC22286 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=lKiEtcXpR734rgCrhRC9TmxUfApyESn1m780l36of6E=; b=vvI3y+S0b1wbqm2dl2UpLCRSn rnHgAUgUht/OMdw0y1WF2uCbOkYZ2dIDud44AdwrCDu8i+TOgZsz4ApBWuO80vGDNFawKnH8O3I+o oF+BqMDrhnSgKwbW+EyNO/Te5/X/bpTmzfm/VMvPm6Yppe/r47Db0qJH1uMPjGxUp5yWmvjh54tBx kuUcmNTsnLD207kVIf0+bpMx3A6YWqVE7Tfh6xKstagBW0GxQd6dTShDH/iE5T/NG9pGhC4nySLx8 XqMShI5jEH9v9f7VYLEH4yK9GUQ319u39RZxPGyek35i8IHClwxIozTONN0F+fkvRL3a8+TdePvo6 PnXbT+WOA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1koqw1-00012c-ON; Mon, 14 Dec 2020 16:42:53 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1koqvy-00012C-Ov for linux-arm-kernel@lists.infradead.org; Mon, 14 Dec 2020 16:42:52 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 72FEF3FA; Mon, 14 Dec 2020 11:42:45 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 14 Dec 2020 11:42:46 -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=+Z0W6DSS/5RY5S9CO+WB5sz6dtt PRA/z0CeH3Ghi4oE=; b=q1yOCS+HteWDw0h4gmyoV76fzY/g8o/rkhFqVIjWaEF SOXCSHMcqZzBrPBAF2/JK4g8qmS5CMPXo8gP72XbvgbFeh8UggyyM9XUECguf+MQ +CRRDLW57S1N3wqnHtAhnwdXlSEPH5BkVOQl+xt39G8ASNt0dmk2C1DvsKmp2NYX 0XvwMytaOAwIM2/atZpIsP4JiaNZWwR6+eaz2SBwREol/fHilnU1EZvAq5yeHvV3 er6NvWGVCbCrrTQ0bcVFKtJqwhU3SDPyA8Nmj7M1PeyLosarXD6lMfqIhv94P0ia Mj1H+AsfUFWNvuUyn6w180fye4KV87bS5ix0EhGQiMA== 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=+Z0W6D SS/5RY5S9CO+WB5sz6dttPRA/z0CeH3Ghi4oE=; b=Dk0es85cfh9cD9DPwtv13e Zi6iB5LoBCZi9qo3FPKv57rE9VLiVZG+cHHAWGLoKuZR/QPInGIov9DwcGq5Y+a4 eSPVT9r445nU3GpCoHi2xiNwVsh6doFBfdrL96Brb14f4tXMjWlvg+M4/rDm9N26 bfQs2D+UZN4pZxExDNaNRrQWxqD2KE3vtXdaW0/dXPgaUMufq7PHh1qCRNNPd4GB OIoTGBUmg3T8jwWJJRw1t76QmS9DgmBagyjvz4XBt3UhKClxKR8VJ+L5g5IinTlP EcwaD73IZsJ4JBzGhPsMMvzjZKTvHWYBfO4aBXAtznE1W4HGycwaPHNnSQrlg7iA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudekkedgleefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttdejnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepuedtgfejueduheevgfevvdettdduleffgfffkeeltdffkeegudekjeeuveei 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 C6D1124005D; Mon, 14 Dec 2020 11:42:43 -0500 (EST) Date: Mon, 14 Dec 2020 17:42:42 +0100 From: Maxime Ripard To: Icenowy Zheng Subject: Re: [RFC PATCH 05/12] pinctrl: sunxi: add pinctrl driver for V831/V833 Message-ID: <20201214164242.aevn5wghn26e74sq@gilmour> References: <20201212040157.3639864-1-icenowy@aosc.io> <20201212040430.3640418-2-icenowy@aosc.io> <20201214142118.bxdzu7z7cdomhgy7@gilmour> <5C8F8115-4DE6-4000-84DF-8D3BE2574713@aosc.io> MIME-Version: 1.0 In-Reply-To: <5C8F8115-4DE6-4000-84DF-8D3BE2574713@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201214_114251_345700_F689F3CD X-CRM114-Status: GOOD ( 20.65 ) 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="===============4230575230688942240==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4230575230688942240== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lryc4p36xq4m6xdc" Content-Disposition: inline --lryc4p36xq4m6xdc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 14, 2020 at 11:19:48PM +0800, Icenowy Zheng wrote: >=20 >=20 > =E4=BA=8E 2020=E5=B9=B412=E6=9C=8814=E6=97=A5 GMT+08:00 =E4=B8=8B=E5=8D= =8810:21:18, Maxime Ripard =E5=86=99=E5=88=B0: > >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) >=20 > Well, call everything V831, or call everything V833, or call things usabl= e=20 > on V831 V831 and things only available to V833 V833? It would feel more natural to have everything called v831, with things v833-specific obviously called v833 Maxime --lryc4p36xq4m6xdc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX9eWAgAKCRDj7w1vZxhR xe/dAQDpgTTCJbOrDiCeLVgRzVrqTjXtVMYwgo1nT5k8wHiLHAD/S/zXMmQVxRhq wXN7VkZ5kBNAAygKElNawmYb1GA6LA4= =F/ni -----END PGP SIGNATURE----- --lryc4p36xq4m6xdc-- --===============4230575230688942240== 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 --===============4230575230688942240==--