devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/6] Convert twl4030_madc_battery to IIO consumer and add DT aupport
@ 2015-02-04 22:14 Marek Belisko
  2015-02-04 22:14 ` [PATCH v3 1/6] power: twl4030-madc-battery: Convert to iio consumer Marek Belisko
                   ` (6 more replies)
  0 siblings, 7 replies; 26+ messages in thread
From: Marek Belisko @ 2015-02-04 22:14 UTC (permalink / raw)
  To: sre-DgEjT+Ai2ygdnm+yROfE0A, dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w,
	dwmw2-wEGCiKHe2LqWVfeAwA7xHQ
  Cc: mark.rutland-5wv7dgnIgG8, tony-4v6yS6AI5VpBDgjK7y7TUQ,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-pm-u79uwXL29TY76Z2rM5mHXA, hns-xXXSsgcRVICgSpxsJD1C4w,
	gta04-owner-xXXSsgcRVICgSpxsJD1C4w, Marek Belisko

This patches adding support for twl4030_madc_battery to use twl4030_madc iio framework + DT support.
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
+ some small fixes for module autoloading.

Changes from V2:
- fix property names
- add MODULE_DEVICE_TABLE and MODULE_ALIAS

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/482dd

Marek Belisko (6):
  power: twl4030-madc-battery: Convert to iio consumer.
  power: twl4030_madc_battery: Add device tree support
  Documentation: DT: Document twl4030-madc-battery bindings
  ARM: dts: omap3-gta04: Add battery support
  power: twl4030_madc_battery: Add of_twl4030_madc_match to
    MODULE_DEVICE_TABLE
  power: twl4030_madc_battery: Add missing MODULE_ALIAS

 .../bindings/power_supply/twl4030_madc_battery.txt |  43 +++++
 arch/arm/boot/dts/omap3-gta04.dtsi                 |  30 ++++
 drivers/power/twl4030_madc_battery.c               | 183 +++++++++++++++++----
 3 files changed, 221 insertions(+), 35 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/power_supply/twl4030_madc_battery.txt

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2015-03-17 14:12 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-04 22:14 [PATCH v3 0/6] Convert twl4030_madc_battery to IIO consumer and add DT aupport Marek Belisko
2015-02-04 22:14 ` [PATCH v3 1/6] power: twl4030-madc-battery: Convert to iio consumer Marek Belisko
2015-02-04 22:14 ` [PATCH v3 2/6] power: twl4030_madc_battery: Add device tree support Marek Belisko
2015-02-04 22:14 ` [PATCH v3 3/6] Documentation: DT: Document twl4030-madc-battery bindings Marek Belisko
2015-03-05  0:48   ` Sebastian Reichel
     [not found]   ` <1423088075-10025-4-git-send-email-marek-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org>
2015-03-16 21:05     ` Pavel Machek
2015-03-16 21:20       ` Belisko Marek
2015-03-16 21:37         ` Dr. H. Nikolaus Schaller
2015-03-17  8:48           ` Pavel Machek
2015-03-17  8:59             ` Dr. H. Nikolaus Schaller
2015-03-17  8:47         ` Pavel Machek
2015-03-17  8:56           ` Dr. H. Nikolaus Schaller
     [not found]             ` <940EE988-03A4-4B1B-A168-959E367953A6-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org>
2015-03-17 10:37               ` Pavel Machek
2015-03-17 11:14                 ` Dr. H. Nikolaus Schaller
2015-03-17 13:59                   ` Pavel Machek
2015-03-17 14:12                     ` Dr. H. Nikolaus Schaller
2015-03-17  9:07           ` Dr. H. Nikolaus Schaller
2015-03-17 10:01             ` Pavel Machek
     [not found] ` <1423088075-10025-1-git-send-email-marek-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org>
2015-02-04 22:14   ` [PATCH v3 4/6] ARM: dts: omap3-gta04: Add battery support Marek Belisko
2015-03-05  0:37     ` Sebastian Reichel
2015-03-16 20:35       ` Tony Lindgren
2015-03-16 20:47         ` Belisko Marek
2015-03-16 20:50           ` Tony Lindgren
2015-02-04 22:14 ` [PATCH v3 5/6] power: twl4030_madc_battery: Add of_twl4030_madc_match to MODULE_DEVICE_TABLE Marek Belisko
2015-02-04 22:14 ` [PATCH v3 6/6] power: twl4030_madc_battery: Add missing MODULE_ALIAS Marek Belisko
2015-02-18  7:46 ` [PATCH v3 0/6] Convert twl4030_madc_battery to IIO consumer and add DT aupport 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).