public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] mfd: tp6586x: enhancements in the driver
@ 2012-07-13 10:39 Laxman Dewangan
  2012-07-13 10:39 ` [PATCH 1/5] mfd: tps6586x:use devm managed resources Laxman Dewangan
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Laxman Dewangan @ 2012-07-13 10:39 UTC (permalink / raw)
  To: grant.likely, linus.walleij, sameo
  Cc: linux-kernel, swarren, broonie, Laxman Dewangan

Doing some enhancements in the tps6586x core driver which is
based on some recent driver framework enhancements.
Following are highlights of changes:
- Use devm for allocation to remove the code for freeing it.
- Use regmap i2c for register access in place of direct i2c apis.
  This will give the debug fs and cache functionality through regmap
  framework.
- Use the regmap caching for some fo register in place of local
  implementation.
- Move the gpio support driver to the drivers/gpio and implement it as
  platform driver. The registration will be done as mfd sub devices.

Laxman Dewangan (5):
  mfd: tps6586x:use devm managed resources
  mfd: Use regmap for tps6586x register access.
  mfd: tps6586x: cache register through regmap
  gpio: tps6586x: add gpio support through platform driver
  mfd: tps6586x: remove gpio support from core driver

 drivers/gpio/Kconfig         |    7 +
 drivers/gpio/Makefile        |    1 +
 drivers/gpio/gpio-tps6586x.c |  158 ++++++++++++++++++++++
 drivers/mfd/Kconfig          |    3 +-
 drivers/mfd/tps6586x.c       |  301 ++++++++++++------------------------------
 5 files changed, 255 insertions(+), 215 deletions(-)
 create mode 100644 drivers/gpio/gpio-tps6586x.c


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-07-16  6:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-13 10:39 [PATCH 0/5] mfd: tp6586x: enhancements in the driver Laxman Dewangan
2012-07-13 10:39 ` [PATCH 1/5] mfd: tps6586x:use devm managed resources Laxman Dewangan
2012-07-13 10:39 ` [PATCH 2/5] mfd: Use regmap for tps6586x register access Laxman Dewangan
2012-07-13 10:39 ` [PATCH 3/5] mfd: tps6586x: cache register through regmap Laxman Dewangan
2012-07-13 10:39 ` [PATCH 4/5] gpio: tps6586x: add gpio support through platform driver Laxman Dewangan
2012-07-14 22:18   ` Linus Walleij
2012-07-16  6:47     ` Laxman Dewangan
2012-07-13 10:39 ` [PATCH 5/5] mfd: tps6586x: remove gpio support from core driver Laxman Dewangan
2012-07-14 22:12   ` Linus Walleij
2012-07-16  6:49     ` Laxman Dewangan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox