From: Dimitar Dimitrov <dinuxbg@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 01/03 v2] Add inverted clock polarity support for Atmel LCD driver
Date: Tue, 14 Jul 2009 22:09:57 +0300 [thread overview]
Message-ID: <200907142209.57504.dinuxbg@gmail.com> (raw)
This is my second try for Olimex SAM9-L9260/61 board support patches.
I deleted the board ethernet initialization and hopefully will add
it later in a state that can be accepted.
Here follows the first patch.
---
Boards utilizing the Atmel LCD driver can now specify that the LCD clock must
be inverted by defining the macro CONFIG_ATMEL_LCD_INVCLK.
Signed-off-by: Dimitar Dimitrov <dinuxbg@gmail.com>
---
drivers/video/atmel_lcdfb.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c
index db86763..64f8e87 100644
--- a/drivers/video/atmel_lcdfb.c
+++ b/drivers/video/atmel_lcdfb.c
@@ -112,6 +112,9 @@ void lcd_ctrl_init(void *lcdbase)
value |= panel_info.vl_sync;
value |= (panel_info.vl_bpix << 5);
+#if defined(CONFIG_ATMEL_LCD_INVCLK)
+ value |= ATMEL_LCDC_INVCLK_INVERTED;
+#endif
lcdc_writel(panel_info.mmio, ATMEL_LCDC_LCDCON2, value);
/* Vertical timing */
--
1.5.6.1
next reply other threads:[~2009-07-14 19:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-14 19:09 Dimitar Dimitrov [this message]
2009-07-14 19:13 ` [U-Boot] [PATCH 02/03 v2] Add support for Olimex SAM9-L9261 SBC Dimitar Dimitrov
2009-11-22 20:59 ` Wolfgang Denk
2009-07-14 19:16 ` [U-Boot] [PATCH 03/03 v2] Add support for Olimex SAM9-L9260 SBC Dimitar Dimitrov
2009-07-14 19:49 ` [U-Boot] [PATCH 01/03 v2] Add inverted clock polarity support for Atmel LCD driver Wolfgang Denk
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=200907142209.57504.dinuxbg@gmail.com \
--to=dinuxbg@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