Skip to contentSkip to conversation

arm64: dts: updated sata node on ls1012a platform

PATCH New Yuantian Tang 2 participants 3 messages Mar 14, 2017 – Mar 15, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: updated sata node on ls1012a platform

Updated sata node to add ecc register address and dma coherence property.
Enable sata on ls1012a platforms as well.

---
 arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts | 4 ++++
 arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts  | 4 ++++
 arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts  | 4 ++++
 arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi     | 5 ++++-
 4 files changed, 16 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts +4 -0
index a619f64..17fae81 100644
@@ -113,3 +113,7 @@
 &sai2 {
 	status = "okay";
 };
+
+&sata {
+	status = "okay";
+};
arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts +4 -0
index 14a67f1..e2a93d5 100644
@@ -126,3 +126,7 @@
 &sai2 {
 	status = "okay";
 };
+
+&sata {
+	status = "okay";
+};
arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts +4 -0
index 62c5c71..ed77f6b 100644
@@ -57,3 +57,7 @@
 &i2c0 {
 	status = "okay";
 };
+
+&sata {
+	status = "okay";
+};
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +4 -1
index d9d9b0f..65939bd 100644
@@ -314,9 +314,12 @@
 
 		sata: sata at 3200000 {
 			compatible = "fsl,ls1012a-ahci", "fsl,ls1043a-ahci";
-			reg = <0x0 0x3200000 0x0 0x10000>;
+			reg = <0x0 0x3200000 0x0 0x10000>,
+				<0x0 0x20140520 0x0 0x4>;
+			reg-names = "ahci", "sata-ecc";
 			interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&clockgen 4 0>;
+			dma-coherent;
 			status = "disabled";
 		};
 	};
Signature · 1 line
2.1.0.27.g96db324
Applied
#1 lore raw

PATCH 1/1 arm64: dts: updated sata node on ls1012a platform

Quoted 5 lines · Yuantian Tang

Updated sata node to add ecc register address and dma coherence property.
Enable sata on ls1012a platforms as well.

Applied, thanks.

A side note: we usually use present rather than past tense in patch subject.

Shawn

author
#2 lore raw

PATCH 1/1 arm64: dts: updated sata node on ls1012a platform

Quoted 16 lines

-----Original Message-----
From: Shawn Guo [mailto:shawnguo at kernel.org]
Sent: Tuesday, March 14, 2017 4:16 PM
To: Andy Tang
Cc: mark.rutland at arm.com; devicetree at vger.kernel.org; catalin.marinas at arm.com; will.deacon at arm.com; robh+dt at kernel.org; linux-arm-kernel at lists.infradead.org
Subject: Re: [PATCH] arm64: dts: updated sata node on ls1012a platform

Quoted 4 lines · Yuantian Tang

Updated sata node to add ecc register address and dma coherence property.
Enable sata on ls1012a platforms as well.

Quoted 6 lines
Quoted 1 line

Applied, thanks.

A side note: we usually use present rather than past tense in patch subject.

Point taken, thanks,

Regards,
Yuantian

Quoted 1 line

Shawn