[PATCH v3 0/5] Add support for TI TPS65224 PMIC
Bhargav Raviprakash
bhargav.r at ltts.com
Mon Mar 18 10:29:54 CET 2024
TPS65224 is a Power Management IC which provides regulators and others
features like GPIOs, RTC, watchdog, ADC, ESMs (Error Signal Monitor),
and PFSM (Pre-configurable Finite State Machine). The SoC and the PMIC
can communicate through the I2C.
Data Sheet for TPS65224: https://www.ti.com/product/TPS65224-Q1
Reusing the TPS65941 PMIC driver to add support for TPS65224 PMIC
in U-boot. This includes driver for PMIC and regulator.
The driver was tested on Ti's custom AM62P EVM using U-boot's
pmic list, regulator list, regulator status and regulator value commands.
Since, support for Ti's AM62P is absent in u-boot next, the patches
were applied on ti-u-boot ti-u-boot-2023.04-next and tested.
Changelog v2 -> v3:
- use pr_err instead of printf
- comments added in ldo conversion functions
Bhargav Raviprakash (5):
power: tps65941: Add macros of TPS65224 PMIC
power: pmic: tps65941: Add TI TPS65224 PMIC
power: regulator: tps65941: Added macros for BUCK ID
power: regulator: tps65941: use function callbacks for conversion ops
power: regulator: tps65941: Add TPS65224 PMIC regulator support
drivers/power/pmic/tps65941.c | 1 +
drivers/power/regulator/tps65941_regulator.c | 381 +++++++++++++++++--
include/power/tps65941.h | 30 ++
3 files changed, 381 insertions(+), 31 deletions(-)
base-commit: 4b151562bb8e54160adedbc6a1c0c749c00a2f84
--
2.25.1
More information about the U-Boot
mailing list