Devicetree
 help / color / mirror / Atom feed
From: Siddharth Vadapalli <s-vadapalli@ti.com>
To: Jared McArthur <j-mcarthur@ti.com>
Cc: Conor Dooley <conor+dt@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Rob Herring <robh@kernel.org>, Tero Kristo <kristo@kernel.org>,
	Vignesh Raghavendra <vigneshr@ti.com>, Nishanth Menon <nm@ti.com>,
	<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>, <s-vadapalli@ti.com>
Subject: Re: [PATCH 1/1] arm64: dts: ti: k3-j784s4-j742s2-evm-common: Set ACSPCIe refclk to MAIN_PLL2_HSDIV4 for pcie1
Date: Mon, 7 Sep 2026 10:24:41 +0530	[thread overview]
Message-ID: <9ad18c6d-979c-49ad-a96b-c835ea2188f3@ti.com> (raw)
In-Reply-To: <20260828195140.3476062-1-j-mcarthur@ti.com>

On 29/08/26 01:21, Jared McArthur wrote:
> The ACSPCIe buffers provide the PCIe refclk for external
> devices. The ACSPCIe reference clock is muxable between multiple
> sources: SERDESx_REF_DER_OUT_CLK, MAIN_PLL2_HSDIV4_CLKOUT, and
> SERDESx_REF_OUT_CLK [0]. On reset, the refclk is set to the
> SERDESx_REF_DER_OUT_CLK. In the J742S2 and J784S4, "the SerDes PCIe
> Reference Clock Output will be temporarily disabled when changing Data
> Rates to or from 8.0 GT/s in Derived Refclk mode". Some external PCIe
> devices cannot tolerate the reference clock being disabled and will
> therefore fail to link.
> 
> This advisory is described in more detail as: i2242 of the J784S4
> Silicon Revision 1.0 (Rev. B) document [1].
> 
> The refclk for devices connected to PCIe1 is provided by the ACSPCIe
> buffers in the J742S2XH01EVM [2] and J784S4XEVM [3]. Work around
> the advisory by setting the ACSPCIe reference clock source to
> MAIN_PLL2_HSDIV4_CLKOUT. Use the TI SCI clock controller to assign the
> clock's source [4].
> 
> [0] https://www.ti.com/lit/zip/spruj52
> [1] https://www.ti.com/lit/er/sprz536b/sprz536b.pdf
> [2] https://www.ti.com/lit/zip/SPAC001
> [3] https://www.ti.com/lit/zip/SPRR458
> [4] https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/j784s4/clocks.html
> 
> Signed-off-by: Jared McArthur <j-mcarthur@ti.com>

Since this seems to be a 'Fix', adding a 'Fixes tag' and copying 
'stable@vger.kernel.org' will get the fix backported to all LTS kernels.

Rest of the patch however looks good to me.

Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>

Regards,
Siddharth.

> ---
>   arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi
> index ff3a85cbc524a..7c085663c8880 100644
> --- a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi
> @@ -1206,6 +1206,8 @@ &pcie1_rc {
>   	status = "okay";
>   	clocks = <&k3_clks 333 0>, <&serdes0 CDNS_TORRENT_REFCLK_DRIVER>;
>   	clock-names = "fck", "pcie_refclk";
> +	assigned-clocks = <&k3_clks 415 0>;
> +	assigned-clock-parents = <&k3_clks 415 2>;
>   	num-lanes = <2>;
>   	reset-gpios = <&exp1 2 GPIO_ACTIVE_HIGH>;
>   	phys = <&serdes0_pcie1_link>;


  reply	other threads:[~2026-09-07  4:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-28 19:51 [PATCH 1/1] arm64: dts: ti: k3-j784s4-j742s2-evm-common: Set ACSPCIe refclk to MAIN_PLL2_HSDIV4 for pcie1 Jared McArthur
2026-09-07  4:54 ` Siddharth Vadapalli [this message]
2026-09-08 19:01   ` Jared McArthur

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=9ad18c6d-979c-49ad-a96b-c835ea2188f3@ti.com \
    --to=s-vadapalli@ti.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=j-mcarthur@ti.com \
    --cc=kristo@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=robh@kernel.org \
    --cc=vigneshr@ti.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