From patchwork Mon Nov 24 10:20:54 2014
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Xiubo Li
X-Patchwork-Id: 5364571
Return-Path:
X-Original-To: patchwork-linux-arm@patchwork.kernel.org
Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org
Received: from mail.kernel.org (mail.kernel.org [198.145.19.201])
by patchwork1.web.kernel.org (Postfix) with ESMTP id D1C0C9F319
for ;
Mon, 24 Nov 2014 10:26:03 +0000 (UTC)
Received: from mail.kernel.org (localhost [127.0.0.1])
by mail.kernel.org (Postfix) with ESMTP id 1F9952038C
for ;
Mon, 24 Nov 2014 10:26:03 +0000 (UTC)
Received: from bombadil.infradead.org (bombadil.infradead.org
[198.137.202.9])
(using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mail.kernel.org (Postfix) with ESMTPS id 4A3D520386
for ;
Mon, 24 Nov 2014 10:26:02 +0000 (UTC)
Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux))
id 1Xsqo7-0000Zc-Fz; Mon, 24 Nov 2014 10:23:47 +0000
Received: from mail-by2on0148.outbound.protection.outlook.com
([207.46.100.148] helo=na01-by2-obe.outbound.protection.outlook.com)
by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat
Linux)) id 1XsqnB-0008VB-Hd
for linux-arm-kernel@lists.infradead.org;
Mon, 24 Nov 2014 10:22:50 +0000
Received: from DM2PR03CA0003.namprd03.prod.outlook.com (10.141.96.13) by
DM2PR0301MB0623.namprd03.prod.outlook.com (25.160.95.27) with
Microsoft SMTP
Server (TLS) id 15.1.26.15; Mon, 24 Nov 2014 10:22:27 +0000
Received: from BY2FFO11FD034.protection.gbl (2a01:111:f400:7c0c::120) by
DM2PR03CA0003.outlook.office365.com (2a01:111:e400:2428::13) with
Microsoft SMTP Server (TLS) id 15.1.26.15 via Frontend Transport;
Mon, 24 Nov 2014 10:22:26 +0000
Received: from tx30smr01.am.freescale.net (192.88.168.50) by
BY2FFO11FD034.mail.protection.outlook.com (10.1.14.219) with
Microsoft SMTP Server (TLS) id 15.1.6.13 via Frontend Transport;
Mon, 24 Nov 2014 10:22:26 +0000
Received: from titan.ap.freescale.net ([10.192.208.233])
by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id
sAOAM8XJ025356; Mon, 24 Nov 2014 03:22:23 -0700
From: Xiubo Li
To: ,
Subject: [PATCH 4/4] ARM: ls1021a: dts: Add and enable dt node for dcfb.
Date: Mon, 24 Nov 2014 18:20:54 +0800
Message-ID: <1416824454-28156-5-git-send-email-Li.Xiubo@freescale.com>
X-Mailer: git-send-email 2.1.0.27.g96db324
In-Reply-To: <1416824454-28156-1-git-send-email-Li.Xiubo@freescale.com>
References: <1416824454-28156-1-git-send-email-Li.Xiubo@freescale.com>
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI;
SFV:NSPM;
SFS:(10019020)(6009001)(189002)(199003)(92566001)(92726001)(120916001)(20776003)(50986999)(47776003)(64706001)(87286001)(46102003)(86362001)(76176999)(87936001)(84676001)(68736004)(50466002)(48376002)(104166001)(36756003)(44976005)(19580395003)(19580405001)(89996001)(6806004)(102836001)(88136002)(106466001)(105606002)(97736003)(31966008)(95666004)(104016003)(4396001)(50226001)(21056001)(93916002)(99396003)(229853001)(62966003)(107046002)(77156002);
DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0301MB0623;
H:tx30smr01.am.freescale.net;
FPR:; SPF:Fail; MLV:sfv; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en;
MIME-Version: 1.0
X-Microsoft-Antispam: UriScan:;
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB0623;
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:;
SRVR:DM2PR0301MB0623;
X-Forefront-PRVS: 040513D301
Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not
designate 192.88.168.50 as permitted sender)
receiver=protection.outlook.com;
client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net;
Authentication-Results: spf=fail (sender IP is 192.88.168.50)
smtp.mailfrom=Li.Xiubo@freescale.com;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:;
SRVR:DM2PR0301MB0623;
X-OriginatorOrg: freescale.com
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20141124_022249_701053_ACEB47C6
X-CRM114-Status: UNSURE ( 5.22 )
X-CRM114-Notice: Please train this message.
X-Spam-Score: -0.0 (/)
Cc: Xiubo Li , linux-fbdev@vger.kernel.org,
shawn.guo@linaro.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
X-BeenThere: linux-arm-kernel@lists.infradead.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id:
List-Unsubscribe:
,
List-Archive:
List-Post:
List-Help:
List-Subscribe:
,
Sender: "linux-arm-kernel"
Errors-To:
linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW,
T_RP_MATCHES_RCVD,
UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org
X-Virus-Scanned: ClamAV using ClamSMTP
On LS1021A TWR board, the TFT LCD panel is WQVGA "480x272", and
the bpp is 24.
Signed-off-by: Xiubo Li
---
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..3602286 100644
--- a/arch/arm/boot/dts/ls1021a-twr.dts
+++ b/arch/arm/boot/dts/ls1021a-twr.dts
@@ -58,6 +58,32 @@
};
};
+&dcfb {
+ 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";