linux/drivers/iio/adc
Zubair Lutfullah ca9a563805 iio: ti_am335x_adc: Add continuous sampling support
Previously the driver had only one-shot reading functionality.
This patch adds continuous sampling support to the driver.

Continuous sampling starts when buffer is enabled.
HW IRQ wakes worker thread that pushes samples to userspace.
Sampling stops when buffer is disabled by userspace.

Patil Rachna (TI) laid the ground work for ADC HW register access.
Russ Dill (TI) fixed bugs in the driver relevant to FIFOs and IRQs.

I fixed channel scanning so multiple ADC channels can be read
simultaneously and pushed to userspace.
Restructured the driver to fit IIO ABI.
And added INDIO_BUFFER_HARDWARE mode.

Signed-off-by: Zubair Lutfullah <zubair.lutfullah@gmail.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Russ Dill <Russ.Dill@ti.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2013-09-21 19:23:47 +01:00
..
ad7266.c iio: Make available scan_masks const in ad7266 2013-09-18 22:56:43 +01:00
ad7298.c iio: Remove unnecessary casts for iio_push_to_buffers() 2013-09-15 19:05:07 +01:00
ad7476.c iio: adc: ad7476: Use devm_* APIs 2013-08-03 18:40:39 +01:00
ad7791.c iio: adc: ad7791: Use devm_* APIs 2013-08-03 18:40:39 +01:00
ad7793.c iio: adc: ad7793: Use devm_* APIs 2013-08-03 18:40:39 +01:00
ad7887.c iio: adc: ad7887: Use devm_* APIs 2013-08-03 18:40:40 +01:00
ad7923.c iio: Remove unnecessary casts for iio_push_to_buffers() 2013-09-15 19:05:07 +01:00
ad_sigma_delta.c iio: Remove unnecessary casts for iio_push_to_buffers() 2013-09-15 19:05:07 +01:00
at91_adc.c iio: at91_adc: Cocci spatch "noderef" 2013-09-20 19:41:41 +01:00
exynos_adc.c iio: exynos_adc: Use devm_iio_device_alloc 2013-08-03 18:40:42 +01:00
Kconfig iio: ti_am335x_adc: Add continuous sampling support 2013-09-21 19:23:47 +01:00
lp8788_adc.c iio: adc: lp8788_adc: Use devm_* APIs 2013-08-03 18:40:40 +01:00
Makefile iio: adc: Add driver for Microchip MCP3422/3/4 high resolution ADC 2013-09-07 22:17:44 +01:00
max1363.c iio:max1361: Use default triggered buffer setup ops 2013-09-16 22:37:37 +01:00
mcp320x.c iio: adc: mcp320x: Use devm_* APIs 2013-08-03 18:40:41 +01:00
mcp3422.c iio: adc: Add driver for Microchip MCP3422/3/4 high resolution ADC 2013-09-07 22:17:44 +01:00
nau7802.c iio: adc: nau7802: Use devm_iio_device_alloc 2013-08-03 18:40:42 +01:00
ti_am335x_adc.c iio: ti_am335x_adc: Add continuous sampling support 2013-09-21 19:23:47 +01:00
ti-adc081c.c iio: adc: ti-adc081c: Use devm_* APIs 2013-08-03 18:40:42 +01:00
twl6030-gpadc.c iio: adc: twl6030-gpadc: fix error return code in twl6030_gpadc_read_raw() 2013-08-28 20:45:43 +01:00
viperboard_adc.c iio: adc: viperboard_adc: Use devm_iio_device_alloc 2013-08-03 18:40:42 +01:00