mbox series

[v2,0/2] Add TI TPS65215 PMIC MFD Support

Message ID 20250103225732.196636-1-s-ramamoorthy@ti.com (mailing list archive)
Headers show
Series Add TI TPS65215 PMIC MFD Support | expand

Message

Shree Ramamoorthy Jan. 3, 2025, 10:57 p.m. UTC
TPS65215 is a Power Management Integrated Circuit (PMIC) that has
significant register map overlap with TPS65219. The series introduces
TPS65215 and restructures the existing driver to support multiple devices.

This follow-up series is dependent on:
Commit 25c86c81b0ad ("regulator: dt-bindings: Add TI TPS65215 PMIC bindings")

TPS65219 Cleanup Series:
GPIO: https://lore.kernel.org/all/20241217204755.1011731-1-s-ramamoorthy@ti.com/
MFD: https://lore.kernel.org/all/20241217204935.1012106-1-s-ramamoorthy@ti.com/
Reg: https://lore.kernel.org/all/20241217204526.1010989-1-s-ramamoorthy@ti.com/

- Both TPS65215 and TPS65219 have 3 Buck regulators.
- TPS65215 has 2 LDOs, whereas TPS65219 has 4 LDOs.
- TPS65215 and TPS65219's LDO1 are the same.
- TPS65215's LDO2 maps to TPS65219's LDO3.
- TPS65215 has 1 GPO, whereas TPS65219 has 2 GPOs.
- The remaining features are the same.

TPS65215 TRM: https://www.ti.com/lit/pdf/slvucw5/

AM62L + TPS65215 Test Logs:
https://gist.github.com/ramamoorthyhs/7560eca6110fafc77b51894fa2c0fd22

---
Change Log:
v1 -> v2:
- have any PMIC lists be in alpha-numeric order: TPS65215, then TPS65219
- Add driver prefix to chip_data struct
---

Shree Ramamoorthy (2):
  mfd: tps65215: Add support for TI TPS65215 PMIC
  mfd: tps65215: Remove regmap_read check

 drivers/mfd/tps65219.c       | 161 ++++++++++++++++++++++++++++++++---
 include/linux/mfd/tps65219.h |  72 ++++++++++++++--
 2 files changed, 213 insertions(+), 20 deletions(-)