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
..
ad799x.c iio: adc: ad799x: remove space before comma 2016-04-16 13:39:25 +01:00
ad7266.c
ad7291.c
ad7298.c
ad7476.c
ad7791.c
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
ad7923.c
ad_sigma_delta.c
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
cc10001_adc.c
da9150-gpadc.c
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
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
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
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
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
twl6030-gpadc.c
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