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. [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 devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html