Devicetree
 help / color / mirror / Atom feed
From: Frank Li <Frank.li@nxp.com>
Cc: Sherry Sun <sherry.sun@nxp.com>,
	Hongxing Zhu <hongxing.zhu@nxp.com>,
	"l.stach@pengutronix.de" <l.stach@pengutronix.de>,
	"bhelgaas@google.com" <bhelgaas@google.com>,
	"lpieralisi@kernel.org" <lpieralisi@kernel.org>,
	"kwilczynski@kernel.org" <kwilczynski@kernel.org>,
	"robh@kernel.org" <robh@kernel.org>,
	"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
	"conor+dt@kernel.org" <conor+dt@kernel.org>,
	"s.hauer@pengutronix.de" <s.hauer@pengutronix.de>,
	"festevam@gmail.com" <festevam@gmail.com>,
	"imx@lists.linux.dev" <imx@lists.linux.dev>,
	"kernel@pengutronix.de" <kernel@pengutronix.de>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH V3 03/10] arm: dts: imx6qdl: Add Root Port node and PERST property
Date: Thu, 5 Feb 2026 10:30:34 -0500	[thread overview]
Message-ID: <aYS3mtQlUZGe5j9_@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <xx6hhc66xwlr2qmhhm625cocmdng35a2h5vochzrg3gxb5f6tt@465qo5ugahfg>

