linux/drivers/iio/adc
Quentin Schulz 44072b2c8d iio: adc: nau7802: Expose possible gains in sysfs
The Nuvoton NAU7802 ADC is able to adjust its gain but prior knowledge of
its possible values was required to adjust it. Users had to guess the
possible gain values based on the ADC datasheet or on this driver's code.

This exposes the possible values in the in_voltage_scale_available file of
each nau7802 ADC device. The gain is set for the whole ADC and is therefore
not configurable by channel. Thus, there exists only one
in_voltage_scale_available file for each nau7802 ADC device even if it has
two separate channels.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-05-21 20:15:04 +01:00
..
ad_sigma_delta.c
ad799x.c iio: adc: ad799x: remove space before comma 2016-04-16 13:39:25 +01:00
ad7266.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
ad7291.c
ad7298.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
ad7476.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
ad7791.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
ad7793.c First set of new device support, features and cleanups for IIO in the 4.5 cycle 2015-12-01 09:13:29 -08:00
ad7887.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
ad7923.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
at91_adc.c iio: adc: at91_adc: fix errors reported by checkpatch.pl 2016-04-16 13:39:24 +01:00
at91-sama5d2_adc.c iio:adc:at91-sama5d2: add support for differential conversions 2016-04-03 11:13:59 +01:00
axp288_adc.c iio: adc: axp288: remove redundant duplicate const on axp288_adc_channels 2016-01-23 16:30:57 +00:00
berlin2-adc.c iio:adc:berlin2-adc: coding style cleanup 2015-08-12 22:13:57 +01:00
cc10001_adc.c iio: adc: cc10001: Power-up the ADC at probe time when used remotely 2015-06-14 12:21:22 +01:00
da9150-gpadc.c iio: Add support for DA9150 GPADC 2015-02-25 21:05:26 +01:00
exynos_adc.c iio: exynos-adc: fix irqf_oneshot.cocci warnings 2015-12-21 21:08:55 -08:00
fsl-imx25-gcq.c iio: adc/imx25-gcq: Move incorrect do_div 2016-03-09 12:50:51 +07:00
hi8435.c iio: adc: hi8435: Holt HI-8435 threshold detector 2015-09-23 20:23:18 +01:00
imx7d_adc.c iio: adc: add IMX7D ADC driver support 2015-12-12 16:25:41 +00:00
ina2xx-adc.c iio: ina2xx-adc: fix scale for VShunt 2016-04-03 11:13:59 +01:00
Kconfig ti-adc081c: Add support for adc101c and adc121c 2016-04-17 10:43:32 +01:00
lp8788_adc.c
lpc18xx_adc.c iio: adc: add NXP LPC18xx ADC driver 2016-03-12 18:11:48 +00:00
Makefile First round of IIO new device support, features and cleanups for the 4.7 cycle. 2016-04-04 12:31:05 -07:00
max1027.c spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
max1363.c iio: adc: max1363: leave sysfs naming to the core 2015-09-30 18:20:53 +01:00
mcp320x.c iio: adc: mcp320x: support more differential voltage measurement 2016-01-16 13:04:05 +00:00
mcp3422.c iio: adc: mcp3422: remove spaces before comma 2016-04-16 13:39:23 +01:00
men_z188_adc.c iio: adc: men_z188_adc: Add terminating entry for men_z188_ids 2014-11-15 16:12:04 +00:00
mxs-lradc.c iio: mxs-lradc: disable only masked channels in mxs_lradc_hw_stop 2016-05-04 10:44:28 +01:00
nau7802.c iio: adc: nau7802: Expose possible gains in sysfs 2016-05-21 20:15:04 +01:00
palmas_gpadc.c iio: adc: palmas: Drop IRQF_EARLY_RESUME flag 2016-02-27 17:20:52 +00:00
qcom-spmi-iadc.c iio: iadc: wait_for_completion_timeout time in jiffies 2015-01-10 11:43:26 +00:00
qcom-spmi-vadc.c iio: adc: spmi-vadc: add missing of_node_put 2015-11-21 18:24:44 +00:00
rockchip_saradc.c iio: adc: rockchip_saradc: add saradc support for rk3399 2016-03-20 10:27:25 +00:00
ti_am335x_adc.c iio:adc:ti_am335x_adc Fix buffered mode by identifying as software buffer. 2016-01-16 13:06:33 +00:00
ti-adc081c.c ti-adc081c: Initial triggered buffer support 2016-04-17 10:46:50 +01:00
ti-adc128s052.c iio:adc128s052: add support for adc124s021 2015-12-12 12:08:17 +00:00
ti-adc0832.c iio: adc: add support for ADC0831/ADC0832/ADC0834/ADC0838 chips 2016-02-09 22:22:32 +00:00
ti-ads1015.c iio: adc: ti-ads1015: add support for ADS1115 part 2016-05-21 17:49:27 +01:00
ti-ads8688.c iio: adc: Add TI ADS8688 2015-11-15 10:54:44 +00:00
twl4030-madc.c iio: adc: twl4030: Fix ADC[3:6] readings 2015-10-03 10:27:18 +01:00
twl6030-gpadc.c iio: adc: twl6030-gpadc: Fix module autoload for OF platform driver 2015-09-23 20:23:24 +01:00
vf610_adc.c iio: adc: vf610_adc: fix case label indent 2016-04-16 13:39:23 +01:00
viperboard_adc.c
xilinx-xadc-core.c First set of new device support, features and cleanups for IIO in the 4.5 cycle 2015-12-01 09:13:29 -08:00
xilinx-xadc-events.c
xilinx-xadc.h iio: adc: xilinx-xadc: Push interrupts into hardirq context 2015-08-16 10:51:27 +01:00