]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: Taal: remove external backlight support
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 9 Aug 2011 08:39:27 +0000 (11:39 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Sep 2011 13:17:27 +0000 (16:17 +0300)
commit184c90fe9cbcb2d9c063efc243bd5832e67c64fc
tree5dad98ae17dcd06eb56df2599232b3b2eeb9df77
parentb41ed107dc30ba3cff183b42d086e7d66b59ce5d
OMAPDSS: Taal: remove external backlight support

Taal panel driver supports two kinds of backlight control: 1) using DSI
commands sent to the panel to control the backlight, 2) calling function
pointers going to the board file to control the backlight.

The second option is a bit hacky, and will no longer be needed when the
PWM driver supports the backlight features. After that we can use the
standard PWM backlight driver.

This patch removes the second backlight control mechanism, and adds a
boolean field, use_dsi_backlight, to nokia_dsi_panel_data which the
board file can use to inform whether the panel driver should use DSI
commands to control the backlight.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/displays/panel-taal.c
include/video/omap-panel-nokia-dsi.h