linux_dsm_epyc7002/drivers/iio
Stefan Popa 6bf229abce iio: adc: ad7606: Move oversampling options in chip info and rework *_avail attributes
Available oversampling ratios and scales can be shown by calling a
common ad7606_show_avail function which takes as parameters the array
which stores the values, together with the size of the array.

Oversampling options are now defined in chip info
structure and they are loaded at probe.

Has_Oversampling attribute was removed because oversampling_num was added
and it is not needed anymore.

The purpose of this patch is to deal with the scale_avail and
oversampling_avail arrays in a generic way. This makes it easier to add
support for new devices which will work with different scales and
oversampling ratios. It is also an intermediate step for adding support
for ad7616 which has different oversampling sampling ratios available.

Signed-off-by: Stefan Popa <stefan.popa@analog.com>
Signed-off-by: Beniamin Bia <beniamin.bia@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2019-04-14 13:22:29 +01:00
..
accel iio: cros_ec: Switch to SPDX identifier. 2019-04-04 20:19:58 +01:00
adc iio: adc: ad7606: Move oversampling options in chip info and rework *_avail attributes 2019-04-14 13:22:29 +01:00
afe
amplifiers drivers: iio: Update MODULE AUTHOR email address 2018-08-19 17:23:39 +01:00
buffer iio: buffer: Switch to bitmap_zalloc() 2019-04-04 20:19:51 +01:00
chemical drivers: iio: Kconfig: pedantic cleanup 2019-04-04 20:19:56 +01:00
common iio: cros_ec: Switch to SPDX identifier. 2019-04-04 20:19:58 +01:00
counter iio: counter: stm32-lptimer: Add power management support 2019-04-04 20:19:45 +01:00
dac iio:dac:ad5064 mlock cleanup - move to a local lock. 2019-04-04 20:19:57 +01:00
dummy
frequency iio: frequency: ad9523: Fix typo in ad9523_platform_data 2019-04-04 20:20:58 +01:00
gyro iio: gyro: bmg160: add device tree compatibility table 2019-04-04 20:20:52 +01:00
health iio: health: max30102: Mark expected switch fall-throughs 2018-08-19 17:21:35 +01:00
humidity drivers: iio: Kconfig: pedantic cleanup 2019-04-04 20:19:56 +01:00
imu iio: imu: st_lsm6dsx: add support to LSM6DSR 2019-04-07 11:29:43 +01:00
light iio: light: vcnl4000 add support for the VCNL4040 proximity and light sensor 2019-04-04 20:20:47 +01:00
magnetometer iio: hmc5843: fix potential NULL pointer dereferences 2019-04-04 20:20:14 +01:00
multiplexer iio: multiplexer: switch to SPDX license identifier 2018-08-20 19:28:26 +01:00
orientation iio/hid-sensors: Fix IIO_CHAN_INFO_RAW returning wrong values for signed numbers 2018-11-16 11:42:12 +00:00
potentiometer drivers: iio: Kconfig: pedantic cleanup 2019-04-04 20:19:56 +01:00
potentiostat iio:potentiostat:lmp91000: change dev_err message 2019-04-04 20:19:55 +01:00
pressure iio: cros_ec: Switch to SPDX identifier. 2019-04-04 20:19:58 +01:00
proximity mb1232.c: add distance iio sensor with i2c 2019-04-04 20:20:17 +01:00
resolver staging:iio:ad2s90: Move out of staging 2018-12-01 15:40:39 +00:00
temperature iio:temperature: Add MAX31856 thermocouple support 2019-04-04 20:21:05 +01:00
trigger iio: remove redundant unlikely annotation 2019-04-04 20:19:40 +01:00
iio_core_trigger.h
iio_core.h
industrialio-buffer.c iio: buffer: Switch to bitmap_zalloc() 2019-04-04 20:19:51 +01:00
industrialio-configfs.c
industrialio-core.c iio: Allow to read mount matrix from ACPI 2019-04-04 20:19:46 +01:00
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c iio: trigger: Print an error if there is no available irq 2019-04-04 20:19:41 +01:00
industrialio-triggered-event.c
inkern.c
Kconfig drivers: iio: Kconfig: pedantic cleanup 2019-04-04 20:19:56 +01:00
Makefile