Skip to contentSkip to conversation

arm64: dts: ls1088a: Added dcfg node in ls1088a dtsi

PATCH RESEND Superseded Ashish Kumar 2 participants 3 messages Aug 11, 2017 – Aug 14, 2017 1 message not in the archive

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 arm64: dts: ls1088a: Added dcfg node in ls1088a dtsi

Add debug configuration node(DCFG) in dtsi, helps guts driver to print the following information in kernel boot log

[    0.526649] Machine: LS1088A RDB Board
[    0.530430] SoC family: QorIQ LS1088A
[    0.534115] SoC ID: svr:0x87030010, Revision: 1.0
---
 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi |    6 ++++++
 drivers/soc/fsl/guts.c                         |    1 +
 2 files changed, 7 insertions(+), 0 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +6 -0
index c144d06..b5f2372 100644
@@ -156,6 +156,12 @@
 			clocks = <&sysclk>;
 		};
 
+		dcfg: dcfg@1e00000 {
+			compatible = "fsl,ls1088a-dcfg", "syscon";
+			reg = <0x0 0x1e00000 0x0 0x10000>;
+			little-endian;
+		};
+
 		tmu: tmu@1f80000 {
 			compatible = "fsl,qoriq-tmu";
 			reg = <0x0 0x1f80000 0x0 0x10000>;
drivers/soc/fsl/guts.c +1 -0
index 6af7a11..d89a6a8 100644
@@ -213,6 +213,7 @@ static int fsl_guts_remove(struct platform_device *dev)
 	{ .compatible = "fsl,ls1021a-dcfg", },
 	{ .compatible = "fsl,ls1043a-dcfg", },
 	{ .compatible = "fsl,ls2080a-dcfg", },
+	{ .compatible = "fsl,ls1088a-dcfg", },
 	{}
 };
 MODULE_DEVICE_TABLE(of, fsl_guts_of_match);
Signature · 6 lines
1.7.6.GIT

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 1502443177-15479-1-git-send-email-Ashish.Kumar-3arQi8VN3Tc@public.gmane.org

#2 lore raw

PATCH RESEND 1/1 arm64: dts: ls1088: Correction in Board name from "L1088A" to "LS1088A"

---
 arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts +1 -1
index 213abb7..0f6fcda 100644
@@ -49,7 +49,7 @@
 #include "fsl-ls1088a.dtsi"
 
 / {
-	model = "L1088A RDB Board";
+	model = "LS1088A RDB Board";
 	compatible = "fsl,ls1088a-rdb", "fsl,ls1088a";
 };
 
Signature · 6 lines
1.7.6.GIT

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw

PATCH RESEND 1/1 arm64: dts: ls1088a: Added dcfg node in ls1088a dtsi

In reply to Ashish Kumar
Quoted 9 lines · Ashish Kumar

Add debug configuration node(DCFG) in dtsi, helps guts driver to print the following information in kernel boot log

[    0.526649] Machine: LS1088A RDB Board
[    0.530430] SoC family: QorIQ LS1088A
[    0.534115] SoC ID: svr:0x87030010, Revision: 1.0

Why resend?

Quoted 3 lines
---
 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi |    6 ++++++
 drivers/soc/fsl/guts.c                         |    1 +

Do not mix driver code with dts changes. Instead, they should be separate patches going through different subsystem tree and maintainers.

Send me dts patch only after driver counterpart lands on mainline.

Shawn

Quoted 34 lines
 2 files changed, 7 insertions(+), 0 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +6 -0
index c144d06..b5f2372 100644
@@ -156,6 +156,12 @@
 			clocks = <&sysclk>;
 		};
 
+		dcfg: dcfg at 1e00000 {
+			compatible = "fsl,ls1088a-dcfg", "syscon";
+			reg = <0x0 0x1e00000 0x0 0x10000>;
+			little-endian;
+		};
+
 		tmu: tmu at 1f80000 {
 			compatible = "fsl,qoriq-tmu";
 			reg = <0x0 0x1f80000 0x0 0x10000>;
drivers/soc/fsl/guts.c +1 -0
index 6af7a11..d89a6a8 100644
@@ -213,6 +213,7 @@ static int fsl_guts_remove(struct platform_device *dev)
 	{ .compatible = "fsl,ls1021a-dcfg", },
 	{ .compatible = "fsl,ls1043a-dcfg", },
 	{ .compatible = "fsl,ls2080a-dcfg", },
+	{ .compatible = "fsl,ls1088a-dcfg", },
 	{}
 };
 MODULE_DEVICE_TABLE(of, fsl_guts_of_match);
Signature · 1 line
1.7.6.GIT