diff options
author | Tejas Sonchhatra <tmanoj@nvidia.com> | 2013-11-19 10:48:25 +0530 |
---|---|---|
committer | Tejas Manoj <tmanoj@nvidia.com> | 2013-11-20 20:29:50 -0800 |
commit | fe2634f3918024c37c82d3bce4831cc1ab3b9f31 (patch) | |
tree | d88a86c4e5b97a145243edd40b849cccfd3d4f7d /arch/arm/mach-tegra/panel-a-edp-1080p-14-0.c | |
parent | ac01cf3e71bdd868a6200b9dbe736e8ff808cf40 (diff) |
arm: tegra: laguna: adding edp client for aou1080p
This change is for adding edp client for backlight for
auo 1080p 14" panel ,which is default panel for laguna.
Bug 1399057
Change-Id: I2c421098f76f928675a5906147cbc3e23e96ed3e
Signed-off-by: Tejas Sonchhatra <tmanoj@nvidia.com>
Reviewed-on: http://git-master/r/332731
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/panel-a-edp-1080p-14-0.c')
-rw-r--r-- | arch/arm/mach-tegra/panel-a-edp-1080p-14-0.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/panel-a-edp-1080p-14-0.c b/arch/arm/mach-tegra/panel-a-edp-1080p-14-0.c index 1935794e24b8..62d8139acd01 100644 --- a/arch/arm/mach-tegra/panel-a-edp-1080p-14-0.c +++ b/arch/arm/mach-tegra/panel-a-edp-1080p-14-0.c @@ -79,6 +79,13 @@ static tegra_dc_bl_output edp_a_1080p_14_0_bl_output_measured = { 247, 248, 249, 250, 251, 252, 253, 255 }; +static unsigned int dsi_a_laguna_edp_states[] = { + 909, 809, 709, 609, 509, 410, 310, 210, 110, 0 +}; +static unsigned int dsi_a_laguna_edp_brightness[] = { + 255, 227, 199, 171, 143, 115, 87, 59, 31, 0 +}; + static int laguna_edp_regulator_get(struct device *dev) { int err = 0; @@ -295,6 +302,8 @@ static struct platform_pwm_backlight_data edp_a_1080p_14_0_bl_data = { .notify = edp_a_1080p_14_0_bl_notify, /* Only toggle backlight on fb blank notifications for disp1 */ .check_fb = edp_a_1080p_14_0_check_fb, + .edp_states = dsi_a_laguna_edp_states, + .edp_brightness = dsi_a_laguna_edp_brightness, }; static struct platform_device __maybe_unused |