Shaojun Wang

Keep PWM backlight on when system suspend

Discussion created by Shaojun Wang Employee on Mar 4, 2013

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: