[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1394052739-8589-1-git-send-email-marek@goldelico.com>
Date: Wed, 5 Mar 2014 21:52:16 +0100
From: Marek Belisko <marek@...delico.com>
To: robh+dt@...nel.org, pawel.moll@....com, mark.rutland@....com,
ijc+devicetree@...lion.org.uk, galak@...eaurora.org,
rob@...dley.net, dbaryshkov@...il.com, dwmw2@...radead.org,
grant.likely@...aro.org
Cc: hns@...delico.com, sre@...ian.org, devicetree@...r.kernel.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
Marek Belisko <marek@...delico.com>
Subject: [PATCH v2 0/3] Convert twl4030_madc_battery to IIO consumer and add DT aupport
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists