Backlight brightness slider malfunctions after Android 13 updated

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

Backlight brightness slider malfunctions after Android 13 updated

Jump to solution
3,273 Views
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 Kudos
Reply
1 Solution
3,174 Views
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.

 

View solution in original post

0 Kudos
Reply
6 Replies
3,243 Views
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 Kudos
Reply
3,237 Views
KyleChang
Contributor I

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

0 Kudos
Reply
3,193 Views
jimmychan
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply
3,188 Views
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 Kudos
Reply
3,177 Views
KyleChang
Contributor I

Dear Jimmy,

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

0 Kudos
Reply
3,175 Views
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 Kudos
Reply