backlight does not work in Android

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

backlight does not work in Android

ソリューションへジャンプ
2,017件の閲覧回数
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,723件の閲覧回数
pfsang
Contributor IV

hi,  all

    i have resolved the issue by setting init.rc.

peter

元の投稿で解決策を見る

2 返答(返信)
1,724件の閲覧回数
pfsang
Contributor IV

hi,  all

    i have resolved the issue by setting init.rc.

peter

1,723件の閲覧回数
alejandrolozan1
NXP Employee
NXP Employee

Hi,

Thanks for sharing your solution!!

Best Regards,

Alejandro

0 件の賞賛
返信