public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Liu Ying <victor.liu@nxp.com>
To: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Cc: Marek Vasut <marex@nabladev.com>,
	Marco Felsch <m.felsch@pengutronix.de>,
	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>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Marek Vasut <marex@denx.de>,
	dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: display: bridge: ldb: Require reg property only for i.MX6SX/8MP LDBs
Date: Thu, 30 Apr 2026 17:56:45 +0800	[thread overview]
Message-ID: <afMnXQCRX4WEhxfu@raspi> (raw)
In-Reply-To: <7hysu6kamrsltsfcp5hyx23o5nbqbds22jhv65266w2qmps6ft@4tpbs4gfnzx4>

On Thu, Apr 16, 2026 at 01:20:20PM +0300, Laurentiu Palcu wrote:
> Hi Marco, Marek, Ying,
> 
> On Tue, Mar 31, 2026 at 01:22:19AM +0200, Marek Vasut wrote:
> > On 3/30/26 8:29 AM, Marco Felsch wrote:
> > 
> > Hello Marco,
> > 
> > > > > On 26-03-29, Liu Ying wrote:
> > > > > > LDB's parent device could be a syscon which doesn't allow a reg property
> > > > > > to be present in it's child devices, e.g., NXP i.MX93 Media blk-ctrl
> > > > > > has a child device NXP i.MX93 Parallel Display Format Configuration(PDFC)
> > > > > > without a reg property(LDB is also a child device of the Media blk-ctrl).
> > > > > > To make the LDB schema be able to describe LDBs without the reg property
> > > > > > like i.MX93 LDB, require the reg property only for i.MX6SX/8MP LDBs.
> > > > > 
> > > > > NACK, we want to describe the HW and from HW PoV the LDB is and was
> > > > > always part of a syscon. This is the case for all SoCs i.MX6SX/8MP/93.
> > > > > 
> > > > > > Fixes: 8aa2f0ac08d3 ("dt-bindings: display: bridge: ldb: Add check for reg and reg-names")
> > > > > 
> > > > > Therefore I would just revert this patch completely.
> > > > Last time, I pointed out the hardware is part of syscon, but as a subnode
> > > > and therefore with reg properties. What is the problem there ?
> > > 
> > > To quote the DT spec here:
> > > 
> > > """
> > > The reg property describes the address of the device’s resources within
> > > the address space defined by its parent bus.
> > > """
> > 
> > That parent bus would be the syscon, wouldn't it.
> > 
> > > The parent bus is not the parent iomuxc (i.MX6X) nor the blk-ctrl
> > > (i.MX8MP/93) device. Therefore this is wrong IMHO and should be dropped.
> > 
> > How so ? What is the parent bus ?
> 
> It looks like the discussion is stuck on 2 things:
> 
> 1. DT spec argument hasn't been fully addressed: Marek asked "what is
>    the parent bus if not the syscon?". That question is still open. Syscon
>    children carrying 'reg' to express their offset within the parent's MMIO
>    range is a common upstream pattern. Marco, can you explain why syscon
>    doesn't qualify as the address space provider here?
> 
> 2. Regardless of (1), removing 'reg' from the imx6sx/imx8mp DT nodes is
>    an ABI break, those nodes are already upstream. Ying's patch is
>    the minimal fix that respects that constraint while unblocking imx93.

Yes, I don't want to break ABI by removing the 'reg' property from i.MX6SX
and i.MX8MP LDB DT nodes.  And, I don't see a way to remove it, which
doesn't break ABI.

Laurentiu, Marek, can you please provide your A-b or R-b tags if you are
fine with my patch?  I see your positive opinion on the idea of this
patch, based on previous discussion[1][2].

[1] https://lore.kernel.org/all/p7glzm344tiu76zm5aa7qq4lswdcjuqlqel3hl3tr3s2cllltj@i2eyzuux4cj3/
[2] https://lore.kernel.org/all/a4a5284d-6004-46c5-b5a3-f8eb4d9b3680@nabladev.com/

> 
> Marco, a broader cleanup of 'reg' from imx6sx/imx8mp would need to be a
> separate patch with an explicit plan for the ABI impact... So, for now, my
> suggestion is to move forward with Ying's solution.

I'm open to any better idea than my patch to support i.MX93 LDB in DT.
If there is any, I'd like to see plan/discussion/patch for that.

> 
> -- 
> Thanks,
> Laurentiu

-- 
Regards,
Liu Ying

  reply	other threads:[~2026-04-30  9:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-29  7:51 [PATCH] dt-bindings: display: bridge: ldb: Require reg property only for i.MX6SX/8MP LDBs Liu Ying
2026-03-29 17:42 ` Marco Felsch
2026-03-29 18:29   ` Marek Vasut
2026-03-30  6:29     ` Marco Felsch
2026-03-30 23:22       ` Marek Vasut
2026-04-16 10:20         ` Laurentiu Palcu
2026-04-30  9:56           ` Liu Ying [this message]
2026-03-30  2:05   ` Liu Ying
2026-03-30 10:28     ` Marco Felsch
2026-03-31  2:01       ` Liu Ying

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=afMnXQCRX4WEhxfu@raspi \
    --to=victor.liu@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=jernej.skrabec@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=krzk+dt@kernel.org \
    --cc=laurentiu.palcu@oss.nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m.felsch@pengutronix.de \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=marex@denx.de \
    --cc=marex@nabladev.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=rfoss@kernel.org \
    --cc=robh@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    /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