From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/9] PXA: pxafb: Add support for Sharp LQ038J7DH53
Date: Tue, 10 Aug 2010 06:50:06 +0200 [thread overview]
Message-ID: <1281415810-31363-5-git-send-email-marek.vasut@gmail.com> (raw)
In-Reply-To: <1281415810-31363-1-git-send-email-marek.vasut@gmail.com>
This LCD panel is found in Palm LifeDrive handheld
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
---
arch/arm/cpu/pxa/pxafb.c | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/arch/arm/cpu/pxa/pxafb.c b/arch/arm/cpu/pxa/pxafb.c
index 328fa7a..066f49e 100644
--- a/arch/arm/cpu/pxa/pxafb.c
+++ b/arch/arm/cpu/pxa/pxafb.c
@@ -249,6 +249,40 @@ vidinfo_t panel_info = {
/*----------------------------------------------------------------------*/
+#ifdef CONFIG_LQ038J7DH53
+
+# define LCD_BPP LCD_COLOR8
+
+/* you have to set lccr0 and lccr3 (including pcd) */
+# define REG_LCCR0 0x003008f9
+# define REG_LCCR3 0x03700004
+
+vidinfo_t panel_info = {
+ vl_col: 320,
+ vl_row: 480,
+ vl_width: 320,
+ vl_height: 480,
+ vl_clkp: CONFIG_SYS_HIGH,
+ vl_oep: CONFIG_SYS_LOW,
+ vl_hsp: CONFIG_SYS_LOW,
+ vl_vsp: CONFIG_SYS_LOW,
+ vl_dp: CONFIG_SYS_HIGH,
+ vl_bpix: LCD_BPP,
+ vl_lbw: 0,
+ vl_splt: 1,
+ vl_clor: 1,
+ vl_tft: 1,
+ vl_hpw: 0x04,
+ vl_blw: 0x20,
+ vl_elw: 0x01,
+ vl_vpw: 0x01,
+ vl_bfw: 0x04,
+ vl_efw: 0x01,
+};
+#endif /* CONFIG_ACX517AKN */
+
+/*----------------------------------------------------------------------*/
+
#if LCD_BPP == LCD_COLOR8
void lcd_setcolreg (ushort regno, ushort red, ushort green, ushort blue);
#endif
--
1.7.1
next prev parent reply other threads:[~2010-08-10 4:50 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-10 4:50 [U-Boot] [PATCH 1/9] ARM: Define __raw_readX and __raw_writeX Marek Vasut
2010-08-10 4:50 ` [U-Boot] [PATCH 2/9] PXA: pxafb: Add ACX517AKN support Marek Vasut
2010-08-10 21:45 ` Wolfgang Denk
2010-08-10 23:56 ` Marek Vasut
2010-08-20 9:31 ` [U-Boot] [PATCH 1/8] " Marek Vasut
2010-08-20 9:31 ` [U-Boot] [PATCH 2/8] common: Enable serial for PXA250 Marek Vasut
2010-08-20 9:31 ` [U-Boot] [PATCH 3/8 v2] PXA: Palm Tungsten|C Support Marek Vasut
2010-08-20 9:31 ` [U-Boot] [PATCH 4/8] PXA: pxafb: Add support for Sharp LQ038J7DH53 Marek Vasut
2010-08-20 9:31 ` [U-Boot] [PATCH 5/8] PXA: Add initial Palm LifeDrive support Marek Vasut
2010-08-20 9:31 ` [U-Boot] [PATCH 6/8] PXA: Voipac270 improvements Marek Vasut
2010-09-07 21:13 ` Wolfgang Denk
2010-09-07 21:30 ` Marek Vasut
2010-09-07 22:34 ` Marek Vasut
2010-08-20 9:31 ` [U-Boot] [PATCH 7/8] PXA: Balloon3 board support Marek Vasut
2010-09-07 21:17 ` Wolfgang Denk
2010-09-07 21:27 ` Marek Vasut
2010-08-20 9:31 ` [U-Boot] [PATCH 8/8] PXA: Add missing MAINTAINERS entries Marek Vasut
2010-08-10 4:50 ` [U-Boot] [PATCH 3/9] common: Enable serial for PXA250 Marek Vasut
2010-08-10 4:50 ` [U-Boot] [PATCH 4/9] PXA: Palm Tungsten|C Support Marek Vasut
2010-08-10 4:50 ` Marek Vasut [this message]
2010-08-10 4:50 ` [U-Boot] [PATCH 6/9] PXA: Add initial Palm LifeDrive support Marek Vasut
2010-08-10 4:50 ` [U-Boot] [PATCH 7/9] PXA: Voipac270 improvements Marek Vasut
2010-08-10 4:50 ` [U-Boot] [PATCH 8/9] PXA: Balloon3 board support Marek Vasut
2010-08-10 21:52 ` Wolfgang Denk
2010-08-10 4:50 ` [U-Boot] [PATCH 9/9] PXA: Add missing MAINTAINERS entries Marek Vasut
2010-08-10 21:48 ` Wolfgang Denk
2010-08-10 21:38 ` [U-Boot] [PATCH 1/9] ARM: Define __raw_readX and __raw_writeX Wolfgang Denk
2010-08-10 23:52 ` Marek Vasut
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=1281415810-31363-5-git-send-email-marek.vasut@gmail.com \
--to=marek.vasut@gmail.com \
--cc=u-boot@lists.denx.de \
/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