Skip to contentSkip to conversation

ARM: dts: ls1021a: Add DCU dts node.

PATCH In review Meng Yi 2 participants 5 messages Nov 25, 2015 – Dec 2, 2015 Device tree bindings

lore
Share & tools
lore

Meng Yi

author
#0 lore raw

PATCH 1/2 ARM: dts: ls1021a: Add DCU dts node.

---
 arch/arm/boot/dts/ls1021a.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/ls1021a.dtsi +10 -0
index 9430a99..f01c98b 100644
@@ -428,6 +428,16 @@
 				 <&platform_clk 1>;
 		};
 
+		dcu: dcu at 2ce0000 {
+			compatible = "fsl,ls1021a-dcu";
+			reg = <0x0 0x2ce0000 0x0 0x10000>;
+			interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&platform_clk 0>;
+			clock-names = "dcu";
+			big-endian;
+			status = "disabled";
+		};
+
 		mdio0: mdio at 2d24000 {
 			compatible = "gianfar";
 			device_type = "mdio";
Signature · 1 line
2.1.0.27.g96db324
author
#1 lore raw

PATCH 2/2 ARM: dts: ls1021a: Add a TFT LCD panel.

---
 arch/arm/boot/dts/ls1021a-twr.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm/boot/dts/ls1021a-twr.dts +11 -0
index fbb89d1..fad2e3b 100644
@@ -105,6 +105,17 @@
 			bitclock-master;
 		};
 	};
+
+	panel: panel {
+		compatible = "nec,nl4827hc19-05b";
+	};
+
+};
+
+&dcu {
+	fsl,panel = <&panel>;
+	status = "okay";
+
 };
 
 &dspi1 {
Signature · 1 line
2.1.0.27.g96db324
#2 lore raw

Re: [PATCH 2/2] ARM: dts: ls1021a: Add a TFT LCD panel.

Quoted 12 lines · Meng Yi
---
 arch/arm/boot/dts/ls1021a-twr.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm/boot/dts/ls1021a-twr.dts +0 -0
index fbb89d1..fad2e3b 100644

arch/arm/boot/dts/ls1021a-twr.dts line 112

Quoted 8 lines
arch/arm/boot/dts/ls1021a-twr.dts +5 -0
@@ -105,6 +105,17 @@
 			bitclock-master;
 		};
 	};
+
+	panel: panel {
+		compatible = "nec,nl4827hc19-05b";
+	};
+

This new line shouldn't be needed.

arch/arm/boot/dts/ls1021a-twr.dts line 118

Quoted 6 lines
arch/arm/boot/dts/ls1021a-twr.dts +6 -0
+};
+
+&dcu {
+	fsl,panel = <&panel>;
+	status = "okay";
+

Ditto

I fixed them up and applied the both patches.

Shawn

Quoted 12 lines
arch/arm/boot/dts/ls1021a-twr.dts +0 -0
 };
 
 &dspi1 {
Signature · 7 lines
2.1.0.27.g96db324


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#3 lore raw
In reply to Meng Yi
Quoted 3 lines · Meng Yi

Forgot to mention that you missed adding your own SoB. Added when applying.

Shawn

Quoted 34 lines
---
 arch/arm/boot/dts/ls1021a.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/ls1021a.dtsi +10 -0
index 9430a99..f01c98b 100644
@@ -428,6 +428,16 @@
 				 <&platform_clk 1>;
 		};
 
+		dcu: dcu at 2ce0000 {
+			compatible = "fsl,ls1021a-dcu";
+			reg = <0x0 0x2ce0000 0x0 0x10000>;
+			interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&platform_clk 0>;
+			clock-names = "dcu";
+			big-endian;
+			status = "disabled";
+		};
+
 		mdio0: mdio at 2d24000 {
 			compatible = "gianfar";
 			device_type = "mdio";
Signature · 7 lines
2.1.0.27.g96db324


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author
#4 lore raw

Thanks A lot!

Regards,

Yi Meng

________________________________________
???: Shawn Guo <[email protected]>
????: 2015?12?2? 20:40
???: Yi Meng-B56799
??: Jianwei Wang; devicetree at vger.kernel.org; Xiubo Li; Wang Huan-B18965; linux-kernel at vger.kernel.org; linux-arm-kernel at lists.infradead.org ??: Re: [PATCH 1/2] ARM: dts: ls1021a: Add DCU dts node.

Quoted 3 lines · Meng Yi

Forgot to mention that you missed adding your own SoB. Added when applying.

Shawn

Quoted 34 lines
---
 arch/arm/boot/dts/ls1021a.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/ls1021a.dtsi +10 -1
index 9430a99..f01c98b 100644
@@ -428,6 +428,16 @@
                               <&platform_clk 1>;
              };
 
+             dcu: dcu at 2ce0000 {
+                     compatible = "fsl,ls1021a-dcu";
+                     reg = <0x0 0x2ce0000 0x0 0x10000>;
+                     interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
+                     clocks = <&platform_clk 0>;
+                     clock-names = "dcu";
+                     big-endian;
+                     status = "disabled";
+             };
+
              mdio0: mdio at 2d24000 {
                      compatible = "gianfar";
                      device_type = "mdio";
--

2.1.0.27.g96db324

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel