boards/esp32s3: Increase LCD PWM frequency to reduce LCD flicker

Increase LCD PWM frequency from 100Hz to 10kHz to eliminate visible flicker
on the lckfb-szpi ESP32S3 board. The higher frequency provides smoother
backlight control and improves display visual quality.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi
2025-10-29 22:25:15 +08:00
committed by Matteo Golin
parent 0625efa965
commit 2ecd2722cd

View File

@@ -40,7 +40,7 @@
#define GPIO_LCD_RST (-1)
#define SZPI_LCD_CS_PATH "/dev/gpio0"
#define SZPI_LCD_PWM_PATH "/dev/pwm0"
#define SZPI_LCD_PWM_FREQ (100)
#define SZPI_LCD_PWM_FREQ (10000)
#define SZPI_LCD_PWM_DUTY (0xe666) /* 0x1 ~ 0xffff */
#define FT5X06_I2C_ADDRESS (0x38)