Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: ti: k3-j784s4-j742s2-main-common: Fix serdes_ln_ctrl reg-masks
@ 2025-02-27  6:16 Siddharth Vadapalli
  2025-02-28  5:33 ` Siddharth Vadapalli
  0 siblings, 1 reply; 2+ messages in thread
From: Siddharth Vadapalli @ 2025-02-27  6:16 UTC (permalink / raw)
  To: nm, vigneshr, kristo, robh, krzk+dt, conor+dt, j-choudhary,
	rogerq
  Cc: stable, devicetree, linux-kernel, linux-arm-kernel, srk,
	s-vadapalli

Commit under Fixes added the 'idle-states' property for SERDES4 lane muxing
without defining the corresponding register offsets and masks for it in the
'mux-reg-masks' property within the 'serdes_ln_ctrl' node.

Fix this.

Fixes: 7287d423f138 ("arm64: dts: ti: k3-j784s4-main: Add system controller and SERDES lane mux")
Cc: stable@vger.kernel.org
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
---

Hello,

This patch is based on commit
dd83757f6e68 Merge tag 'bcachefs-2025-02-26' of git://evilpiepirate.org/bcachefs
of the master branch of Mainline Linux.

Regards,
Siddharth.

 arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi
index 83bbf94b58d1..a5fefafcba74 100644
--- a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi
@@ -84,7 +84,9 @@ serdes_ln_ctrl: mux-controller@4080 {
 					<0x10 0x3>, <0x14 0x3>, /* SERDES1 lane0/1 select */
 					<0x18 0x3>, <0x1c 0x3>, /* SERDES1 lane2/3 select */
 					<0x20 0x3>, <0x24 0x3>, /* SERDES2 lane0/1 select */
-					<0x28 0x3>, <0x2c 0x3>; /* SERDES2 lane2/3 select */
+					<0x28 0x3>, <0x2c 0x3>, /* SERDES2 lane2/3 select */
+					<0x30 0x3>, <0x34 0x3>, /* SERDES4 lane0/1 select */
+					<0x38 0x3>, <0x3c 0x3>; /* SERDES4 lane2/3 select */
 			idle-states = <J784S4_SERDES0_LANE0_PCIE1_LANE0>,
 				      <J784S4_SERDES0_LANE1_PCIE1_LANE1>,
 				      <J784S4_SERDES0_LANE2_IP3_UNUSED>,
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: ti: k3-j784s4-j742s2-main-common: Fix serdes_ln_ctrl reg-masks
  2025-02-27  6:16 [PATCH] arm64: dts: ti: k3-j784s4-j742s2-main-common: Fix serdes_ln_ctrl reg-masks Siddharth Vadapalli
@ 2025-02-28  5:33 ` Siddharth Vadapalli
  0 siblings, 0 replies; 2+ messages in thread
From: Siddharth Vadapalli @ 2025-02-28  5:33 UTC (permalink / raw)
  To: nm, vigneshr, kristo, robh, krzk+dt, conor+dt, j-choudhary,
	rogerq
  Cc: stable, devicetree, linux-kernel, linux-arm-kernel, srk,
	s-vadapalli

On Thu, Feb 27, 2025 at 11:46:43AM +0530, Siddharth Vadapalli wrote:

Kindly ignore this patch. The register offsets should start from 0x40
since SERDES3 is not present in J784S4. I will post the v2 patch fixing
this.

Regards,
Siddharth.

> Commit under Fixes added the 'idle-states' property for SERDES4 lane muxing
> without defining the corresponding register offsets and masks for it in the
> 'mux-reg-masks' property within the 'serdes_ln_ctrl' node.
> 
> Fix this.
> 
> Fixes: 7287d423f138 ("arm64: dts: ti: k3-j784s4-main: Add system controller and SERDES lane mux")
> Cc: stable@vger.kernel.org
> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
> ---
> 
> Hello,
> 
> This patch is based on commit
> dd83757f6e68 Merge tag 'bcachefs-2025-02-26' of git://evilpiepirate.org/bcachefs
> of the master branch of Mainline Linux.
> 
> Regards,
> Siddharth.
> 
>  arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi
> index 83bbf94b58d1..a5fefafcba74 100644
> --- a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi
> @@ -84,7 +84,9 @@ serdes_ln_ctrl: mux-controller@4080 {
>  					<0x10 0x3>, <0x14 0x3>, /* SERDES1 lane0/1 select */
>  					<0x18 0x3>, <0x1c 0x3>, /* SERDES1 lane2/3 select */
>  					<0x20 0x3>, <0x24 0x3>, /* SERDES2 lane0/1 select */
> -					<0x28 0x3>, <0x2c 0x3>; /* SERDES2 lane2/3 select */
> +					<0x28 0x3>, <0x2c 0x3>, /* SERDES2 lane2/3 select */
> +					<0x30 0x3>, <0x34 0x3>, /* SERDES4 lane0/1 select */
> +					<0x38 0x3>, <0x3c 0x3>; /* SERDES4 lane2/3 select */
>  			idle-states = <J784S4_SERDES0_LANE0_PCIE1_LANE0>,
>  				      <J784S4_SERDES0_LANE1_PCIE1_LANE1>,
>  				      <J784S4_SERDES0_LANE2_IP3_UNUSED>,
> -- 
> 2.34.1
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-28  5:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27  6:16 [PATCH] arm64: dts: ti: k3-j784s4-j742s2-main-common: Fix serdes_ln_ctrl reg-masks Siddharth Vadapalli
2025-02-28  5:33 ` Siddharth Vadapalli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox