Files
Ken Van Hoeylandt f9453d8956 Migrate devices, create drivers, other improvements & fixes (#574)
Migrated devices to kernel drivers:

- guition-jc3248w535c
- m5stack-core2
- m5stack-cores3
- m5stack-papers3

New drivers:

- axp192-module
- axp2101-module

Fixes:

- Fix SD card LDO for P4 devices
- Updated PowerOff app to work with kernel displays
- Fix for `lvgl_try_lock()` timing
- Fix for touch events with slow updating displays

Improvements:

- `GuiService` now keeps trying to lock to prevent silent failures caused by drivers.
- `GuiService` now uses lvgl-module calls for locking/unlocking
- display driver now has capability `DISPLAY_CAPABILITY_SLOW_REFRESH`
2026-07-19 00:39:26 +02:00

784 B

AXP2101 power management IC

A driver for the X-Powers AXP2101 PMIC: DCDC1-5 and ALDO1-4/BLDO1-2/CPUSLDO/DLDO1-2 enable and voltage control, battery/VBUS voltage readback, charge enable/status, and system power off. Registers as a power-supply child device (voltage, is-charging, charge control, power off) alongside its own public API for full rail control.

Also includes axp2101-backlight: a BACKLIGHT_TYPE driver for a backlight wired to one of the AXP2101's LDOs, declared as a devicetree child node of the axp2101 device it dims. Its ldo, min-millivolt and max-millivolt properties select the channel and map the 0-255 brightness level onto that LDO's voltage range; brightness level 0 disables the LDO outright.

License: Apache v2.0