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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A188AF436B7 for ; Fri, 17 Apr 2026 16:07:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc: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=UvuIXZik6kpoAEXpZUcN/K8sqk11v8tCmvkFFZ0Cz8o=; b=tjsucsfckx+Xlp+/lU8sGeSIuy JBP5e/TU1UYtWlhnGgPZL02r7sr85i5nsP+tiAlmZi93yQvYCRJWYeHk99u6cpwRkgGfitcFcxuMb OfTqq1dcd99kMcv1s65vvDTu2qlOMWJqHd0KVWQCI/wCeXr0cnLImemEnooBa1Lq80pskwyxkD0JB 54a7oHdnBsyZkB0xMzZEyOb7z10SdF0MDge5EMnoyAOD00GCalrrGHCsJpHZ11jS4sLPqe3HMdQkF XctFM4igK+90MsBFXwTWctFDyxtPCwmoB4tptvWxHtY79LjP+q9BKCPWm7xgO53QGStTSqZ0EqFrc 01NAhTng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wDlin-00000004F3k-0lKz; Fri, 17 Apr 2026 16:07:09 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wDlik-00000004F3N-3JBk for linux-arm-kernel@lists.infradead.org; Fri, 17 Apr 2026 16:07:08 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 3E7894035F; Fri, 17 Apr 2026 16:07:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C29ACC19425; Fri, 17 Apr 2026 16:07:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776442025; bh=NQgku0XmKRU6rgKiAn/DW7pVK31ikSdLl/YitlLG/B0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O+ZilaRDHbIpuk+btUy0PJqf2nDXeW9zyi9F0lc1bgO07JLLXlhdnIAxV0pt3QMbJ OZFjEc0Y4ag0wOuAXrdgkKVpb+Ivj0UkYvf9rieoR7CGQXx1W4NmEtWs+AuaMI/nrH hugHPhq3slfvFe/Yk0er0AkKjCzK1BYcR9U0RlhZmJAaDri7QRdLTGRBBGRu6USD84 HnJe9ERiefV9hM7c0qA11VHA8ZpivyLxv/QjHa5cMtcfm2Aico6mlC+UUyCPz/RVI5 dVsYHkDOne5Z1zIpQyWFf4YLtAkzqyKyOyVcKiyGzyaaZkpHkgMGS9qB/orNZUrrGG 8yLX+nhkmwKeg== Date: Fri, 17 Apr 2026 17:06:57 +0100 From: Conor Dooley To: Billy Tsai Cc: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , Linus Walleij , Bartosz Golaszewski , Ryan Chen , Andrew Jeffery , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-aspeed@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" , "openbmc@lists.ozlabs.org" , "linux-gpio@vger.kernel.org" , "linux-clk@vger.kernel.org" Subject: Re: [PATCH v7 1/3] dt-bindings: pinctrl: Add aspeed,ast2700-soc0-pinctrl Message-ID: <20260417-anemia-borrower-fb90ac02b417@spud> References: <20260416-upstream_pinctrl-v7-0-d72762253163@aspeedtech.com> <20260416-upstream_pinctrl-v7-1-d72762253163@aspeedtech.com> <20260416-brutishly-saga-ba7168a4cd14@spud> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/e075MT9JwuwmUji" Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260417_090706_881649_345E315B X-CRM114-Status: GOOD ( 16.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --/e075MT9JwuwmUji Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 17, 2026 at 02:20:25AM +0000, Billy Tsai wrote: > > > +=A0=A0=A0 properties: > > > +=A0=A0=A0=A0=A0 function: > > > +=A0=A0=A0=A0=A0=A0=A0 enum: > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - EMMC > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - JTAGDDR > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - JTAGM0 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - JTAGPCIEA > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - JTAGPCIEB > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - JTAGPSP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - JTAGSSP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - JTAGTSP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - JTAGUSB3A > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - JTAGUSB3B > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - PCIERC0PERST > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - PCIERC1PERST > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - TSPRSTN > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - UFSCLKI > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2AD0 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2AD1 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2AH > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2AHP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2AHPD0 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2AXH > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2AXH2B > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2AXHD1 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2AXHP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2AXHP2B > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2AXHPD1 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2BD0 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2BD1 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2BH > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2BHP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2BHPD0 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2BXH > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2BXH2A > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2BXHD1 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2BXHP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2BXHP2A > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2BXHPD1 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB3AXH > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB3AXH2B > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB3AXHD > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB3AXHP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB3AXHP2B > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB3AXHPD > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB3BXH > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB3BXH2A > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB3BXHD > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB3BXHP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB3BXHP2A > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB3BXHPD > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - VB > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - VGADDC > > > + > > > +=A0=A0=A0=A0=A0 groups: > > > +=A0=A0=A0=A0=A0=A0=A0 enum: > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - EMMCCDN > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - EMMCG1 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - EMMCG4 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - EMMCG8 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - EMMCWPN > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - JTAG0 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - PCIERC0PERST > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - PCIERC1PERST > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - TSPRSTN > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - UFSCLKI > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2A > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2AAP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2ABP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2ADAP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2AH > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2AHAP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2B > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2BAP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2BBP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2BDBP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2BH > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB2BHBP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB3A > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB3AAP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB3ABP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB3B > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB3BAP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - USB3BBP > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - VB0 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - VB1 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - VGADDC > > > +=A0=A0=A0=A0=A0 pins: > > > +=A0=A0=A0=A0=A0=A0=A0 enum: > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - AB13 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - AB14 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - AC13 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - AC14 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - AD13 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - AD14 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - AE13 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - AE14 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - AE15 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - AF13 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - AF14 > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0 - AF15 >=20 > > Why do you have groups and pins? >=20 > > Is it valid in your device to have groups and pins in the same node? >=20 > The intent is to support both group-based mux selection and > configuration, as well as per-pin configuration. >=20 > In our hardware: >=20 > - `function` + `groups` are used for pinmux selection. > - `pins` is used for per-pin configuration (e.g. drive strength, > bias settings). > - `groups` may also be used for group-level configuration. >=20 > As a result, both `groups` and `pins` may appear in the same node, > but they serve different purposes and do not conflict: >=20 > - `groups` selects the mux function and may apply configuration to > the entire group. > - `pins` allows overriding or specifying configuration for individual > pins. >=20 > In most cases, only one of them is needed, but both are allowed when > both group-level and per-pin configuration are required. To be honest, that sounds like your groups are not sufficiently granular and should be reduced such that you can use them for pin settings.=20 --/e075MT9JwuwmUji Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCaeJaoQAKCRB4tDGHoIJi 0oi8AQDp1gAb3AolAjABIl6fBvoBypslFDHqFAcNj6E2DlBE3QEA6Q6j2LCAIPOl 0A+dbl1IvfSrQZC4005IZCZMYdRgOgE= =ZteU -----END PGP SIGNATURE----- --/e075MT9JwuwmUji--