devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND 1/2] ARM: dts: ls1021a: Add DCU dts node
@ 2015-12-01  8:02 Dongsheng Wang
  2015-12-01  8:02 ` [RESEND 2/2] ARM: dts: ls1021a: Add a TFT LCD panel " Dongsheng Wang
       [not found] ` <1448956977-8930-1-git-send-email-dongsheng.wang-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Dongsheng Wang @ 2015-12-01  8:02 UTC (permalink / raw)
  To: shawnguo
  Cc: Jianwei Wang, devicetree, Xiubo Li, Alison Wang, Yi Meng,
	Wang Dongsheng, robh+dt, linux-arm-kernel

From: Jianwei Wang <jianwei.wang.chn@gmail.com>

Add DCU node, DCU is a display controller of Freescale
named 2D-ACE.

Signed-off-by: Alison Wang <alison.wang@freescale.com>
Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
Signed-off-by: Jianwei Wang <jianwei.wang.chn@gmail.com>
Signed-off-by: Yi Meng <b56799@freescale.com>
Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>

diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 9430a99..f01c98b 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -428,6 +428,16 @@
 				 <&platform_clk 1>;
 		};
 
+		dcu: dcu@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@2d24000 {
 			compatible = "gianfar";
 			device_type = "mdio";
-- 
2.1.0.27.g96db324

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

* [RESEND 2/2] ARM: dts: ls1021a: Add a TFT LCD panel dts node
  2015-12-01  8:02 [RESEND 1/2] ARM: dts: ls1021a: Add DCU dts node Dongsheng Wang
@ 2015-12-01  8:02 ` Dongsheng Wang
       [not found] ` <1448956977-8930-1-git-send-email-dongsheng.wang-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Dongsheng Wang @ 2015-12-01  8:02 UTC (permalink / raw)
  To: shawnguo
  Cc: Jianwei Wang, devicetree, Xiubo Li, Alison Wang, Yi Meng,
	Wang Dongsheng, robh+dt, linux-arm-kernel

From: Jianwei Wang <jianwei.wang.chn@gmail.com>

Add a TFT LCD panel. the TFT LCD panel is WQVGA "480x272",
and the bpp is 24.

Signed-off-by: Alison Wang <alison.wang@freescale.com>
Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
Signed-off-by: Jianwei Wang <jianwei.wang.chn@gmail.com>
Signed-off-by: Yi Meng <b56799@freescale.com>
Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>

diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts
index fbb89d1..fad2e3b 100644
--- a/arch/arm/boot/dts/ls1021a-twr.dts
+++ b/arch/arm/boot/dts/ls1021a-twr.dts
@@ -105,6 +105,17 @@
 			bitclock-master;
 		};
 	};
+
+	panel: panel {
+		compatible = "nec,nl4827hc19-05b";
+	};
+
+};
+
+&dcu {
+	fsl,panel = <&panel>;
+	status = "okay";
+
 };
 
 &dspi1 {
-- 
2.1.0.27.g96db324

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

* Re: [RESEND 1/2] ARM: dts: ls1021a: Add DCU dts node
       [not found] ` <1448956977-8930-1-git-send-email-dongsheng.wang-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
@ 2015-12-02 12:44   ` Shawn Guo
  2015-12-02 13:14     ` Wang Dongsheng
  0 siblings, 1 reply; 4+ messages in thread
From: Shawn Guo @ 2015-12-02 12:44 UTC (permalink / raw)
  To: Dongsheng Wang
  Cc: Jianwei Wang, devicetree-u79uwXL29TY76Z2rM5mHXA, Xiubo Li,
	Alison Wang, Yi Meng, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On Tue, Dec 01, 2015 at 04:02:56PM +0800, Dongsheng Wang wrote:
> From: Jianwei Wang <jianwei.wang.chn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> 
> Add DCU node, DCU is a display controller of Freescale
> named 2D-ACE.
> 
> Signed-off-by: Alison Wang <alison.wang-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> Signed-off-by: Xiubo Li <lixiubo-0p4V/sDNsUmm0O/7XYngnFaTQe2KTcn/@public.gmane.org>
> Signed-off-by: Jianwei Wang <jianwei.wang.chn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Signed-off-by: Yi Meng <b56799-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> Signed-off-by: Wang Dongsheng <dongsheng.wang-KZfg59tc24xl57MIdRCFDg@public.gmane.org>

I have applied the same patches from Meng Yi [1].

Shawn

[1] http://thread.gmane.org/gmane.linux.drivers.devicetree/145580
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* RE: [RESEND 1/2] ARM: dts: ls1021a: Add DCU dts node
  2015-12-02 12:44   ` [RESEND 1/2] ARM: dts: ls1021a: Add DCU " Shawn Guo
@ 2015-12-02 13:14     ` Wang Dongsheng
  0 siblings, 0 replies; 4+ messages in thread
From: Wang Dongsheng @ 2015-12-02 13:14 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Jianwei Wang, devicetree@vger.kernel.org, Xiubo Li, Huan Wang,
	Meng Yi, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org

Hi Shawn,

Thanks.

Regards,
-Dongsheng

> 
> On Tue, Dec 01, 2015 at 04:02:56PM +0800, Dongsheng Wang wrote:
> > From: Jianwei Wang <jianwei.wang.chn@gmail.com>
> >
> > Add DCU node, DCU is a display controller of Freescale named 2D-ACE.
> >
> > Signed-off-by: Alison Wang <alison.wang@freescale.com>
> > Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
> > Signed-off-by: Jianwei Wang <jianwei.wang.chn@gmail.com>
> > Signed-off-by: Yi Meng <b56799@freescale.com>
> > Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
> 
> I have applied the same patches from Meng Yi [1].
> 
> Shawn
> 
> [1] http://thread.gmane.org/gmane.linux.drivers.devicetree/145580

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

end of thread, other threads:[~2015-12-02 13:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-01  8:02 [RESEND 1/2] ARM: dts: ls1021a: Add DCU dts node Dongsheng Wang
2015-12-01  8:02 ` [RESEND 2/2] ARM: dts: ls1021a: Add a TFT LCD panel " Dongsheng Wang
     [not found] ` <1448956977-8930-1-git-send-email-dongsheng.wang-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2015-12-02 12:44   ` [RESEND 1/2] ARM: dts: ls1021a: Add DCU " Shawn Guo
2015-12-02 13:14     ` Wang Dongsheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).