2023-03-16 12:50 AM
Hi ~
I'm using my custom board with STM32MP157C MPU.
I'm currently trying to adjust the LCD brightness using PWM.
And I was able to implement it by referring to the link below.
https://community.st.com/s/question/0D50X0000AvgWuGSQU/how-to-use-timers2-as-pwmbacklight
However, Linux boots with the backlight turned off.
I have to manually turn on the backlight by entering the following command.
# echo 0 > /sys/class/backlight/panel-backlight/bl_power
How can I boot with the backlight turned on?
I have attached my device tree file.
I'm using Timer2 CH4 for pwm-backlight