linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: AnilKumar Ch <anilkumar@ti.com>
To: sameo@linux.intel.com, lrg@ti.com,
	broonie@opensource.wolfsonmicro.com,
	linux-kernel@vger.kernel.org
Cc: linux-omap@vger.kernel.org, nsekhar@ti.com,
	AnilKumar Ch <anilkumar@ti.com>
Subject: [PATCH V4 0/2] Add TI TPS65217 PMIC driver support
Date: Wed, 11 Jan 2012 16:11:26 +0530	[thread overview]
Message-ID: <1326278486-27162-1-git-send-email-anilkumar@ti.com> (raw)

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


                 reply	other threads:[~2012-01-11 10:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1326278486-27162-1-git-send-email-anilkumar@ti.com \
    --to=anilkumar@ti.com \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=lrg@ti.com \
    --cc=nsekhar@ti.com \
    --cc=sameo@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).