Programming the Sharp LQ043T3DX02 (PSP Display)

186 views
Skip to first unread message

rubik...@googlemail.com

unread,
May 13, 2009, 3:30:32 PM5/13/09
to Beagle Board
Hello,

Can someone tell me what i to do in the software part of programming
an TFT-LCD?
What i should add/change in kernel.

I have found a configuration for an other linux-controller(AVR32):

static struct fb_videomode __initdata lcd_modes[] = {
{
.name = "LCD",
.refresh = 25,
.xres = 480, .yres = 272,
.pixclock = KHZ2PICOS(9072),
.left_margin = 2, .right_margin = 2,
.upper_margin = 2, .lower_margin = 2,
.hsync_len = 41, .vsync_len = 10,
.sync = 0,
.vmode = FB_VMODE_NONINTERLACED,
}
};

static struct fb_monspecs __initdata xmedia_default_monspecs = {
.manufacturer = "BWA",
.monitor = "SHARP LQ043",
.modedb = lcd_modes,
.modedb_len = ARRAY_SIZE(lcd_modes),
.hfmin = 19948,
.hfmax = 31478,
.vfmin = 25,
.vfmax = 67,
.dclkmax = 28330000,
};

static struct atmel_lcdfb_info __initdata xmedia_lcdc_data = {
.default_bpp = 24,
.default_dmacon = ATMEL_LCDC_DMAEN | ATMEL_LCDC_DMA2DEN,
.default_lcdcon2 = (ATMEL_LCDC_DISTYPE_TFT
| ATMEL_LCDC_CLKMOD_ALWAYSACTIVE
| ATMEL_LCDC_MEMOR_BIG),
.default_monspecs = &xmedia_default_monspecs,
.guard_time = 2,
};
But where are the setting in the beagle board?

Regards

Michael

Viral Sachde

unread,
May 14, 2009, 3:04:00 AM5/14/09
to beagl...@googlegroups.com

Hi Michael,
I would suggest you to look into
linux-#.#.#/drivers/video/omap/omapfb_main.c or omapfb.c
You can refer this patch
http://git.mansr.com/?p=linux-omap;a=commitdiff;h=80fe5350fcb8feeae2db01b0173c39077b656ecf

rgrds, Viral

rubik...@googlemail.com

unread,
May 14, 2009, 8:21:06 AM5/14/09
to Beagle Board
It means, when i add the config of the PSP-LCD to the config in
omapfb_main.c then
it should work?

On 14 Mai, 09:04, Viral Sachde <vi...@allaboutif.com> wrote:
> On Thu, May 14, 2009 at 1:00 AM, rubiktu...@googlemail.com
> You can refer this patchhttp://git.mansr.com/?p=linux-omap;a=commitdiff;h=80fe5350fcb8feeae2d...
>
> rgrds, Viral
Reply all
Reply to author
Forward
0 new messages