lkml.org 
[lkml]   [2012]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH V4 0/2] Add TI TPS65217 PMIC driver support
Date
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



\
 
 \ /
  Last update: 2012-01-11 11:43    [W:0.087 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site