Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] ARM/arm64: dts: layerscape: describe the DCFG_DCSR region in the guts node
@ 2026-11-26 15:06 Ioana Ciornei
  2026-11-26 15:06 ` [PATCH 1/5] arm64: dts: ls1046a: describe the DCFG_DCSR space in the guts DT node Ioana Ciornei
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Ioana Ciornei @ 2026-11-26 15:06 UTC (permalink / raw)
  To: Frank Li, Sascha Hauer, imx
  Cc: kernel, Fabio Estevam, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Alexander Stein, linux-arm-kernel, devicetree,
	Vladimir Oltean

On Layerscape SoCs, some RCW fields can be overridden at runtime through
the RCWCRn registers in the DCSR space of the DCFG block. The dcfg DT
nodes currently describe only the CCSR space.

The fsl,layerscape-dcfg binding now accepts an optional second "reg"
entry, named "dcfg_dcsr", for this region. The fsl-guts driver uses it
to apply RCW overrides, for example when the Lynx 10G SerDes PHY driver
changes a lane's protocol. If the region is missing, the driver keeps
working but RCW override is not available.

This series adds the DCFG_DCSR region, with matching reg-names, to the
dcfg node of the LS1046A, LS1088A, LS208xA, LS1043A and LS1021A SoCs.

The guts driver does not yet implement RCW override for LS1043A and
LS1021A. Their regions are added anyway because DT describes the
hardware, and this way it is already in place when driver support
arrives.

Ioana Ciornei (3):
  arm64: dts: ls1046a: describe the DCFG_DCSR space in the guts DT node
  arm64: dts: ls1088a: describe the DCFG_DCSR space in the guts DT node
  arm64: dts: ls208xa: describe the DCFG_DCSR space in the guts DT node

Vladimir Oltean (2):
  arm64: dts: ls1043a: describe the DCFG_DCSR space in the guts DT node
  ARM: dts: ls1021a: describe the DCFG_DCSR space in the guts DT node

 arch/arm/boot/dts/nxp/ls/ls1021a.dtsi          | 4 +++-
 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 4 +++-
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 4 +++-
 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 4 +++-
 arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 4 +++-
 5 files changed, 15 insertions(+), 5 deletions(-)

-- 
2.25.1



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

* [PATCH 1/5] arm64: dts: ls1046a: describe the DCFG_DCSR space in the guts DT node
  2026-11-26 15:06 [PATCH 0/5] ARM/arm64: dts: layerscape: describe the DCFG_DCSR region in the guts node Ioana Ciornei
@ 2026-11-26 15:06 ` Ioana Ciornei
  2026-11-26 15:06 ` [PATCH 2/5] arm64: dts: ls1088a: " Ioana Ciornei
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Ioana Ciornei @ 2026-11-26 15:06 UTC (permalink / raw)
  To: Frank Li, Sascha Hauer, imx
  Cc: kernel, Fabio Estevam, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Alexander Stein, linux-arm-kernel, devicetree,
	Vladimir Oltean

Now that the guts driver supports RCW override through the DCFG_DCSR
register space, describe it in the DT node for the LS1046A SoC.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
index 270a97711a69..ad5590067659 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
@@ -486,7 +486,9 @@ serdes2_lane_d: phy@3 {
 
 		dcfg: dcfg@1ee0000 {
 			compatible = "fsl,ls1046a-dcfg", "syscon";
-			reg = <0x0 0x1ee0000 0x0 0x1000>;
+			reg = <0x0 0x1ee0000 0x0 0x1000>,
+			      <0x0 0x20140000 0x0 0x1000>;
+			reg-names = "dcfg_ccsr", "dcfg_dcsr";
 			big-endian;
 		};
 
-- 
2.25.1



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

* [PATCH 2/5] arm64: dts: ls1088a: describe the DCFG_DCSR space in the guts DT node
  2026-11-26 15:06 [PATCH 0/5] ARM/arm64: dts: layerscape: describe the DCFG_DCSR region in the guts node Ioana Ciornei
  2026-11-26 15:06 ` [PATCH 1/5] arm64: dts: ls1046a: describe the DCFG_DCSR space in the guts DT node Ioana Ciornei
@ 2026-11-26 15:06 ` Ioana Ciornei
  2026-11-26 15:06 ` [PATCH 3/5] arm64: dts: ls208xa: " Ioana Ciornei
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Ioana Ciornei @ 2026-11-26 15:06 UTC (permalink / raw)
  To: Frank Li, Sascha Hauer, imx
  Cc: kernel, Fabio Estevam, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Alexander Stein, linux-arm-kernel, devicetree,
	Vladimir Oltean

