Re: [PATCH] iio: adc: Add TI ADS1015 ADC driver support

From: Guenter Roeck
Date: Thu Jan 14 2016 - 12:34:43 EST


On 01/14/2016 08:51 AM, Michael Welling wrote:
On Thu, Jan 14, 2016 at 06:25:08PM +0200, Daniel Baluta wrote:
The driver has sysfs readings with runtime PM support for power saving.
It also offers buffer support that can be used together with IIO software
triggers.


It should be noted that the hwmon driver subsystem has support for this device.

http://lxr.free-electrons.com/source/drivers/hwmon/ads1015.c

The driver could likely be removed if this is accepted into iio.
The hwmon subsystem has an iio wrapper driver.

http://lxr.free-electrons.com/source/drivers/hwmon/iio_hwmon.c

The only hurdle is adding support for the ads1115 before removing the other driver.

Yes, plus one would hope that there are not going to be a different set of
devicetree properties associated with the new driver, and that the new driver
will support (at least) the same properties.

You'll also have to make sure that only one of the two drivers can be selected.

Guenter