Commit Graph

4 Commits

Author SHA1 Message Date
Adolfo Reyna 340953b1f6 feat(es8311): add digital input gain and restore 42dB HW max for ES3C28P/35P
- Add input-gain-percent property (0..2000, default 100) to everest,es8311 binding
- Extend Es8311Config with input_gain_percent, Es8311Data with input_gain float
- Implement get_input_gain_multiplier() so audio-stream can apply digital boost on top of HW gain
- Change HW gain mapping 100% -> 42dB (was 24dB) to restore +30dB behavior remembered from pre audio-stream driver (ES8311 supports 0/6/12/18/24/30/36/42 per vendor)
- Validate percent <=2000 in start_device()
- Set ES3C28P (2.8" color) and ES3C35P (3.5" color) DTS to input-gain-percent = <100> (no extra digital, pure HW 42dB max, software volume can lower)
- Fixes quiet mic even at 100% and allows tunable digital boost via devicetree for boards with quiet MEMS capsules
2026-07-31 12:11:09 -04:00
Adolfo Reyna f23261a6ed Redesign launcher and support SD backgrounds 2026-07-29 21:24:20 -04:00
Adolfo Reyna b3619d196b perf(es3c35p): enable 512KB LVGL image cache on PSRAM
Enable LVGL image cache 512KB + header cache 16 for PNG optimization.
Fixes PNG decode bottleneck by caching decoded images in PSRAM.

CONFIG_LV_CACHE_DEF_SIZE=524288
CONFIG_LV_IMAGE_HEADER_CACHE_DEF_CNT=16
On top of font size setting (d8c5a55f).
Removes need for 4KB PSRAM threshold experiment (CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=4096) which is deleted.
2026-07-25 12:50:16 -04:00
Adolfo Reyna 56bbd6a90e Add ES3C35P board support 2026-07-24 22:01:18 -04:00