From: makarand.karvekar Date: Mon, 25 Oct 2010 23:56:18 +0000 (-0500) Subject: [ARM] tegra: stingray: adjust backlight settings for current and boost freq X-Git-Tag: firefly_0821_release~9834^2~390 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0074b4823b855c75ef6f323542a4879cb9879db4;p=firefly-linux-kernel-4.4.55.git [ARM] tegra: stingray: adjust backlight settings for current and boost freq Change-Id: Ie475a5e9a874e828ca602a9f9ee60f83703c63f0 Signed-off-by: makarand.karvekar --- diff --git a/arch/arm/mach-tegra/board-stingray-panel.c b/arch/arm/mach-tegra/board-stingray-panel.c index 11a8e7d13a47..06b37941f5cb 100644 --- a/arch/arm/mach-tegra/board-stingray-panel.c +++ b/arch/arm/mach-tegra/board-stingray-panel.c @@ -275,11 +275,11 @@ static struct platform_device stingray_panel_bl_driver = { }; struct lp8550_eeprom_data stingray_lp8550_eeprom_data[] = { - /* Set the backlight current to 15mA each step is .12mA */ - {0x7f}, - /* Boost freq 625khz, PWM controled w/constant current, + /* Set the backlight current to 19mA each step is .12mA */ + {0xa1}, + /* Boost freq 312khz, PWM controled w/constant current, thermal deration disabled, no brightness slope */ - {0xa0}, + {0x60}, /* Adaptive mode for light loads, No advanced slope, 50% mode selected, Adaptive mode enabled, Boost is enabled, Boost Imax is 2.5A */ {0x9f}, @@ -298,7 +298,7 @@ struct lp8550_eeprom_data stingray_lp8550_eeprom_data[] = { struct lp8550_platform_data stingray_lp8550_backlight_data = { .power_up_brightness = 0x80, - .dev_ctrl_config = 0x05, + .dev_ctrl_config = 0x04, .brightness_control = 0x80, .dev_id = 0xfc, .direct_ctrl = 0x01,