From: Arun C <arunedarath@mistralsolutions.com>
To: "Syed Mohammed, Khasim" <khasim@ti.com>, linux-omap@vger.kernel.org
Subject: RE: Problem with configuring the LCD in VGA mode
Date: Mon, 10 Mar 2008 16:12:45 +0530 [thread overview]
Message-ID: <1205145765.3632.23.camel@localhost.localdomain> (raw)
In-Reply-To: <7EAD1AEEA7621C45899FE99123E124A0017572F9@dbde01.ent.ti.com>
Hi,
Thanks Syed Khasim for the reply,
> For VGA LCD on 3430SDP we have configured DSS for
> left_margin = 79, /* pixclocks */
> right_margin = 89, /* pixclocks */
> upper_margin = 1, /* line clocks */
> lower_margin = 0, /* line clocks */
> hsync_len = 3, /* pixclocks */
> vsync_len = 2, /* line clocks */
> sync = 1, /* hsync & vsync polarity */
> acb = 0x28, /* AC-bias pin frequency */
> ipc = 1, /* Invert pixel clock */
> onoff = 1; /* HSYNC/VSYNC Pixel clk Control*/
>
I tried with the above values and i am still getting irq errors(gfx
underflow).
The timings corresponding to above values are given below
mode "480x640-49"
# D: 20.600 MHz, H: 31.644 kHz, V: 49.213 Hz
geometry 480 640 480 640 16
timings 48543 89 79 0 1 3 2
accel false
rgba 5/11,6/5,5/0,0/0
endmode
DSS1fclk is at 82.5 Mhz and my prcm settings is PRCM 3 ( Clocking rate
(Crystal/DPLL/MPU): 13.0/660/330 MHz).
That means my dss1Iclk is 110Mhz (L3 is also 110Mhz) is this making any
problem??
> > As with these settings my pixel clock is set to 18.3Mhz and LCD comes up
> > with the linux logo.
> >
> What is the pixel clock required by LCD? Make your FCLK 4 times the pixel clock.
My lcd datasheet says minimum 23 MHz and maximum 26 MHz. But now my
pixel clock is 20Mhz and FCLK is 82.5 (82.5 > 20*4). Is this enough??
> The FIFO settings needs to be adjusted as well, the difference between upper and lower threshold can be made equal to burst size. And keep the high threshold to 0xff.
>
This is matching in my case( burst = 16 X 32 , high= 0xFF ,low =0xC0)
> > If i keep DSS1fclk=55Mhz and pixel_clock=5000 it works without any
> > problem but the vfreq( vertical refresh rate) is very too low for
> > decent viewing in VGA mode.
> >
> 5000?
Yes in the git kernel this 5000 is multiplied by 1000 for setting pixel
clock.
Regards,
Arun c
-------------------------------------------------------DISCLAIMER------------------------------------------------------
The information transmitted herewith is confidential and proprietary information intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.
--------------------------------------------------------------------------------------------------------------------------------
Please do not print this email unless it is absolutely necessary. Spread environmental awareness.
next prev parent reply other threads:[~2008-03-10 10:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-08 10:46 Problem with configuring the LCD in VGA mode Arun C
2008-03-10 8:12 ` Syed Mohammed, Khasim
2008-03-10 10:42 ` Arun C [this message]
2008-03-10 12:43 ` Syed Mohammed, Khasim
2008-03-10 13:20 ` Arun C
2008-03-10 15:16 ` Syed Mohammed, Khasim
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=1205145765.3632.23.camel@localhost.localdomain \
--to=arunedarath@mistralsolutions.com \
--cc=khasim@ti.com \
--cc=linux-omap@vger.kernel.org \
/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