aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci
diff options
context:
space:
mode:
authorManjunathappa, Prakash <prakash.pm@ti.com>2012-10-16 00:53:16 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-11-27 04:47:53 -0500
commit3b43ad201dea06be1636e4809278d63837f8d292 (patch)
tree4b730411c4ef58560b06f8183a6128cb6422d6f2 /arch/arm/mach-davinci
parentf772fabdf72aec5ef05988dd82dfd150e58f7aa3 (diff)
da8xx-fb: cleanup LCDC configurations
Configure below LCDC configurations to optimal values, also have an option configure these optional parameters for platform. 1) AC bias configuration: Required only for passive panels 2) Dma_burst_size: 3) FIFO_DMA_DELAY: 4) FIFO threshold: Does not apply for da830 LCDC. Patch is verified for 16bpp and 24bpp configurations on da830, da850 and am335x EVMs. Signed-off-by: Manjunathappa, Prakash <prakash.pm@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r--arch/arm/mach-davinci/devices-da8xx.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c
index bd2f72b414b..fcb30d3ae24 100644
--- a/arch/arm/mach-davinci/devices-da8xx.c
+++ b/arch/arm/mach-davinci/devices-da8xx.c
@@ -518,29 +518,9 @@ void __init da8xx_register_mcasp(int id, struct snd_platform_data *pdata)
518 } 518 }
519} 519}
520 520
521static const struct display_panel disp_panel = {
522 QVGA,
523 16,
524 16,
525 COLOR_ACTIVE,
526};
527
528static struct lcd_ctrl_config lcd_cfg = { 521static struct lcd_ctrl_config lcd_cfg = {
529 &disp_panel, 522 .panel_shade = COLOR_ACTIVE,
530 .ac_bias = 255,
531 .ac_bias_intrpt = 0,
532 .dma_burst_sz = 16,
533 .bpp = 16, 523 .bpp = 16,
534 .fdd = 255,
535 .tft_alt_mode = 0,
536 .stn_565_mode = 0,
537 .mono_8bit_mode = 0,
538 .invert_line_clock = 1,
539 .invert_frm_clock = 1,
540 .sync_edge = 0,
541 .sync_ctrl = 1,
542 .raster_order = 0,
543 .fifo_th = 6,
544}; 524};
545 525
546struct da8xx_lcdc_platform_data sharp_lcd035q3dg01_pdata = { 526struct da8xx_lcdc_platform_data sharp_lcd035q3dg01_pdata = {