From 0285f571029e0ed6d81931bdb00666a1d0bfd88f Mon Sep 17 00:00:00 2001 From: "makarand.karvekar" Date: Tue, 11 Jan 2011 16:33:33 -0600 Subject: [PATCH] tegra: enable filters in backlight controller updated hysteresis and enabled slope, advanced slope to smooth brightness transitions. Signed-off-by: makarand.karvekar --- arch/arm/mach-tegra/board-stingray-panel.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-tegra/board-stingray-panel.c b/arch/arm/mach-tegra/board-stingray-panel.c index 09f929c70f2f..af4635a8305e 100644 --- a/arch/arm/mach-tegra/board-stingray-panel.c +++ b/arch/arm/mach-tegra/board-stingray-panel.c @@ -385,22 +385,22 @@ struct lp8550_eeprom_data stingray_lp8550_eeprom_data[] = { /* 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 */ - {0x60}, - /* Adaptive mode for light loads, No advanced slope, 50% mode selected, + thermal deration disabled, brightness slope 500mS */ + {0x67}, + /* Adaptive mode for light loads, advanced slope enabled, 50% mode selected, Adaptive mode enabled, Boost is enabled, Boost Imax is 2.5A */ - {0x9f}, + {0xbf}, /* UVLO is disabled, phase shift PWM enabled, PWM Freq 19232 */ {0x3f}, /* LED current resistor disabled, LED Fault = 3.3V */ {0x08}, - /* Vsync is enabled, Dither disabled, Boost voltage 20V */ - {0x8a}, + /* Vsync is enabled, Dither enabled, Boost voltage 20V */ + {0xea}, /* PLL 13-bit counter */ {0x64}, - /* 1-bit hysteresis w/11 bit resolution, PWM output freq is set with + /* 1-bit hysteresis w/10 bit resolution, PWM output freq is set with PWM_FREQ EEPROM bits */ - {0x29}, + {0x2a}, }; struct lp8550_platform_data stingray_lp8550_backlight_data = { -- 2.34.1