From: kfx Date: Thu, 10 Jan 2013 09:56:49 +0000 (+0800) Subject: rk3168: ds1006h: set bl_pwm output freq 20K X-Git-Tag: firefly_0821_release~7964 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9aeb6ccfc7d05574ce9c21b8c8cd0097fc46f5b5;p=firefly-linux-kernel-4.4.55.git rk3168: ds1006h: set bl_pwm output freq 20K --- diff --git a/arch/arm/mach-rk30/board-rk3168-ds1006h.c b/arch/arm/mach-rk30/board-rk3168-ds1006h.c index bf3ebe5d182c..acdac9fe1de3 100644 --- a/arch/arm/mach-rk30/board-rk3168-ds1006h.c +++ b/arch/arm/mach-rk30/board-rk3168-ds1006h.c @@ -206,6 +206,7 @@ static int rk29_backlight_pwm_resume(void) static struct rk29_bl_info rk29_bl_info = { .min_brightness = 30, + .pre_div = 20 * 000, // pwm output clk: 20k; .pwm_id = PWM_ID, .bl_ref = PWM_EFFECT_VALUE, .io_init = rk29_backlight_io_init,