This is a resurrection of the patch set from two and a half years back fixing up this legacy driver to use IIO to provide ADC instead of necessarily different interfaces. I split the new driver into its own patch to make things easier for Jonathan to review. I plan to only iterate the IIO driver for further comments since the rest is pretty solidly ACKed already. Linus Walleij (8): power: supply: ab8500_btemp: convert to IIO ADC power: supply: ab8500_charger: convert to IIO ADC power: supply: ab8500_fg: convert to IIO ADC hwmon: ab8500: convert to IIO ADC mfd: ab8500: augment DT bindings iio: adc: New driver for the AB8500 GPADC mfd: Switch the AB8500 GPADC to IIO ARM: dts: ux500: declare GPADC IIO ADC channels .../devicetree/bindings/mfd/ab8500.txt | 119 ++ MAINTAINERS | 1 + arch/arm/boot/dts/ste-dbx5x0.dtsi | 102 +- drivers/hwmon/Kconfig | 3 +- drivers/hwmon/ab8500.c | 65 +- drivers/iio/adc/Kconfig | 10 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/ab8500-gpadc.c | 1240 +++++++++++++++++ drivers/mfd/Kconfig | 7 - drivers/mfd/Makefile | 1 - drivers/mfd/ab8500-debugfs.c | 799 ----------- drivers/mfd/ab8500-gpadc.c | 1075 -------------- drivers/power/supply/Kconfig | 2 +- drivers/power/supply/ab8500_btemp.c | 41 +- drivers/power/supply/ab8500_charger.c | 78 +- drivers/power/supply/ab8500_fg.c | 23 +- include/linux/mfd/abx500/ab8500-gpadc.h | 75 - 17 files changed, 1618 insertions(+), 2024 deletions(-) create mode 100644 drivers/iio/adc/ab8500-gpadc.c delete mode 100644 drivers/mfd/ab8500-gpadc.c delete mode 100644 include/linux/mfd/abx500/ab8500-gpadc.h -- 2.21.0