summaryrefslogtreecommitdiff
path: root/drivers/video/da8xx-fb.h
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2013-08-03 07:22:50 +0200
committerAnatolij Gustschin <agust@denx.de>2013-08-10 10:38:28 +0200
commit765f2f083fefbfc1e8fb4ef5e4f32d254b54ed16 (patch)
treee077d882a5284f7f07b452d27fb412ffde69b2c7 /drivers/video/da8xx-fb.h
parentb424aae4be86c308cfda272cdef337735276c556 (diff)
downloadu-boot-imx-765f2f083fefbfc1e8fb4ef5e4f32d254b54ed16.zip
u-boot-imx-765f2f083fefbfc1e8fb4ef5e4f32d254b54ed16.tar.gz
u-boot-imx-765f2f083fefbfc1e8fb4ef5e4f32d254b54ed16.tar.bz2
video, da8xx-fb: changes for am335x usage
to use this driver also on am335x based boards, the following changes are made: - struct lcd_ctrl_config lcd_cfg is now configurable through board code - controller base is configurable through define DA8XX_LCD_CNTL_BASE. To be compatible with older da8xx based boards: If this define is missing, the DAVINCI_LCD_CNTL_BASE is used - Determine LCD IP Version, and make the driver working on lcd revision register values: Version 1: 0x4C100102 Version 2: 0x4F200800 0x4F201000 Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Tom Rini <trini@ti.com> Acked-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers/video/da8xx-fb.h')
-rw-r--r--drivers/video/da8xx-fb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/video/da8xx-fb.h b/drivers/video/da8xx-fb.h
index f48fdfd..6447a40 100644
--- a/drivers/video/da8xx-fb.h
+++ b/drivers/video/da8xx-fb.h
@@ -109,6 +109,8 @@ struct lcd_sync_arg {
int pulse_width;
};
-void da8xx_video_init(const struct da8xx_panel *panel, int bits_pixel);
+void da8xx_video_init(const struct da8xx_panel *panel,
+ const struct lcd_ctrl_config *lcd_cfg,
+ int bits_pixel);
#endif /* ifndef DA8XX_FB_H */