2024-11-07 01:22 AM
Development environment: buildroot st/2024.02.3
Then modify the generated device tree file to add backlight_pwm node as follows:
Then add pwm_backlight and panel_rgb, as shown below:
LTDC has also been modified as follows:
Screen parameters are written in buildroot/output/build/linux-custom/drivers/gpu/drm/panel/panel-simple.c
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