rk3188 ds1006h: fix brightness
authorwuhao <wuhao@wuhao@rock-chips.com>
Wed, 30 Jan 2013 02:24:21 +0000 (10:24 +0800)
committerwuhao <wuhao@wuhao@rock-chips.com>
Wed, 30 Jan 2013 02:24:21 +0000 (10:24 +0800)
arch/arm/mach-rk3188/board-rk3188-ds1006h.c

index d8fe65543d239a045c9865f4fe767265acb16f55..cc89824ad576c471012b90babc96a664045a5d81 100755 (executable)
@@ -199,8 +199,10 @@ static int rk29_backlight_pwm_resume(void)
 }
 
 static struct rk29_bl_info rk29_bl_info = {
-        .min_brightness = 30,
-       .pre_div = 20 * 1000,  // pwm output clk: 20k;
+        .min_brightness = 65,
+        .max_brightness = 100,
+        .brightness_mode =BRIGHTNESS_MODE_CONIC,
+       .pre_div = 40 * 1000,  // pwm output clk: 40k;
        .pwm_id = PWM_ID,
        .bl_ref = PWM_EFFECT_VALUE,
        .io_init = rk29_backlight_io_init,