PWM for backlight control of display on Windows On Arm (i.MX8M)

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

PWM for backlight control of display on Windows On Arm (i.MX8M)

Jump to solution
1,335 Views
norihiromichiga
Senior Contributor II

Hello, 

 

We want to control the backlight for external display from Windows On Arm running on our custom i.MX8M board.

Here is our understanding about software that are involved in the backlight control below.

 

-ACPI gives us standard method to adjust the backlight.

-Laptop PC often uses ACPI to control the backlight.

-Backlight is controled by sending a command from Windows to UEFI. 

-Windows must have a driver and configuration to control the backlight.

 

Here is our questions about the backlight control on running Windows On Arm on i.MX8M.

(1) We see the following control flow in the document of uefi. 

 

norihiromichiga_0-1710132305639.png

Which is correct understanding about control flow from Windows to the actual hardware(i.MX8M)?

a) Calling a driver directly? (Backlight driver is needed?)

b) Backlight is controlled via ACPI?

c) Both a) and b)  works toghether?

 

(2) If we trun off or on the external display from Windows, Which is correct understanding about control flow?

a) Calling a display driver directly to turn off or on the external display?

b) It is controlled via ACPI?

c) Both a) and b)  works toghether?

 

(3) We need to control the backlight along with turning off or on the external display.

It means that a fucntion for turning on and off the backlight must be integrated in the display driver.

In this case, driver uses the method in above question (1) to change the luminance?

 

Regards,

Norihiro Michigami

 

 

 

 

 

0 Kudos
Reply
1 Solution
1,273 Views
norihiromichiga
Senior Contributor II

Hello Hector, 

 

Thank you for your reply.  I understood NXP couldn't help us on this topic at this mement. 

We will try to find out 3rd party who could suggest our questions.

 

Regards,

Norihiro Michigami

AVNET

View solution in original post

0 Kudos
Reply
7 Replies
1,274 Views
norihiromichiga
Senior Contributor II

Hello Hector, 

 

Thank you for your reply.  I understood NXP couldn't help us on this topic at this mement. 

We will try to find out 3rd party who could suggest our questions.

 

Regards,

Norihiro Michigami

AVNET

0 Kudos
Reply
979 Views
jakub_zigacek
NXP Employee
NXP Employee

Hello @norihiromichiga,

can you please give more details on for what display interface do you want to set brightness? We are currently working on basic enablement of this feature. So far we are able to control PWM output for LVDS interface on i.MX8MP from Display setting in Windows.

Best Regards, Jakub

Tags (1)
0 Kudos
Reply
967 Views
george
Senior Contributor II

 

Hello @jakub_zigacek,

@norihiromichiga  is my boss. I am contacting you on his behalf

The PWM output we want to control from the Windows system is GPIO1_IO11.

 

PRI_20240624-212530.png

 

But it seems you already have the solution.

Please provide a patch or modification for the BSP.

Thanks,
George

0 Kudos
Reply
937 Views
jakub_zigacek
NXP Employee
NXP Employee

Hello @george,

please use the attached patch. It is created over BSP-1.5.1, which should be release within weeks. But changes should be in sources that are same or similar as are in 1.5.0.

Best Regards, Jakub

844 Views
george
Senior Contributor II

Hello @jakub_zigacek,

Thank you for your wonderful support.

By simply replacing the newly generated firmware_uuu.bin and Galcore driver by your patch, We can control the PWM output between 0% and 99% using the Windows system slide bar.

Thanks,
George

910 Views
george
Senior Contributor II

Hello @jakub_zigacek,

Your help is appreciated, that's great.
I'll tell my customers to try it.

Thanks,
George

0 Kudos
Reply
1,314 Views
hector_delgado
NXP TechSupport
NXP TechSupport

Hi @norihiromichiga ,

I hope you're doing well!

Our current scope of support doesn't include custom boards at the moment, so there's very limited help we could provide, specially regarding backlight drivers/software. I apologize for any inconvenience this may cause. Thank you.

Best regards,
Hector.

0 Kudos
Reply