video, da8xx-fb: changes for am335x usage
authorHeiko Schocher <hs@denx.de>
Sat, 3 Aug 2013 05:22:50 +0000 (07:22 +0200)
committerAnatolij Gustschin <agust@denx.de>
Sat, 10 Aug 2013 08:38:28 +0000 (10:38 +0200)
commit765f2f083fefbfc1e8fb4ef5e4f32d254b54ed16
treee077d882a5284f7f07b452d27fb412ffde69b2c7
parentb424aae4be86c308cfda272cdef337735276c556
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>
board/davinci/ea20/ea20.c
drivers/video/da8xx-fb.c
drivers/video/da8xx-fb.h