]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
backlight: lp855x: add support for backlight curve
authorDaniel Solomon <daniels@nvidia.com>
Wed, 20 May 2015 21:30:00 +0000 (14:30 -0700)
committerMitch Luban <mluban@nvidia.com>
Mon, 8 Jun 2015 18:47:30 +0000 (11:47 -0700)
commit583719c4b9e23372c1aef37acf00409db53be476
tree3b41bf454fa28d6057b657a2c18fcb82114150b7
parent7e1bbc3e7d5eb10d3fad650f7b056ba38ef135c1
backlight: lp855x: add support for backlight curve

By default, backlight updates are linear with respect
to brightness. In some cases it's desirable to use
specific transfer functions instead of a simpler linear
response.
This change adds bl_curve to the LP855x platform data,
a LUT used to implement backlight transfer functions.
LUT data is parsed from DT.

Bug 1647733

Change-Id: I0448de936149b32ade29c1a183a8ead925b617c1
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/745147
(cherry picked from commit 0ddd6e1e68c30940b6d9c495eced21af3e753382)
Reviewed-on: http://git-master/r/751051
Reviewed-by: Mitch Luban <mluban@nvidia.com>
arch/arm/mach-tegra/board-panel.c
drivers/video/backlight/lp855x_bl.c
include/linux/platform_data/lp855x.h