Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: ABI: testing: ad7192: update sysfs docs

Updated mainline documentation on ad7192 userspace sysfs.

Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Alexandru Tachici and committed by
Jonathan Cameron
7e4d7593 66614ab2

+18 -26
+18 -6
Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192
··· 2 2 KernelVersion: 3 3 Contact: linux-iio@vger.kernel.org 4 4 Description: 5 - Reading gives the state of AC excitation. 6 - Writing '1' enables AC excitation. 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. 7 9 8 10 What: /sys/bus/iio/devices/iio:deviceX/bridge_switch_en 9 11 KernelVersion: 10 12 Contact: linux-iio@vger.kernel.org 11 13 Description: 12 - This bridge switch is used to disconnect it when there is a 13 - need to minimize the system current consumption. 14 - Reading gives the state of the bridge switch. 15 - Writing '1' enables the bridge switch. 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. 16 21 17 22 What: /sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration 18 23 KernelVersion: ··· 25 20 Description: 26 21 Initiates the system calibration procedure. This is done on a 27 22 single channel at a time. Write '1' to start the calibration. 23 + 24 + What: /sys/bus/iio/devices/iio:deviceX/in_voltage2-voltage2_shorted_raw 25 + KernelVersion: 26 + Contact: linux-iio@vger.kernel.org 27 + Description: 28 + Measure voltage from AIN2 pin connected to AIN(+) 29 + and AIN(-) shorted. 28 30 29 31 What: /sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration_mode_available 30 32 KernelVersion:
-20
drivers/staging/iio/Documentation/sysfs-bus-iio-ad7192
··· 1 - What: /sys/.../iio:deviceX/ac_excitation_en 2 - KernelVersion: 3.1.0 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/.../iio:deviceX/bridge_switch_en 11 - KernelVersion: 3.1.0 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.