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 4713FCFC29A for ; Fri, 21 Nov 2025 18:24: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:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To: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=aEx5YmqnLqPd7E+5VfYruzexi0rEGl/vnTUy7jqGvK4=; b=1/g6t1jCsk8c/nfQO5/mZno3lh lBqY+cJNBBXHeT7xVw95uUZlHOJUIvUvFXoUaZJfm5EpUyD8HMjhdrgyZCqQsOKUwbsUlSi5C5Ay/ Q7WHUY7wMybOuG/Bybzkd+VUdJYxVvYQ4IsycXJPQBImn4lZ+EcYjHhZP12uN57/CNJanSEbf5TLF Wwd105FMSzAmD+WSYemv1M4si7wmSIWKgQ/+SoV94NxVYRyojNh+U00TkAHbY2CqTjXmUjGYXKh4d 6B9LrvDjd8RzOMqtnSJIlRRkEOT97PaFTj3DibiuDGILv7g49UqBrpx6EqDGO8gaQRn62U0MxE6KN ykg7wndA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vMVnq-00000008qm1-3czY; Fri, 21 Nov 2025 18:24:14 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vMVno-00000008qlH-0xGa for linux-phy@lists.infradead.org; Fri, 21 Nov 2025 18:24:13 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 354B44174A; Fri, 21 Nov 2025 18:24:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 347D0C4CEF1; Fri, 21 Nov 2025 18:24:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1763749451; bh=WLjenSCjWa8XEEDvvIHGWW6n2IZ7PQS4eefK5BUqRb8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Pym6eGsrkOKumrM7LgpO9HvT5akwyBbD1DY7t9Er8blwCUsWvmasjGYXUfROxYzr4 Jkr6sz5zjgJNmiMzuiB1jsh2eK2PTEeEBCrQFJr/11JGvNgR9nr1Xq0fZdTVYRYK6A TL7cJT1oFozg++zXtdkO0dW31IkI7mND5v4XgHYh3xrsPZMKNLY6pmN3jK/1bvWpXQ evtzJktLrMeTNMVsTKNb43u9NwjgTkI9v0w1/O/BH7BF08ph5ZaWU27qi4QpMc2fiC zp8UWY190uHqPe65KfsYM3/sbAshbx0FQPJ/6lXMrzXrKKJIUX+KrsdcI5Ok0Zw2+E UF3hb2kB1rwmA== Date: Fri, 21 Nov 2025 18:24:03 +0000 From: Conor Dooley To: Tommaso Merciai Cc: tomm.merciai@gmail.com, linux-renesas-soc@vger.kernel.org, biju.das.jz@bp.renesas.com, Peter Rosin , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Fabrizio Castro , Lad Prabhakar , Philipp Zabel , Yoshihiro Shimoda , Geert Uytterhoeven , Magnus Damm , Sebastian Reichel , Andi Shyti , Jonathan Cameron , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Arnd Bergmann , Greg Kroah-Hartman , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org Subject: Re: [PATCH v4 01/22] dt-bindings: mux: Remove nodename pattern constraints Message-ID: <20251121-spring-slot-ec9fb6887565@spud> References: MIME-Version: 1.0 In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251121_102412_304596_D48DEB5A X-CRM114-Status: GOOD ( 16.17 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============7155236404648782238==" Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org --===============7155236404648782238== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VKsNTaFTCye1rtHN" Content-Disposition: inline --VKsNTaFTCye1rtHN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 21, 2025 at 04:11:50PM +0100, Tommaso Merciai wrote: > The nodename pattern in created an unnecessary restriction that forced > all mux nodes to be named with the 'mux-controller' prefix. > This prevented valid use cases where mux functionality is part of other > hardware blocks that should use more specific naming conventions. >=20 > Remove the $nodename pattern constraints from both the 'select' keyword > and the properties section of the mux-controller schema. >=20 > Signed-off-by: Tommaso Merciai Funnily enough, there's another patch that I saw today that hit this same thing: https://lore.kernel.org/all/176373269741.263545.10849918874919174841.robh@k= ernel.org/ > --- > v3->v4: > - New patch. >=20 > Documentation/devicetree/bindings/mux/mux-controller.yaml | 6 ------ > 1 file changed, 6 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/mux/mux-controller.yaml b/= Documentation/devicetree/bindings/mux/mux-controller.yaml > index 78340bbe4df6..6defb9da10f7 100644 > --- a/Documentation/devicetree/bindings/mux/mux-controller.yaml > +++ b/Documentation/devicetree/bindings/mux/mux-controller.yaml > @@ -63,18 +63,12 @@ description: | > =20 > select: > anyOf: > - - properties: > - $nodename: > - pattern: '^mux-controller' > - required: > - '#mux-control-cells' > - required: > - '#mux-state-cells' > =20 > properties: > - $nodename: > - pattern: '^mux-controller(@.*|-([0-9]|[1-9][0-9]+))?$' I need to apologise, I told you to delete the wrong thing in my DM earlier. Only deleting this part was actually required, deleting the select portion doesn't really do anything for your problem. What you've done is probably fine though, since anything actually acting as a mux-controller will have the cells properties. Reviewed-by: Conor Dooley pw-bot: not-applicable > - > '#mux-control-cells': > enum: [ 0, 1 ] > =20 > --=20 > 2.43.0 >=20 --VKsNTaFTCye1rtHN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCaSCuQwAKCRB4tDGHoIJi 0oFIAQDW2bAxzrTvDF1ukX42XWJsL5zccm84MH2+EOosxxP+5gD/RAup3FCsfPBU gRGFV0fs3ohPxPBLD/iszdmUMqJOxg4= =3axy -----END PGP SIGNATURE----- --VKsNTaFTCye1rtHN-- --===============7155236404648782238== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy --===============7155236404648782238==--