Merge tag 'hyperv-next-signed-20201214' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / Documentation / ABI / testing / sysfs-bus-iio-adc-ad7192
1 What:           /sys/bus/iio/devices/iio:deviceX/ac_excitation_en
2 KernelVersion:
3 Contact:        linux-iio@vger.kernel.org
4 Description:
5                 This attribute, if available, is used to enable the AC
6                 excitation mode found on some converters. In ac excitation mode,
7                 the polarity of the excitation voltage is reversed on
8                 alternate cycles, to eliminate DC errors.
9
10 What:           /sys/bus/iio/devices/iio:deviceX/bridge_switch_en
11 KernelVersion:
12 Contact:        linux-iio@vger.kernel.org
13 Description:
14                 This attribute, if available, is used to close or open the
15                 bridge power down switch found on some converters.
16                 In bridge applications, such as strain gauges and load cells,
17                 the bridge itself consumes the majority of the current in the
18                 system. To minimize the current consumption of the system,
19                 the bridge can be disconnected (when it is not being used
20                 using the bridge_switch_en attribute.
21
22 What:           /sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration
23 KernelVersion:
24 Contact:        linux-iio@vger.kernel.org
25 Description:
26                 Initiates the system calibration procedure. This is done on a
27                 single channel at a time. Write '1' to start the calibration.
28
29 What:           /sys/bus/iio/devices/iio:deviceX/in_voltage2-voltage2_shorted_raw
30 KernelVersion:
31 Contact:        linux-iio@vger.kernel.org
32 Description:
33                 Measure voltage from AIN2 pin connected to AIN(+)
34                 and AIN(-) shorted.
35
36 What:           /sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration_mode_available
37 KernelVersion:
38 Contact:        linux-iio@vger.kernel.org
39 Description:
40                 Reading returns a list with the possible calibration modes.
41                 There are two available options:
42                 "zero_scale" - calibrate to zero scale
43                 "full_scale" - calibrate to full scale
44
45 What:           /sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration_mode
46 KernelVersion:
47 Contact:        linux-iio@vger.kernel.org
48 Description:
49                 Sets up the calibration mode used in the system calibration
50                 procedure. Reading returns the current calibration mode.
51                 Writing sets the system calibration mode.