Keep PWM backlight on when system suspend

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Keep PWM backlight on when system suspend

955 Views
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

Labels (3)
0 Kudos
0 Replies