|
|
Log in / Subscribe / Register

Add TI TPS65215 PMIC GPIO Support

From:  Shree Ramamoorthy <s-ramamoorthy-AT-ti.com>
To:  <aaro.koskinen-AT-iki.fi>, <andreas-AT-kemnade.info>, <khilman-AT-baylibre.com>, <rogerq-AT-kernel.org>, <tony-AT-atomide.com>, <linus.walleij-AT-linaro.org>, <brgl-AT-bgdev.pl>, <linux-omap-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org>, <linux-gpio-AT-vger.kernel.org>
Subject:  [PATCH v1 0/3] Add TI TPS65215 PMIC GPIO Support
Date:  Thu, 26 Dec 2024 15:58:55 -0600
Message-ID:  <20241226215858.397054-1-s-ramamoorthy@ti.com>
Cc:  <m-leonard-AT-ti.com>, <praneeth-AT-ti.com>
Archive-link:  Article

Happy Holidays!

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 91462d209aaf ("regulator: dt-bindings: Add TI TPS65215 PMIC bindings")
Commit 30fafb69994a ("mfd: tps65215: Add support for TI TPS65215 PMIC")
Commit 07c9c92bd47f ("mfd: tps65215: Remove regmap_read check")

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

- 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/7560eca6110fafc77b5...

Shree Ramamoorthy (3):
  gpio: tps65215: Add TPS65215 to platform_device_id table
  gpio: tps65215: Update GPIO0_IDX macro prefix
  gpio tps65215: Add support for varying gpio/offset values

 drivers/gpio/gpio-tps65219.c | 54 +++++++++++++++++++++++++++---------
 1 file changed, 41 insertions(+), 13 deletions(-)

-- 
2.34.1




Copyright © 2024, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds