cancel
Showing results for 
Search instead for 
Did you mean: 

The STM32MP157 PWM does not work properly

laizhihui2021
Visitor

Development environment: buildroot st/2024.02.3

Hardware: STM32MP157DAB1 (The schematic diagram is in "SCH-887T227012(A0)-20240815.pdf" in the attachment).
 
The LCD backlight pin of my board is connected to PF7, and I use the STM32CubeMX configuration as follows:
laizhihui2021_0-1730968387522.png

Then modify the generated device tree file to add backlight_pwm node as follows:

laizhihui2021_1-1730969225581.png

Then add pwm_backlight and panel_rgb, as shown below:

laizhihui2021_2-1730969369993.png

LTDC has also been modified as follows:

laizhihui2021_3-1730969408686.png

Screen parameters are written in buildroot/output/build/linux-custom/drivers/gpu/drm/panel/panel-simple.c

laizhihui2021_4-1730969710719.png

  After compiling and burning, print the following information:

[ 12.640841] platform pwm-backlight: deferred probe pending
[ 12.645020] platform 5a001000.display-controller: deferred probe pending
[ 12.651762] platform panel-rgb: deferred probe pending

 

 Please help to see, where is the problem with the configuration, which makes it impossible to load the above drivers?
0 REPLIES 0