mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jianwei Wang <b52261@freescale.com>
To: <airlied@linux.ie>, <dri-devel@lists.freedesktop.org>,
	<daniel.vetter@ffwll.ch>, <stefan@agner.ch>,
	<scottwood@freescale.com>
Cc: <linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>, <Jason.Jin@freescale.com>,
	Jianwei Wang <b52261@freescale.com>,
	Alison Wang <b18965@freescale.com>,
	Xiubo Li <lixiubo@cmss.chinamobile.com>
Subject: [PATCH v4 4/4] arm/dts/ls1021a: Add a TFT LCD panel dts node for DCU
Date: Fri, 3 Apr 2015 17:35:59 +0800	[thread overview]
Message-ID: <1428053759-3129-5-git-send-email-b52261@freescale.com> (raw)
In-Reply-To: <1428053759-3129-1-git-send-email-b52261@freescale.com>

Add a required display-timings node for the 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 <b52261@freescale.com>
---
 arch/arm/boot/dts/ls1021a-twr.dts | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts
index a2c591e..4780b11 100644
--- a/arch/arm/boot/dts/ls1021a-twr.dts
+++ b/arch/arm/boot/dts/ls1021a-twr.dts
@@ -58,6 +58,32 @@
 	};
 };
 
+&dcu {
+	display = <&display>;
+	status = "okay";
+
+	display: display@0 {
+		bits-per-pixel = <24>;
+
+		display-timings {
+			native-mode = <&timing0>;
+			timing0: nl4827hc19 {
+				clock-frequency = <10870000>;
+				hactive = <480>;
+				vactive = <272>;
+				hback-porch = <2>;
+				hfront-porch = <2>;
+				vback-porch = <2>;
+				vfront-porch = <2>;
+				hsync-len = <41>;
+				vsync-len = <4>;
+				hsync-active = <1>;
+				vsync-active = <1>;
+			};
+		};
+	};
+};
+
 &dspi1 {
 	bus-num = <0>;
 	status = "okay";
-- 
2.1.0.27.g96db324


      parent reply	other threads:[~2015-04-03  9:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-03  9:35 [PATCH v4 0/4] drm/layerscape: Add Freescale DCU DRM driver Jianwei Wang
2015-04-03  9:35 ` [PATCH v4 1/4] " Jianwei Wang
2015-04-03  9:35 ` [PATCH v4 2/4] arm/layerscape/ls1021a: DCU pixel clock control Jianwei Wang
2015-04-03  9:35 ` [PATCH v4 3/4] arm/dts/ls1021a: Add DCU dts node Jianwei Wang
2015-04-03  9:35 ` Jianwei Wang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1428053759-3129-5-git-send-email-b52261@freescale.com \
    --to=b52261@freescale.com \
    --cc=Jason.Jin@freescale.com \
    --cc=airlied@linux.ie \
    --cc=b18965@freescale.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lixiubo@cmss.chinamobile.com \
    --cc=scottwood@freescale.com \
    --cc=stefan@agner.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®