Skip to contentSkip to conversation

Add TI TPS65217 PMIC driver support

PATCH Superseded AnilKumar Ch 1 participant 1 message Jan 4, 2012

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v3 cover 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 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 |  435 ++++++++++++++++++++++++++++++++
 include/linux/mfd/tps65217.h           |  275 ++++++++++++++++++++
 7 files changed, 978 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