From: wuhao Date: Wed, 30 Jan 2013 02:24:21 +0000 (+0800) Subject: rk3188 ds1006h: fix brightness X-Git-Tag: firefly_0821_release~7699 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=37e813f797e404f1238fedfda529d7f514625fc8;p=firefly-linux-kernel-4.4.55.git rk3188 ds1006h: fix brightness --- diff --git a/arch/arm/mach-rk3188/board-rk3188-ds1006h.c b/arch/arm/mach-rk3188/board-rk3188-ds1006h.c index d8fe65543d23..cc89824ad576 100755 --- a/arch/arm/mach-rk3188/board-rk3188-ds1006h.c +++ b/arch/arm/mach-rk3188/board-rk3188-ds1006h.c @@ -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,