Keep PWM backlight on when system suspend

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Keep PWM backlight on when system suspend

1,330 次查看
shaojun_wang
NXP Employee
NXP Employee

Some ebook customer want to keep PWM backlight on when system suspend, the patch is attached.

In the patch, the pwm clock source is set to 32KHz ckil, pwmo frequency is 1KHz.

 

If want to set pwmo frequency to 2KHz, only need to change mxc_pwm_backlight_data  of mx50_rdp.c to

static struct platform_pwm_backlight_data mxc_pwm_backlight_data = {

.pwm_id = 0,

.max_brightness = 15,

.dft_brightness = 8,

.pwm_period_ns = 500000,

};


Original Attachment has been moved to: pwm_always_on_ckil.patch.zip

标签 (3)
0 项奖励
回复
0 回复数