Skip to content

Add TI TPS65217 PMIC driver support

AnilKumar Ch linux-omap lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 3 repliesIn review
  2. v32 patches 3 repliesSuperseded
  3. v22 patches 2 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2MFD: TPS65217: Add new mfd device for TPS65217drivers/mfd/Kconfig drivers/mfd/Makefile drivers/mfd/tps65217.c +1 more+541 -01 reply
2/2regulator: tps65217: Add tps65217 regulator driverdrivers/regulator/Kconfig drivers/regulator/Makefile drivers/regulator/tps65217-regulator.c+503 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH V4 0/2] Add TI TPS65217 PMIC driver support

TPS65217 power management IC supports various features, like Battery charger, white LED driver along with basic regulator Functionality.

This patch set adds support as an MFD device into the kernel to facilitate adding additional drivers on top of it.

This device is used on one of AM335x platform (BeagleBone), and details about board can be accessed at -
http://beagleboard.org/bone

Device Spec and related documents can be accessed from -
http://www.ti.com/product/tps65217b

Changes form V3:
- Incorporated all Mark Brown's review commets on V3
* changed non uniform step-size voltage range API to a table
* Implemented set_voltage for formula based regulators
* Implemented set_voltage_sel for table based regulators
* changed get_voltage to get_voltage_sel

Changes form V2:
- Incorporated all Mark Brown's review commets on V2
* clear/set bit API's moved to MFD driver
* voltage range API's clean-up

Changes form V1:
- Incorporated all Mark Brown's review commets
* MFD read/writes API's modifed to use regmap read/writes
* kzalloc() changed to devm_kzalloc()
* Converted voltage tables to function calls
* set_voltage() changed to set_voltage_sel()
- cleaned-up the code little bit

AnilKumar Ch (2):
MFD: TPS65217: Add new mfd device for TPS65217
regulator: tps65217: Add tps65217 regulator driver

 drivers/mfd/Kconfig                    |   15 +
 drivers/mfd/Makefile                   |    1 +
 drivers/mfd/tps65217.c                 |  242 ++++++++++++++++
 drivers/regulator/Kconfig              |    9 +
 drivers/regulator/Makefile             |    1 +
 drivers/regulator/tps65217-regulator.c |  493 ++++++++++++++++++++++++++++++++
 include/linux/mfd/tps65217.h           |  283 ++++++++++++++++++
 7 files changed, 1044 insertions(+), 0 deletions(-)
 create mode 100644 drivers/mfd/tps65217.c
 create mode 100644 drivers/regulator/tps65217-regulator.c
 create mode 100644 include/linux/mfd/tps65217.h