Devicetree
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Marco Felsch <m.felsch@pengutronix.de>
Cc: Andrzej Hajda <andrzej.hajda@intel.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Robert Foss <rfoss@kernel.org>,
	Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
	Jonas Karlman <jonas@kwiboo.se>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Marek Vasut <marex@denx.de>,
	Frank Li <Frank.Li@nxp.com>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	laurentiu.palcu@oss.nxp.com, victor.liu@nxp.com,
	dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, imx@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/4] Revert "dt-bindings: display: bridge: ldb: Fill in reg property"
Date: Mon, 1 Jun 2026 17:29:41 -0500	[thread overview]
Message-ID: <20260601222941.GA101404-robh@kernel.org> (raw)
In-Reply-To: <uyh5s6g7bvuufnhfjrmungp5dbyllxfrgfzaxno22knpxxojmj@qqvh75ezblpp>

On Wed, May 13, 2026 at 12:26:40PM +0200, Marco Felsch wrote:
> On 26-05-07, Rob Herring wrote:
> > On Thu, May 7, 2026 at 6:55 AM Marco Felsch <m.felsch@pengutronix.de> wrote:
> 
> ...
> 
> > > > But nowhere have you said the LDB registers are mixed with other
> > > > functions. If they aren't, then there is absolutely nothing to change
> > > > in the binding. If they are, then yes, we shouldn't have 'reg'.
> > >
> > > No they aren't mixed with other functions (for now).
> > 
> > For now? Is the h/w going to change or is the binding *still* incomplete.
> 
> Sorry for the confusion. By for now I mean that NXP tend to reuse IPs
> but with minor changes. So no, the binding is not incomplete with our
> current HW knowledge.

If such changes occur, then we can deal with it at that time.


> > > Can you please
> > > confirm that mixing 'reg' based sub-device nodes with non 'reg' based
> > > sub-device nodes  is allowed? E.g. if the below example is allowed?
> > >
> > >         system-controller@4ac10000 {
> > >                 compatible = "fsl,imx93-media-blk-ctrl", "syscon";
> > >                 reg = <0x4ac10000 0x10000>;
> > >                 #address-cells = <1>;
> > >                 #size-cells = <1>;
> > >
> > >                 ...
> > >
> > >                 bridge@5c {
> > >                         compatible = "fsl,imx8mp-ldb";
> > >                         reg = <0x5c 0x4>, <0x128 0x4>;
> > >                         reg-names = "ldb", "lvds";
> > >
> > >                         ...
> > >                 };
> > >
> > >                 dpi-bridge {
> > >                         compatible = "nxp,imx93-pdfc";
> > >
> > >                         ...
> > 
> > Depends what is in "...". If only a compatible, then no. If there are
> > actual resources defined, then yes.
> 
> Please see the below full example, is this allowed?
> 
> system-controller@4ac10000 {
> 	compatible = "fsl,imx93-media-blk-ctrl", "syscon";
> 	reg = <0x4ac10000 0x10000>;
> 	#address-cells = <1>;
> 	#size-cells = <1>;
> 
> 	...
> 
> 	bridge@5c {
> 		compatible = "fsl,imx8mp-ldb";
> 		reg = <0x5c 0x4>, <0x128 0x4>;
> 		reg-names = "ldb", "lvds";
> 		clocks = <&clk IMX8MP_CLK_MEDIA_LDB_ROOT>;
> 		clock-names = "ldb";
> 		assigned-clocks = <&clk IMX8MP_CLK_MEDIA_LDB>;
> 		assigned-clock-parents = <&clk IMX8MP_VIDEO_PLL1_OUT>;
> 		status = "disabled";
> 
> 		ports {
> 			#address-cells = <1>;
> 			#size-cells = <0>;
> 
> 			port@0 {
> 				reg = <0>;
> 
> 				ldb_from_lcdif2: endpoint {
> 					remote-endpoint = <&lcdif2_to_ldb>;
> 				};
> 			};
> 
> 			port@1 {
> 				reg = <1>;
> 
> 				ldb_lvds_ch0: endpoint {
> 				};
> 			};
> 
> 			port@2 {
> 				reg = <2>;
> 
> 				ldb_lvds_ch1: endpoint {
> 				};
> 			};
> 		};
> 	};
> 
> 	dpi-bridge {
> 		compatible = "nxp,imx93-pdfc";
> 		status = "disabled";
> 
> 		ports {
> 			#address-cells = <1>;
> 			#size-cells = <0>;
> 
> 			port@0 {
> 				reg = <0>;
> 
> 				dpi_from_lcdif: endpoint {
> 					remote-endpoint = <&lcdif_to_dpi>;
> 				};
> 			};
> 
> 			port@1 {
> 				reg = <1>;
> 
> 				dpi_to_panel: endpoint {
> 				};
> 			};
> 		};
> 	};
> };

Yes, this seems fine.

Rob

  reply	other threads:[~2026-06-01 22:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-04 20:21 [PATCH 0/4] i.MX LDB DT cleanups Marco Felsch
2026-05-04 20:21 ` [PATCH 1/4] Revert "dt-bindings: display: bridge: ldb: Add check for reg and reg-names" Marco Felsch
2026-05-04 20:21 ` [PATCH 2/4] Revert "dt-bindings: display: bridge: ldb: Fill in reg property" Marco Felsch
2026-05-04 21:42   ` Rob Herring (Arm)
2026-05-05 14:15   ` Rob Herring
2026-05-05 15:45     ` Marco Felsch
2026-05-06  8:09       ` Liu Ying
2026-05-06 14:14       ` Rob Herring
2026-05-07 11:55         ` Marco Felsch
2026-05-07 15:25           ` Rob Herring
2026-05-13 10:26             ` Marco Felsch
2026-06-01 22:29               ` Rob Herring [this message]
2026-06-02  7:23                 ` Marco Felsch
2026-05-04 20:21 ` [PATCH 3/4] ARM: dts: imx6sx: remove LDB reg property Marco Felsch
2026-05-04 20:21 ` [PATCH 4/4] arm64: dts: imx8mp: remove LDB reg and reg-names property Marco Felsch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260601222941.GA101404-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=Frank.Li@nxp.com \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=airlied@gmail.com \
    --cc=andrzej.hajda@intel.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=jernej.skrabec@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=laurentiu.palcu@oss.nxp.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m.felsch@pengutronix.de \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=marex@denx.de \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=rfoss@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    --cc=victor.liu@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox