devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v15 1/2] arm:dts:ls1021a: Add DCU dts node
@ 2015-08-27  6:13 Jianwei Wang
  2015-08-27  6:13 ` [PATCH v15 2/2] arm:dts:ls1021a: Add a TFT LCD panel " Jianwei Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jianwei Wang @ 2015-08-27  6:13 UTC (permalink / raw)
  To: devicetree-u79uwXL29TY76Z2rM5mHXA,
	shawn.guo-QSEj5FYQhm4dnm+yROfE0A
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Jianwei Wang,
	Alison Wang, Xiubo Li

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

Signed-off-by: Alison Wang <b18965-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>
---
 arch/arm/boot/dts/ls1021a.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index c70bb27..6d6e3e2 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -383,6 +383,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

--
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 related	[flat|nested] 4+ messages in thread

* [PATCH v15 2/2] arm:dts:ls1021a: Add a TFT LCD panel dts node
  2015-08-27  6:13 [PATCH v15 1/2] arm:dts:ls1021a: Add DCU dts node Jianwei Wang
@ 2015-08-27  6:13 ` Jianwei Wang
  2015-09-30  5:40 ` [PATCH v15 1/2] arm:dts:ls1021a: Add DCU " Shawn Guo
  2015-09-30  5:42 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Jianwei Wang @ 2015-08-27  6:13 UTC (permalink / raw)
  To: devicetree, shawn.guo
  Cc: linux-kernel, linux-arm-kernel, Jianwei Wang, Alison Wang,
	Xiubo Li

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

Signed-off-by: Alison Wang <b18965@freescale.com>
Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
Signed-off-by: Jianwei Wang <jianwei.wang.chn@gmail.com>
---

Changed in V15:
Rename compatible string.

 arch/arm/boot/dts/ls1021a-twr.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts
index a2c591e..99c6aad 100644
--- a/arch/arm/boot/dts/ls1021a-twr.dts
+++ b/arch/arm/boot/dts/ls1021a-twr.dts
@@ -56,6 +56,17 @@
 		enet0_sgmii_phy = &sgmii_phy2;
 		enet1_sgmii_phy = &sgmii_phy0;
 	};
+
+	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: [PATCH v15 1/2] arm:dts:ls1021a: Add DCU dts node
  2015-08-27  6:13 [PATCH v15 1/2] arm:dts:ls1021a: Add DCU dts node Jianwei Wang
  2015-08-27  6:13 ` [PATCH v15 2/2] arm:dts:ls1021a: Add a TFT LCD panel " Jianwei Wang
@ 2015-09-30  5:40 ` Shawn Guo
  2015-09-30  5:42 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2015-09-30  5:40 UTC (permalink / raw)
  To: Jianwei Wang
  Cc: devicetree, shawn.guo, Xiubo Li, Alison Wang, linux-kernel,
	linux-arm-kernel

On Thu, Aug 27, 2015 at 02:13:46PM +0800, Jianwei Wang wrote:
> Add DCU node, DCU is a display controller of Freescale
> named 2D-ACE.
> 
> Signed-off-by: Alison Wang <b18965@freescale.com>
> Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
> Signed-off-by: Jianwei Wang <jianwei.wang.chn@gmail.com>

MAINTAINERS file has been updated for a couple of release cycles.
Please stop using shawn.guo@linaro.org, and resend to
shawnguo@kernel.org instead.

Shawn

> ---
>  arch/arm/boot/dts/ls1021a.dtsi | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
> index c70bb27..6d6e3e2 100644
> --- a/arch/arm/boot/dts/ls1021a.dtsi
> +++ b/arch/arm/boot/dts/ls1021a.dtsi
> @@ -383,6 +383,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
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 

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

* Re: [PATCH v15 1/2] arm:dts:ls1021a: Add DCU dts node
  2015-08-27  6:13 [PATCH v15 1/2] arm:dts:ls1021a: Add DCU dts node Jianwei Wang
  2015-08-27  6:13 ` [PATCH v15 2/2] arm:dts:ls1021a: Add a TFT LCD panel " Jianwei Wang
  2015-09-30  5:40 ` [PATCH v15 1/2] arm:dts:ls1021a: Add DCU " Shawn Guo
@ 2015-09-30  5:42 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2015-09-30  5:42 UTC (permalink / raw)
  To: Jianwei Wang
  Cc: devicetree, shawn.guo, Xiubo Li, Alison Wang, linux-kernel,
	linux-arm-kernel

On Thu, Aug 27, 2015 at 02:13:46PM +0800, Jianwei Wang wrote:
> Add DCU node, DCU is a display controller of Freescale
> named 2D-ACE.
> 
> Signed-off-by: Alison Wang <b18965@freescale.com>
> Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
> Signed-off-by: Jianwei Wang <jianwei.wang.chn@gmail.com>

When you resend, please use "ARM: dts: ls1021a: ..." as subject prefix.

Shawn

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

end of thread, other threads:[~2015-09-30  5:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-27  6:13 [PATCH v15 1/2] arm:dts:ls1021a: Add DCU dts node Jianwei Wang
2015-08-27  6:13 ` [PATCH v15 2/2] arm:dts:ls1021a: Add a TFT LCD panel " Jianwei Wang
2015-09-30  5:40 ` [PATCH v15 1/2] arm:dts:ls1021a: Add DCU " Shawn Guo
2015-09-30  5:42 ` Shawn Guo

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).