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

From: Lars-Peter Clausen
Date: Fri Jan 15 2016 - 00:02:31 EST


On 01/14/2016 05:51 PM, 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.

If we do this we should instantiate the hwmon bridge for such drivers by
default, so that the userspace ABI is kept intact.

And of course we'd also need backwards compatibility for those horrible
devicetree bindings.

- Lars