Tactility/Drivers/axp2101-module
Ken Van Hoeylandt 85b61e1e43
Improve module configuration (#661)
DTS modules (device modules) often have a single source file with an empty `struct Module`.
The module's yaml file now allows a `dts-only` boolean to be set, so the source file becomes optional.
`devicetree.yaml` is renamed everywhere to `module.yaml`
2026-09-25 21:56:37 +02:00
..
2026-09-13 00:52:16 +02:00

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