devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Convert twl4030_madc_battery to IIO consumer and add DT aupport
@ 2014-03-05 20:52 Marek Belisko
  2014-03-05 20:52 ` [PATCH v2] power: twl4030-madc-battery: Convert to iio consumer Marek Belisko
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Marek Belisko @ 2014-03-05 20:52 UTC (permalink / raw)
  To: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, rob,
	dbaryshkov, dwmw2, grant.likely
  Cc: hns, sre, devicetree, linux-doc, linux-kernel, Marek Belisko

This patches are based on Sebastian Reichel work [1] which convert twl4030_madc mfd to iio
framework. Patches was tested on gta04 board. twl4030_madc_battery driver is converted in
first patch to iio consumer and in next patches is added support for devicetree.

Changes from V1:
- use iio_read_channel_processed instead iio_read_channel_processed
- convert probe to use devm_ as part of adding error handling for iio
- free iio channels on error and on module removal

[1] - https://lkml.org/lkml/2014/2/26/482

Marek Belisko (3):
  power: twl4030-madc-battery: Convert to iio consumer.
  power: twl4030_madc_battery: Add device tree support.
  Documentation: DT: Document twl4030-madc-battery bindings.

 .../bindings/power_supply/twl4030_madc_battery.txt |  43 ++++++
 drivers/power/twl4030_madc_battery.c               | 155 ++++++++++++++++-----
 2 files changed, 165 insertions(+), 33 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/power_supply/twl4030_madc_battery.txt

-- 
1.8.3.2


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

end of thread, other threads:[~2014-10-09  8:02 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05 20:52 [PATCH v2 0/3] Convert twl4030_madc_battery to IIO consumer and add DT aupport Marek Belisko
2014-03-05 20:52 ` [PATCH v2] power: twl4030-madc-battery: Convert to iio consumer Marek Belisko
2014-03-05 23:25   ` Sebastian Reichel
2014-03-06 21:10     ` Belisko Marek
2014-08-11 19:52       ` Belisko Marek
2014-08-14 21:03         ` Sebastian Reichel
2014-09-18 20:13           ` Belisko Marek
2014-09-22 10:52             ` Mark Rutland
2014-03-05 20:52 ` [PATCH v2] power: twl4030_madc_battery: Add device tree support Marek Belisko
     [not found] ` <1394052739-8589-1-git-send-email-marek-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org>
2014-03-05 20:52   ` [PATCH v2] Documentation: DT: Document twl4030-madc-battery bindings Marek Belisko
2014-09-22 11:03     ` Mark Rutland
2014-09-22 20:35       ` Belisko Marek
2014-09-26 13:39         ` Mark Rutland
2014-10-09  8:02           ` Belisko Marek

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).