tegra: enable filters in backlight controller
authormakarand.karvekar <makarand.karvekar@motorola.com>
Tue, 11 Jan 2011 22:33:33 +0000 (16:33 -0600)
committerPaul Eastham <eastham@google.com>
Tue, 11 Jan 2011 23:46:17 +0000 (15:46 -0800)
updated hysteresis and enabled slope, advanced slope
to smooth brightness transitions.

Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
arch/arm/mach-tegra/board-stingray-panel.c

index 09f929c70f2f92c0e6ccf3126f7fe2be79d9a482..af4635a8305eafe6b9b535b292b2e3fd0deaa668 100644 (file)
@@ -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 = {