On Thu, Feb 05, 2026 at 10:46:05AM +0530, Manivannan Sadhasivam wrote:
> On Wed, Feb 04, 2026 at 10:21:49AM -0500, Frank Li wrote:
> > On Wed, Feb 04, 2026 at 06:03:55PM +0530, Manivannan Sadhasivam wrote:
> > > On Wed, Feb 04, 2026 at 06:44:07AM +0000, Sherry Sun wrote:
> > > > > On Tue, Feb 03, 2026 at 09:56:07AM +0800, Sherry Sun wrote:
> > > > > > Since describing the PCIe PERST# property under Host Bridge node is
> > > > > > now deprecated, it is recommended to add it to the Root Port node, so
> > > > > > creating the Root Port node and add the reset-gpios property in Root
> > > > > > Port.
> > > > > >
> > > > > > Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
> > > > > > ---
> > > > > >  arch/arm/boot/dts/nxp/imx/imx6qdl-sabresd.dtsi |  5 +++++
> > > > > >  arch/arm/boot/dts/nxp/imx/imx6qdl.dtsi         | 11 +++++++++++
> > > > > >  arch/arm/boot/dts/nxp/imx/imx6qp-sabreauto.dts |  5 +++++
> > > > > >  3 files changed, 21 insertions(+)
> > > > > >
> > > > > > diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-sabresd.dtsi
> > > > > > b/arch/arm/boot/dts/nxp/imx/imx6qdl-sabresd.dtsi
> > > > > > index ba29720e3f72..fe9046c03ddd 100644
> > > > > > --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-sabresd.dtsi
> > > > > > +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-sabresd.dtsi
> > > > > > @@ -754,11 +754,16 @@ lvds0_out: endpoint {  &pcie {
> > > > > >  	pinctrl-names = "default";
> > > > > >  	pinctrl-0 = <&pinctrl_pcie>;
> > > > > > +	/* This property is deprecated, use reset-gpios from the Root Port
> > > > > > +node. */
> > > > > >  	reset-gpio = <&gpio7 12 GPIO_ACTIVE_LOW>;
> > > > >
> > > > > You should just remove this property.
> > > >
> > > > Hi Manivannan,
> > > >
> > > > Actually I have discussed with Frank about this in V1, Frank suggested add
> > > > comments here instead of removing the old property, just in case the dts
> > > > used by old kernel to avoid function break. Or maybe we can at least keep it
> > > > for some kernel release, then remove it later.
> > > >
> > >
> > > If the new DT breaks the old kernel, then the kernel needs to be upgraded. But
> > > typically, one would update both kernel + DT or just the kernel, not just DT.
> >
> > But it should not impact bisect. Driver and dts is not in branch. If driver
> > applied ahead of dts patch, it should be fine to remove it. But default
> > linux-next can't guaratee the merge order.
> >
>
> There is no need to worry about the bisectability in linux-next. You should only
> worry about mainline. So if you ensure that both the driver and DTS gets into
> the same release or even if the driver gets in first and DTS later, you are
> good.

But the sequency of dts and driver shouldn't affect existed function

For example:

cleanup cpu_addr_fixup() patch, which require dts change first, then change
drivers.

You required keep cpu_addr_fixup() function for a while.

>
> > To avoid merge complex, keep it for a whole, then clean up it later.
>
> There is no complexity. We do this all the time. If you add a comment like this,

It is not true. When I try update dts, rob and other reviewer require keep
back compatiblity. If policy changed, please give me link, so we can
follow latest policy. Actually some other system start direct use kernel's
dts file, like uboot. It is not very strict for new SoC, which still is
developing.

> then you need to remember to delete it later, which unfortunately won't happen
> all the time for us humans :)

It is true. We met similar case many time, like vendor property, fsl,abc,
but common property abc appared. we still are required keep old fsl,abc for
a while.

Frank Li
>
> - Mani
>
> --
> மணிவண்ணன் சதாசிவம்

  reply	other threads:[~2026-02-05 15:30 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-03  1:56 [PATCH V3 00/10] pci-imx6: Add support for parsing the reset property in new Root Port binding Sherry Sun
2026-02-03  1:56 ` [PATCH V3 01/10] dt-bindings: PCI: fsl,imx6q-pcie: Add reset GPIO in Root Port node Sherry Sun
2026-02-03  1:56 ` [PATCH V3 02/10] PCI: imx6: Add support for parsing the reset property in new Root Port binding Sherry Sun
2026-02-03 13:08   ` Manivannan Sadhasivam
2026-02-03 17:43     ` Frank Li
2026-02-04 12:28       ` Manivannan Sadhasivam
2026-02-04 15:25         ` Frank Li
2026-02-05  5:11           ` Manivannan Sadhasivam
2026-02-04  6:33     ` Sherry Sun
2026-02-03  1:56 ` [PATCH V3 03/10] arm: dts: imx6qdl: Add Root Port node and PERST property Sherry Sun
2026-02-03 13:09   ` Manivannan Sadhasivam
2026-02-04  6:44     ` Sherry Sun
2026-02-04 12:33       ` Manivannan Sadhasivam
2026-02-04 15:21         ` Frank Li
2026-02-05  5:16           ` Manivannan Sadhasivam
2026-02-05 15:30             ` Frank Li [this message]
2026-02-03  1:56 ` [PATCH V3 04/10] arm: dts: imx6sx: " Sherry Sun
2026-02-03  1:56 ` [PATCH V3 05/10] arm: dts: imx7d: " Sherry Sun
2026-02-03  1:56 ` [PATCH V3 06/10] arm64: dts: imx8mm: " Sherry Sun
2026-02-03  1:56 ` [PATCH V3 07/10] arm64: dts: imx8mp: " Sherry Sun
2026-02-03  1:56 ` [PATCH V3 08/10] arm64: dts: imx8mq: " Sherry Sun
2026-02-03  1:56 ` [PATCH V3 09/10] arm64: dts: imx8dxl/qm/qxp: " Sherry Sun
2026-02-03  1:56 ` [PATCH V3 10/10] arm64: dts: imx95: " Sherry Sun

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=aYS3mtQlUZGe5j9_@lizhi-Precision-Tower-5810 \
    --to=frank.li@nxp.com \
    --cc=bhelgaas@google.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=hongxing.zhu@nxp.com \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=kwilczynski@kernel.org \
    --cc=l.stach@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=lpieralisi@kernel.org \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=sherry.sun@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