rk3168: ds1006h: set bl_pwm output freq 20K
authorkfx <kfx@rock-chips.com>
Thu, 10 Jan 2013 09:56:49 +0000 (17:56 +0800)
committerkfx <kfx@rock-chips.com>
Thu, 10 Jan 2013 09:56:49 +0000 (17:56 +0800)
arch/arm/mach-rk30/board-rk3168-ds1006h.c

index bf3ebe5d182c13c8a0c8ae6168c35bd0059d7865..acdac9fe1de32294f315229c9fe8c23e3f0ef674 100644 (file)
@@ -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,