feat(platform): add PWM backlight brightness control

This commit is contained in:
chenjintao
2026-08-20 18:21:06 +08:00
parent 0542aadaa4
commit 988dc924b9
7 changed files with 113 additions and 5 deletions
+9
View File
@@ -578,6 +578,15 @@ menu "Example Configuration"
bool "Backlight active high"
default y
config TQ_SCREEN_BACKLIGHT_BRIGHTNESS_PERCENT
int "Default backlight brightness (percent)"
default 100
range 0 100
depends on TQ_SCREEN_ENABLE
help
Initial LCD backlight PWM duty after screen initialization.
Set 0 to turn the backlight off or 100 for full brightness.
config TQ_SCREEN_MIRROR_X
bool "Mirror panel in X direction"
default y