backlight does not work in Android

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

backlight does not work in Android

Jump to solution
1,034 Views
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

Labels (5)
1 Solution
740 Views
pfsang
Contributor IV

hi,  all

    i have resolved the issue by setting init.rc.

peter

View solution in original post

2 Replies
741 Views
pfsang
Contributor IV

hi,  all

    i have resolved the issue by setting init.rc.

peter

740 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi,

Thanks for sharing your solution!!

Best Regards,

Alejandro

0 Kudos