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 BFB64C004C0 for ; Mon, 23 Oct 2023 16:38:11 +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=vs+cLkQajNx3Z6HyxnP/M3pik6rfOUi3egsErPmsK5I=; b=aSfMgTw9JV9UHEru8KXpizl+W2 tLxB3N7XpC3pDKMo/bQrsso0Ozpd8YmTgp1BmjqR6ugRXbi5jJ+RXXsKGOO4dtzkRdxXaw1Wm9qwg FwgkL8/AvTglRHl5OCZEwYgOYSQUEFXOS60OhgBh9TNLbBebUk5O7VAJCiGbQqdDPWRnhbHJrikxg ZTGyro30PXRn8pXz+pyl42vvD5xs/gf4AydUFuOkP4wg+rn6UanMj05bPTkYQ1hcTN4rNen4nYFnL L80s9S5FtwhNAa/AEQp+NG6Cn4q3UoR8EPpqCEitgGYfhNHL83/HnimYHp0UB8zAngd/pUXENygIJ GYBwBTlQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1quxvw-007qjD-2E; Mon, 23 Oct 2023 16:37:40 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1quxvt-007qiS-0q for linux-arm-kernel@lists.infradead.org; Mon, 23 Oct 2023 16:37:38 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id D38EFB81F29; Mon, 23 Oct 2023 16:37:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69DFFC433C7; Mon, 23 Oct 2023 16:37:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698079055; bh=4j4zRVpdENg4gFv1kRMTIK1mdiei4ouowMHUHlbMvdI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UGXh1vBIm6GumULitSKCEjbrLw/iuKY7Ps0Fn88fe0oLBpQKW5p6V9Ryv1rA5z0pl EMJ333zl57pM9ZI0iRgqwVD67mvzLR0N6XdO+rvLmTCFcP/ElWFhrs10gNZNPyKDCu JTgR4zI2YsIR9DfrAmi5bmIKPq4hRgeagt2GtBdepM9vDYyd8wt3vvcEgl6BBVdeWT ZUhhDw21xgZtbhpe1uXMkaPKqWquaxdMYpSIk0sTtqO0pQDFUHIusVHKj+Ojlb0HiE A2b+OjQmp0GYcDrPHtCNMHcOiC5ah1nv8gcAp7g6q9YEG8hqSV6+5eZWo+dhSdvkKN UczVhSBh3Ajbg== Date: Mon, 23 Oct 2023 17:37:29 +0100 From: Conor Dooley To: Alexander Stein Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam , Abel Vesa , Peng Fan , Michael Turquette , Stephen Boyd , Ulf Hansson , Marek Vasut , Pengutronix Kernel Team , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux@ew.tq-group.com, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH 2/5] dt-bindings: soc: imx93-media-blk-ctrl: Add LDB subnode into schema and example Message-ID: <20231023-quote-wrongly-ed07265e12ac@spud> References: <20231020130019.665853-1-alexander.stein@ew.tq-group.com> <20231020130019.665853-3-alexander.stein@ew.tq-group.com> <20231022-helper-dating-a0f65a8f6f72@spud> <5986192.lOV4Wx5bFT@steina-w> MIME-Version: 1.0 In-Reply-To: <5986192.lOV4Wx5bFT@steina-w> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231023_093737_628973_3C797CBB X-CRM114-Status: GOOD ( 24.16 ) 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: , Content-Type: multipart/mixed; boundary="===============2606057466492619700==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2606057466492619700== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xhT/qDoRzBha/YYS" Content-Disposition: inline --xhT/qDoRzBha/YYS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 23, 2023 at 08:27:20AM +0200, Alexander Stein wrote: > Am Sonntag, 22. Oktober 2023, 19:39:12 CEST schrieb Conor Dooley: > > On Fri, Oct 20, 2023 at 03:00:15PM +0200, Alexander Stein wrote: > > > Document the LDB bridge subnode and add the subnode into the example. > > > For the subnode to work, the block control must scan its subnodes and > > > bind drivers to them, do not misuse either simple-bus or simple-mfd > > > here. > > >=20 > > > Signed-off-by: Alexander Stein > > > --- > > >=20 > > > .../soc/imx/fsl,imx93-media-blk-ctrl.yaml | 44 +++++++++++++++++= ++ > > > 1 file changed, 44 insertions(+) > > >=20 > > > diff --git > > > a/Documentation/devicetree/bindings/soc/imx/fsl,imx93-media-blk-ctrl.= yaml > > > b/Documentation/devicetree/bindings/soc/imx/fsl,imx93-media-blk-ctrl.= yaml > > > index b3554e7f9e76..5ba66dfb0e05 100644 > > > --- > > > a/Documentation/devicetree/bindings/soc/imx/fsl,imx93-media-blk-ctrl.= yaml > > > +++ > > > b/Documentation/devicetree/bindings/soc/imx/fsl,imx93-media-blk-ctrl.= yaml>=20 > > > @@ -24,6 +24,12 @@ properties: > > > reg: > > > maxItems: 1 > > >=20 > > > + '#address-cells': > > > + const: 1 > > > + > > > + '#size-cells': > > > + const: 1 > > > + > > >=20 > > > '#power-domain-cells': > > > const: 1 > > >=20 > > > @@ -46,9 +52,16 @@ properties: > > > - const: csi > > > - const: dsi > > >=20 > > > + bridge@20: > > > + type: object > > > + $ref: /schemas/display/bridge/fsl,ldb.yaml# > > > + unevaluatedProperties: false > > > + > > >=20 > > > required: > > > - compatible > > > - reg > > >=20 > > > + - '#address-cells' > > > + - '#size-cells' > >=20 > > It seems to make little sense to me that these would become required > > when the bridge is optional. Is it valid to have one of these > > media-blk-ctrls without the ldb subnode? >=20 > fsl,imx93-media-blk-ctrl privides several power-domains (DSI, CSI, ISI, P= XP=20 > and LCDIF), currently unused. This series introduces the usage for LCDIF = power=20 > domain. LDB is the LVDS display bridge. So there are several power domain= s=20 > which don't requires the usage of ldb. > On the other hand I prefer consistency, so I opted to keep things similar= to=20 > commit 1cb0c87d27dc. If it shall not be added here, it should be removed = in=20 > Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-media-blk-ctrl.yaml = as=20 > well. IIRC the tooling will complain if you have an enabled node containing #address-cells and/or #size-cells but no child nodes, so making #address-cells or #size-cells required will cause problems. Looks like the only user has the child node, so it didn't crop up yet. --xhT/qDoRzBha/YYS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZTahSAAKCRB4tDGHoIJi 0vS+AQC45ElFCzZEUe5/Th99QAcnTpLwpHp/8fZYeUbBNEHJSgEAv/Eh5gQhIGd6 z2Ep4eW1LJXgSQL1VLTN6vznUdXFtgQ= =U4hY -----END PGP SIGNATURE----- --xhT/qDoRzBha/YYS-- --===============2606057466492619700== 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 --===============2606057466492619700==--