Skip to content

Commit ecc24e7

Browse files
Daniel Balutajic23
authored andcommitted
iio: adc: Add TI ADS1015 ADC driver support
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. Datasheet can be found here: http://www.ti.com.cn/cn/lit/ds/symlink/ads1015.pdf Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
1 parent 97a445d commit ecc24e7

3 files changed

Lines changed: 626 additions & 0 deletions

File tree

‎drivers/iio/adc/Kconfig‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,19 @@ config TI_ADC128S052
394394
This driver can also be built as a module. If so, the module will be
395395
called ti-adc128s052.
396396

397+
config TI_ADS1015
398+
tristate "Texas Instruments ADS1015 ADC"
399+
depends on I2C && !SENSORS_ADS1015
400+
select REGMAP_I2C
401+
select IIO_BUFFER
402+
select IIO_TRIGGERED_BUFFER
403+
help
404+
If you say yes here you get support for Texas Instruments ADS1015
405+
ADC chip.
406+
407+
This driver can also be built as a module. If so, the module will be
408+
called ti-ads1015.
409+
397410
config TI_ADS8688
398411
tristate "Texas Instruments ADS8688"
399412
depends on SPI && OF

‎drivers/iio/adc/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ obj-$(CONFIG_ROCKCHIP_SARADC) += rockchip_saradc.o
3838
obj-$(CONFIG_TI_ADC081C) += ti-adc081c.o
3939
obj-$(CONFIG_TI_ADC0832) += ti-adc0832.o
4040
obj-$(CONFIG_TI_ADC128S052) += ti-adc128s052.o
41+
obj-$(CONFIG_TI_ADS1015) += ti-ads1015.o
4142
obj-$(CONFIG_TI_ADS8688) += ti-ads8688.o
4243
obj-$(CONFIG_TI_AM335X_ADC) += ti_am335x_adc.o
4344
obj-$(CONFIG_TWL4030_MADC) += twl4030-madc.o

0 commit comments

Comments
 (0)