Backlight brightness slider malfunctions after Android 13 updated

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

Backlight brightness slider malfunctions after Android 13 updated

ソリューションへジャンプ
2,891件の閲覧回数
KyleChang
Contributor I
On Android 11, the backlight brightness slider works.
 
On Android 13, Settings->Display->Brightness level can't work.
But we can use the following command to control brightness in kernel space:
echo 150 > sys/class/backlight/pwm-backlight/brightness
 
The development environment shows below:
1. NXP reference design code base:
i.MX8MQ platform / Android 13.0.0_2.0.0 (L6.1.22_2.0.0 BSP)
 
2. Device Tree
pwm3_bl: pwm-backlight {
    compatible = "pwm-backlight";
    pwms = <&pwm3 0 1000000 0>;
    ......
}
 
&pwm3 {
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_pwm3>;
    status = "okay";
};
 
&iomuxc {
  pinctrl_pwm3: pwm3grp {
    fsl,pins = < MX8MQ_IOMUXC_SPDIF_TX_PWM3_OUT
 
3. Driver and ko 
drivers/video/backlight/pwm_bl.c (pwm_bl.ko declared in SharedBoardConfig.mk)
 
 
Does NXP have any patch or porting guide for Android 13 AOSP/BSP to fix the issue?
 
BTW, please take a look at the link below, Google Pixel 4a seems to have the same issue.

 

0 件の賞賛
返信
1 解決策
2,792件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

Thanks for your feedback.

I don't have i.MX8MQ board. I have i.MX8MP EVK + mipi panel. I also tried the brightness slider on it. i.MX8MP also work.

 

元の投稿で解決策を見る

0 件の賞賛
返信
6 返答(返信)
2,861件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

I check the code (nxp side). Seems there is no problem compare with the source code of Android 11.

https://github.com/nxp-imx-android/android-imx_platform_hardware_imx/blob/android-13.0.0_2.2.0/displ...

 

 

0 件の賞賛
返信
2,855件の閲覧回数
KyleChang
Contributor I

Do you mean the brightness slider function of i.MX 8M Quad EVK board can work well on Android 13 ?

0 件の賞賛
返信
2,811件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

I think it is AOSP issue. you may check this issue in the developer forum of Android.

0 件の賞賛
返信
2,806件の閲覧回数
KyleChang
Contributor I

We download & build Android image based on NXP user guide,
So the Reference Design of i.MX 8MQ should work well for basic function.

Do you mean the Reference Design of i.MX 8MQ have the same issue?

0 件の賞賛
返信
2,795件の閲覧回数
KyleChang
Contributor I

Dear Jimmy,

NXP reference design works for backlight control, it works.
Please close the issue, thanks.

0 件の賞賛
返信
2,793件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

Thanks for your feedback.

I don't have i.MX8MQ board. I have i.MX8MP EVK + mipi panel. I also tried the brightness slider on it. i.MX8MP also work.

 

0 件の賞賛
返信