aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Titinger <mtitinger@baylibre.com>2015-12-14 06:01:10 -0500
committerJonathan Cameron <jic23@kernel.org>2015-12-19 10:08:00 -0500
commit6e17c98a004c921e07bdecdb8cc2320488f88759 (patch)
tree5febfbf5dbf79fe3db51114036f588fbc14c184a
parent75e1a3a789e1f7437e4d369a5ba45ebd5dd24490 (diff)
iio: ina2xx: add ABI documentation entry sysfs-bus-iio-ina2xx-adc
Documentation for attributes: * in_allow_async_readout * in_shunt_resistor Signed-off-by: Marc Titinger <mtitinger@baylibre.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r--Documentation/ABI/testing/sysfs-bus-iio-ina2xx-adc24
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-iio-ina2xx-adc b/Documentation/ABI/testing/sysfs-bus-iio-ina2xx-adc
new file mode 100644
index 000000000000..8916f7ec6507
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-ina2xx-adc
@@ -0,0 +1,24 @@
1What: /sys/bus/iio/devices/iio:deviceX/in_allow_async_readout
2Date: December 2015
3KernelVersion: 4.4
4Contact: linux-iio@vger.kernel.org
5Description:
6 By default (value '0'), the capture thread checks for the Conversion
7 Ready Flag to being set prior to committing a new value to the sample
8 buffer. This synchronizes the in-chip conversion rate with the
9 in-driver readout rate at the cost of an additional register read.
10
11 Writing '1' will remove the polling for the Conversion Ready Flags to
12 save the additional i2c transaction, which will improve the bandwidth
13 available for reading data. However, samples can be occasionally skipped
14 or repeated, depending on the beat between the capture and conversion
15 rates.
16
17What: /sys/bus/iio/devices/iio:deviceX/in_shunt_resistor
18Date: December 2015
19KernelVersion: 4.4
20Contact: linux-iio@vger.kernel.org
21Description:
22 The value of the shunt resistor may be known only at runtime fom an
23 eeprom content read by a client application. This attribute allows to
24 set its value in ohms.