omapfb: lcd_ams_delta: add support for contrast control
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Fri, 11 Dec 2009 13:21:46 +0000 (13:21 +0000)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>
Fri, 12 Feb 2010 10:46:07 +0000 (12:46 +0200)
commite721032785b72afbc3da14c5525ca570bc2ed108
tree0830ae37ea08a1902a0efc7a8b9473cff6674d85
parent3e9ff04408483b7972240cf433c7fb4b6b88cf0a
omapfb: lcd_ams_delta: add support for contrast control

The patch extends the Amstrad Delta LCD panel driver with optional support for
changing contrast using standard LCD class device API instead of setting it
silently to a default value at panel enable. It also allows for lowering power
consumption by turning off OMAP_PWL_CLK_ENABLE via lcd_ops.set_power callback.

Created and tested against linux-omap for-next,
commit 155a75d9725e66e5ec8a383822957dee52427057.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
drivers/video/omap/lcd_ams_delta.c