From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Reichel Subject: [PATCHv3 0/9] Convert twl4030-madc to IIO API and add DT support Date: Mon, 10 Mar 2014 18:25:20 +0100 Message-ID: <1394472329-15485-1-git-send-email-sre@debian.org> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: Sebastian Reichel , Marek Belisko , Jonathan Cameron Cc: Lee Jones , Samuel Ortiz , Lars-Peter Clausen , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Grant Likely , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, Sebastian Reichel List-Id: devicetree@vger.kernel.org Hi, This is PATCHv3 for converting twl4030-madc to the IIO API and adding DT support. The plan is to remove the private twl4030-madc API once all users have been removed or converted to the IIO API. The patchset compiles and has been tested on my Nokia N900. Changes since PATCHv2 [0]: * Added Tested-by: Marek Belisko to all patches, which modify code used by twl4030-madc-battery driver * Update madc->use_second_irq as suggested by Lee Jones * Use dev_err instead of dev_dbg for error messages in probe function * Add a space between "{" and ".compatible" * Decrease indention of closing "}" in twl4030_madc_driver.driver [0] https://lkml.org/lkml/2014/3/4/815 -- Sebastian Sebastian Reichel (9): mfd: twl4030-madc: Use managed resources mfd: twl4030-madc: Add DT support and convert to IIO framework mfd: twl4030-madc: Cleanup driver mfd: twl-core: Add twl_i2c_read/write_u16 mfd: twl4030-madc: Use twl_i2c_read/write_u16 for 16 bit registers Documentation: DT: Document twl4030-madc binding mfd: twl4030-madc: Move driver to drivers/iio/adc iio: documentation: Add ABI documentation for *_mean_raw iio: inkern: add iio_read_channel_average_raw Documentation/ABI/testing/sysfs-bus-iio | 8 + .../devicetree/bindings/iio/adc/twl4030-madc.txt | 24 ++ drivers/iio/adc/Kconfig | 10 + drivers/iio/adc/Makefile | 1 + drivers/{mfd => iio/adc}/twl4030-madc.c | 302 +++++++++++++-------- drivers/iio/inkern.c | 18 ++ drivers/mfd/Kconfig | 10 - drivers/mfd/Makefile | 1 - include/linux/i2c/twl.h | 12 + include/linux/i2c/twl4030-madc.h | 2 +- include/linux/iio/consumer.h | 13 + 11 files changed, 275 insertions(+), 126 deletions(-) create mode 100644 Documentation/devicetree/bindings/iio/adc/twl4030-madc.txt rename drivers/{mfd => iio/adc}/twl4030-madc.c (75%) -- 1.9.0