backlight does not work in Android

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

backlight does not work in Android

跳至解决方案
1,922 次查看
pfsang
Contributor IV

hi, ALL 

     i encountered a problem for backlight.

     the Backlight Brightness pin is pwm3 that correspond to SD4_DAT1 pad on my customer board.

     i configured SD4_DAT1 pad to MX6Q_PAD_SD4_DAT1__PWM3_PWMO。

     the platform_pwm_backlight_data is like this:

------------------------------------------------------------------------------------------------

static struct platform_pwm_backlight_data mx6_pwm_backlight_data = {

  .pwm_id = 2,

  .max_brightness = 248,

  .dft_brightness = 128,

  .pwm_period_ns = 50000,

};

-------------------------------------------------------------------------------------

and add the following code in boad init.

  imx6q_add_mxc_pwm(2);

  imx6q_add_mxc_pwm_backlight(2, &mx6_pwm_backlight_data);

but when i operated the Brightness in android setting,   it seems not work.

Do anyone know what's missing or what's wrong?

    

     lvds0.JPG.jpg

标签 (5)
1 解答
1,628 次查看
pfsang
Contributor IV

hi,  all

    i have resolved the issue by setting init.rc.

peter

在原帖中查看解决方案

2 回复数
1,629 次查看
pfsang
Contributor IV

hi,  all

    i have resolved the issue by setting init.rc.

peter

1,628 次查看
alejandrolozan1
NXP Employee
NXP Employee

Hi,

Thanks for sharing your solution!!

Best Regards,

Alejandro

0 项奖励
回复