summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2016-11-08 12:58:53 +0100
committerJonathan Cameron <jic23@kernel.org>2016-11-13 11:40:26 +0000
commit2704e30014dd2f4e27675abda414e91de5bef8a4 (patch)
tree343e56ff8e953f0a5e8c82f2bc5872075082d316 /Documentation/ABI
parent00c5f80c2fad5368cd5bfa6c9d90e75a9041ac16 (diff)
downloadlinux-2704e30014dd2f4e27675abda414e91de5bef8a4.tar.gz
linux-2704e30014dd2f4e27675abda414e91de5bef8a4.tar.bz2
linux-2704e30014dd2f4e27675abda414e91de5bef8a4.zip
iio: mcp4531: provide range of available raw values
Example: $ cat '/sys/bus/iio/devices/iio:device0/out_resistance_raw_available' [0 1 256] Meaning: min 0, step 1 and max 256. Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-iio-potentiometer-mcp45318
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-iio-potentiometer-mcp4531 b/Documentation/ABI/testing/sysfs-bus-iio-potentiometer-mcp4531
new file mode 100644
index 000000000000..2a91fbe394fc
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-potentiometer-mcp4531
@@ -0,0 +1,8 @@
+What: /sys/bus/iio/devices/iio:deviceX/out_resistance_raw_available
+Date: October 2016
+KernelVersion: 4.9
+Contact: Peter Rosin <peda@axentia.se>
+Description:
+ The range of available values represented as the minimum value,
+ the step and the maximum value, all enclosed in square brackets.
+ Example: [0 1 256]