[PATCH v1 0/2] TPS65224 PMIC driver
Bhargav Raviprakash
bhargav.r at ltts.com
Wed Oct 25 15:39:59 CEST 2023
Add support for TPS65224 PMIC in U-boot.
This includes driver for PMIC and regulator.
The driver was tested on Ti's custom AM62A EVM using U-boot's
pmic list, regulator list, regulator enable, regulator disable and
regulator value commands. Regulator output voltages were verified.
Logs from running the above commands,
=> pmic list
| Name | Parent name | Parent uclass @ seq
| pmic at 48 | i2c at 4900000 | i2c @ 0 | status: 0
| watchdog at 12 | i2c at 20000000 | i2c @ 1 | status: 0
=> reg list
| Device | regulator-name | Parent
| buck12 | buck12 | pmic at 48
| buck3 | buck3 | pmic at 48
| buck4 | buck4 | pmic at 48
| ldo1 | ldo1 | pmic at 48
| ldo2 | ldo2 | pmic at 48
| ldo3 | ldo3 | pmic at 48
=> regulator dev buck12
dev: buck12 @ buck12
=> regulator enable
=> regulator value 1500000
=> regulator disable
Bhargav Raviprakash (2):
driver: power: add support for TPS65224
driver: power: regulator: add support for TPS65224 regulator
drivers/power/pmic/Kconfig | 6 +
drivers/power/pmic/Makefile | 1 +
drivers/power/pmic/tps65224.c | 141 ++++++
drivers/power/regulator/Kconfig | 10 +
drivers/power/regulator/Makefile | 1 +
drivers/power/regulator/tps65224_regulator.c | 472 +++++++++++++++++++
include/power/tps65224.h | 56 +++
7 files changed, 687 insertions(+)
create mode 100644 drivers/power/pmic/tps65224.c
create mode 100644 drivers/power/regulator/tps65224_regulator.c
create mode 100644 include/power/tps65224.h
--
2.25.1
More information about the U-Boot
mailing list