All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Li <Frank.li@oss.nxp.com>
To: Stefan Ghetu <stefan.ghetu@nxp.com>
Cc: Shawn Guo <shawnguo@kernel.org>, Frank Li <Frank.Li@nxp.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	Richard Zhu <hongxing.zhu@nxp.com>,
	devicetree@vger.kernel.org, imx@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org, LnxRevLi@nxp.com
Subject: Re: [PATCH 2/3] arm64: dts: imx94: Add fsl,max-link-speed to PCIe EP node
Date: Wed, 2 Dec 2026 11:12:39 -0600	[thread overview]
Message-ID: <axBRh62ujSU4f4ev@SMW015318> (raw)
In-Reply-To: <20261202123806.1212541-3-stefan.ghetu@nxp.com>

On Wed, Dec 02, 2026 at 02:38:05PM +0200, Stefan Ghetu wrote:
> The pci-imx6 driver initializes pci->max_link_speed to 1 and only
> overrides it from the fsl,max-link-speed property. The i.MX94 PCIe EP
> node does not set this property.
>
> During endpoint initialization, dw_pcie_ep_init_registers() calls
> dw_pcie_setup() through dw_pcie_ep_init_non_sticky_registers(), and
> dw_pcie_link_set_max_speed() then programs PCI_EXP_LNKCTL2_TLS and
> PCI_EXP_LNKCAP_SLS to 2.5 GT/s. As a result, the endpoint is limited
> to Gen1.
>
> The RC node of the same controller already sets
> fsl,max-link-speed = <3>. Add the same setting to the pcie0_ep node.
>
> Fixes: 8cd439f177589 ("arm64: dts: imx94: Add pcie0 and pcie0-ep supports")
> Signed-off-by: Stefan Ghetu <stefan.ghetu@nxp.com>
> ---

This should put default value into imx6 pci driver data without duplicate
these information at each dts pcie node.

Frank

  reply	other threads:[~2026-12-02 17:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 12:38 [PATCH 0/3] arm64: dts: imx9x: Add fsl,max-link-speed to PCIe EP nodes Stefan Ghetu
2026-12-02 12:38 ` [PATCH 1/3] arm64: dts: imx95: " Stefan Ghetu
2026-12-02 12:38 ` [PATCH 2/3] arm64: dts: imx94: Add fsl,max-link-speed to PCIe EP node Stefan Ghetu
2026-12-02 17:12   ` Frank Li [this message]
2026-12-02 12:38 ` [PATCH 3/3] arm64: dts: imx943: " Stefan Ghetu

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=axBRh62ujSU4f4ev@SMW015318 \
    --to=frank.li@oss.nxp.com \
    --cc=Frank.Li@nxp.com \
    --cc=LnxRevLi@nxp.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=linux-arm-kernel@lists.infradead.org \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=stefan.ghetu@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.