Now that the guts driver supports RCW override through the DCFG_DCSR
register space, describe it in the DT node for the LS1088A SoC.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
index e02f34329988..a0ea76a0be86 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
@@ -230,7 +230,9 @@ clockgen: clocking@1300000 {
 
 		dcfg: dcfg@1e00000 {
 			compatible = "fsl,ls1088a-dcfg", "syscon";
-			reg = <0x0 0x1e00000 0x0 0x10000>;
+			reg = <0x0 0x1e00000 0x0 0x10000>,
+			      <0x7 0x00100000 0x0 0x10000>;
+			reg-names = "dcfg_ccsr", "dcfg_dcsr";
 			little-endian;
 		};
 
-- 
2.25.1



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

* [PATCH 3/5] arm64: dts: ls208xa: describe the DCFG_DCSR space in the guts DT node
  2026-11-26 15:06 [PATCH 0/5] ARM/arm64: dts: layerscape: describe the DCFG_DCSR region in the guts node Ioana Ciornei
  2026-11-26 15:06 ` [PATCH 1/5] arm64: dts: ls1046a: describe the DCFG_DCSR space in the guts DT node Ioana Ciornei
  2026-11-26 15:06 ` [PATCH 2/5] arm64: dts: ls1088a: " Ioana Ciornei
@ 2026-11-26 15:06 ` Ioana Ciornei
  2026-11-26 15:06 ` [PATCH 4/5] arm64: dts: ls1043a: " Ioana Ciornei
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Ioana Ciornei @ 2026-11-26 15:06 UTC (permalink / raw)
  To: Frank Li, Sascha Hauer, imx
  Cc: kernel, Fabio Estevam, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Alexander Stein, linux-arm-kernel, devicetree,
	Vladimir Oltean

Now that the guts driver supports RCW override through the DCFG_DCSR
register space, describe it in the DT node for the LS208XA SoC.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
index cc1a64e63ed5..ffadd2ae45d7 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
@@ -268,7 +268,9 @@ clockgen: clocking@1300000 {
 
 		dcfg: dcfg@1e00000 {
 			compatible = "fsl,ls2080a-dcfg", "syscon";
-			reg = <0x0 0x1e00000 0x0 0x10000>;
+			reg = <0x0 0x1e00000 0x0 0x10000>,
+			      <0x7 0x00100000 0x0 0x10000>;
+			reg-names = "dcfg_ccsr", "dcfg_dcsr";
 			little-endian;
 		};
 
-- 
2.25.1



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

* [PATCH 4/5] arm64: dts: ls1043a: describe the DCFG_DCSR space in the guts DT node
  2026-11-26 15:06 [PATCH 0/5] ARM/arm64: dts: layerscape: describe the DCFG_DCSR region in the guts node Ioana Ciornei
                   ` (2 preceding siblings ...)
  2026-11-26 15:06 ` [PATCH 3/5] arm64: dts: ls208xa: " Ioana Ciornei
@ 2026-11-26 15:06 ` Ioana Ciornei
  2026-11-26 15:06 ` [PATCH 5/5] ARM: dts: ls1021a: " Ioana Ciornei
  2026-12-01 17:41 ` (subset) [PATCH 0/5] ARM/arm64: dts: layerscape: describe the DCFG_DCSR region in the guts node Frank.Li
  5 siblings, 0 replies; 8+ messages in thread
From: Ioana Ciornei @ 2026-11-26 15:06 UTC (permalink / raw)
  To: Frank Li, Sascha Hauer, imx
  Cc: kernel, Fabio Estevam, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Alexander Stein, linux-arm-kernel, devicetree,
	Vladimir Oltean

From: Vladimir Oltean <vladimir.oltean@nxp.com>

Describe the DCFG_DCSR region in the DCFG node of the LS1043A SoC as
well, so that the guts driver can make use of it once RCW override
support is added for this SoC.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
index 50d9b03a284a..c5ea5f212be3 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
@@ -399,7 +399,9 @@ sfp: efuse@1e80000 {
 
 		dcfg: dcfg@1ee0000 {
 			compatible = "fsl,ls1043a-dcfg", "syscon";
-			reg = <0x0 0x1ee0000 0x0 0x1000>;
+			reg = <0x0 0x1ee0000 0x0 0x1000>,
+			      <0x0 0x20140000 0x0 0x1000>;
+			reg-names = "dcfg_ccsr", "dcfg_dcsr";
 			big-endian;
 		};
 
-- 
2.25.1



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

* [PATCH 5/5] ARM: dts: ls1021a: describe the DCFG_DCSR space in the guts DT node
  2026-11-26 15:06 [PATCH 0/5] ARM/arm64: dts: layerscape: describe the DCFG_DCSR region in the guts node Ioana Ciornei
                   ` (3 preceding siblings ...)
  2026-11-26 15:06 ` [PATCH 4/5] arm64: dts: ls1043a: " Ioana Ciornei
@ 2026-11-26 15:06 ` Ioana Ciornei
  2026-12-01 17:41 ` (subset) [PATCH 0/5] ARM/arm64: dts: layerscape: describe the DCFG_DCSR region in the guts node Frank.Li
  5 siblings, 0 replies; 8+ messages in thread
From: Ioana Ciornei @ 2026-11-26 15:06 UTC (permalink / raw)
  To: Frank Li, Sascha Hauer, imx
  Cc: kernel, Fabio Estevam, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Alexander Stein, linux-arm-kernel, devicetree,
	Vladimir Oltean

From: Vladimir Oltean <vladimir.oltean@nxp.com>

Describe the DCFG_DCSR region in the DCFG node of the LS1021A SoC as
well, so that the guts driver can make use of it once RCW override
support is added for this SoC.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
---
 arch/arm/boot/dts/nxp/ls/ls1021a.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/nxp/ls/ls1021a.dtsi b/arch/arm/boot/dts/nxp/ls/ls1021a.dtsi
index af518fc08809..d393e9c801da 100644
--- a/arch/arm/boot/dts/nxp/ls/ls1021a.dtsi
+++ b/arch/arm/boot/dts/nxp/ls/ls1021a.dtsi
@@ -137,7 +137,9 @@ sfp: efuse@1e80000 {
 
 		dcfg: dcfg@1ee0000 {
 			compatible = "fsl,ls1021a-dcfg", "syscon";
-			reg = <0x0 0x1ee0000 0x0 0x1000>;
+			reg = <0x0 0x1ee0000 0x0 0x1000>,
+			      <0x0 0x20220000 0x0 0x1000>;
+			reg-names = "dcfg_ccsr", "dcfg_dcsr";
 			big-endian;
 		};
 
-- 
2.25.1



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

* Re: (subset) [PATCH 0/5] ARM/arm64: dts: layerscape: describe the DCFG_DCSR region in the guts node
  2026-11-26 15:06 [PATCH 0/5] ARM/arm64: dts: layerscape: describe the DCFG_DCSR region in the guts node Ioana Ciornei
                   ` (4 preceding siblings ...)
  2026-11-26 15:06 ` [PATCH 5/5] ARM: dts: ls1021a: " Ioana Ciornei
@ 2026-12-01 17:41 ` Frank.Li
       [not found]   ` <u7vt2kjj7iwgfgrdfhisdt2jd45jbbdbzqxc4fmn7bamhtxdoe@2cb6643kance>
  5 siblings, 1 reply; 8+ messages in thread
From: Frank.Li @ 2026-12-01 17:41 UTC (permalink / raw)
  To: Sascha Hauer, imx, Ioana Ciornei
  Cc: Frank Li, kernel, Fabio Estevam, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Alexander Stein, linux-arm-kernel, devicetree,
	Vladimir Oltean

From: Frank Li <Frank.Li@nxp.com>


On Thu, 26 Nov 2026 17:06:27 +0200, Ioana Ciornei wrote:
> On Layerscape SoCs, some RCW fields can be overridden at runtime through
> the RCWCRn registers in the DCSR space of the DCFG block. The dcfg DT
> nodes currently describe only the CCSR space.
> 
> The fsl,layerscape-dcfg binding now accepts an optional second "reg"
> entry, named "dcfg_dcsr", for this region. The fsl-guts driver uses it
> to apply RCW overrides, for example when the Lynx 10G SerDes PHY driver
> changes a lane's protocol. If the region is missing, the driver keeps
> working but RCW override is not available.
> 
> [...]

Applied, thanks!

[1/5] arm64: dts: ls1046a: describe the DCFG_DCSR space in the guts DT node
      commit: 9302bd768e0fe298c01358afffa2894dd1e7f0f6
[2/5] arm64: dts: ls1088a: describe the DCFG_DCSR space in the guts DT node
      commit: b6ac32bdec09e88bd8c9f076d6d74404e1759143
[3/5] arm64: dts: ls208xa: describe the DCFG_DCSR space in the guts DT node
      commit: bd7988d339bb6f92805d6cf665f4ac9d1ff9aabe
[4/5] arm64: dts: ls1043a: describe the DCFG_DCSR space in the guts DT node
      commit: e5548abba85c15d4bba4e692af80103055c27896

Best regards,
-- 
Frank Li <Frank.Li@nxp.com>


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

* Re: (subset) [PATCH 0/5] ARM/arm64: dts: layerscape: describe the DCFG_DCSR region in the guts node
       [not found]   ` <u7vt2kjj7iwgfgrdfhisdt2jd45jbbdbzqxc4fmn7bamhtxdoe@2cb6643kance>
@ 2026-12-02 16:39     ` Frank Li
  0 siblings, 0 replies; 8+ messages in thread
From: Frank Li @ 2026-12-02 16:39 UTC (permalink / raw)
  To: Ioana Ciornei
  Cc: Sascha Hauer, imx, Frank Li, kernel, Fabio Estevam, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Alexander Stein,
	linux-arm-kernel, devicetree, Vladimir Oltean

On Wed, Dec 02, 2026 at 05:08:57PM +0200, Ioana Ciornei wrote:
> On Tue, Dec 01, 2026 at 12:41:48PM -0500, Frank.Li@oss.nxp.com wrote:
> > From: Frank Li <Frank.Li@nxp.com>
> >
> >
> > On Thu, 26 Nov 2026 17:06:27 +0200, Ioana Ciornei wrote:
> > > On Layerscape SoCs, some RCW fields can be overridden at runtime through
> > > the RCWCRn registers in the DCSR space of the DCFG block. The dcfg DT
> > > nodes currently describe only the CCSR space.
> > >
> > > The fsl,layerscape-dcfg binding now accepts an optional second "reg"
> > > entry, named "dcfg_dcsr", for this region. The fsl-guts driver uses it
> > > to apply RCW overrides, for example when the Lynx 10G SerDes PHY driver
> > > changes a lane's protocol. If the region is missing, the driver keeps
> > > working but RCW override is not available.
> > >
> > > [...]
> >
> > Applied, thanks!
> >
> > [1/5] arm64: dts: ls1046a: describe the DCFG_DCSR space in the guts DT node
> >       commit: 9302bd768e0fe298c01358afffa2894dd1e7f0f6
> > [2/5] arm64: dts: ls1088a: describe the DCFG_DCSR space in the guts DT node
> >       commit: b6ac32bdec09e88bd8c9f076d6d74404e1759143
> > [3/5] arm64: dts: ls208xa: describe the DCFG_DCSR space in the guts DT node
> >       commit: bd7988d339bb6f92805d6cf665f4ac9d1ff9aabe
> > [4/5] arm64: dts: ls1043a: describe the DCFG_DCSR space in the guts DT node
> >       commit: e5548abba85c15d4bba4e692af80103055c27896
> >
>
> Thanks for picking these up.
>
> What is the status with 5/5? Will that be taken through a different
> branch or why wasn't it applied at the same time?

Patch 5/5 is for ARM. It will go though imx/dt branch. I already sent PR
for it. Not sure if there are chance to send part 2 for ARM32 dts.

I plan send imx/dt64 part2 PR in this week.

Frank

>
> Ioana


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

end of thread, other threads:[~2026-12-02 16:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 15:06 [PATCH 0/5] ARM/arm64: dts: layerscape: describe the DCFG_DCSR region in the guts node Ioana Ciornei
2026-11-26 15:06 ` [PATCH 1/5] arm64: dts: ls1046a: describe the DCFG_DCSR space in the guts DT node Ioana Ciornei
2026-11-26 15:06 ` [PATCH 2/5] arm64: dts: ls1088a: " Ioana Ciornei
2026-11-26 15:06 ` [PATCH 3/5] arm64: dts: ls208xa: " Ioana Ciornei
2026-11-26 15:06 ` [PATCH 4/5] arm64: dts: ls1043a: " Ioana Ciornei
2026-11-26 15:06 ` [PATCH 5/5] ARM: dts: ls1021a: " Ioana Ciornei
2026-12-01 17:41 ` (subset) [PATCH 0/5] ARM/arm64: dts: layerscape: describe the DCFG_DCSR region in the guts node Frank.Li
     [not found]   ` <u7vt2kjj7iwgfgrdfhisdt2jd45jbbdbzqxc4fmn7bamhtxdoe@2cb6643kance>
2026-12-02 16:39     ` Frank Li

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