aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-bus-iio
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/ABI/testing/sysfs-bus-iio')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-iio22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index 7bf49ad8fd82..c60b0a1af839 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -856,6 +856,13 @@ Description:
856 number or direction is not specified, applies to all channels of 856 number or direction is not specified, applies to all channels of
857 this type. 857 this type.
858 858
859What: /sys/.../events/in_steps_instance_en
860KernelVersion: 3.19
861Contact: linux-iio@vger.kernel.org
862Description:
863 Enables or disables step detection. Each time the user takes a step an
864 event of this type will be generated.
865
859What: /sys/bus/iio/devices/iio:deviceX/trigger/current_trigger 866What: /sys/bus/iio/devices/iio:deviceX/trigger/current_trigger
860KernelVersion: 2.6.35 867KernelVersion: 2.6.35
861Contact: linux-iio@vger.kernel.org 868Contact: linux-iio@vger.kernel.org
@@ -1095,3 +1102,18 @@ Description:
1095 after application of scale and offset. If no offset or scale is 1102 after application of scale and offset. If no offset or scale is
1096 present, output should be considered as processed with the 1103 present, output should be considered as processed with the
1097 unit in milliamps. 1104 unit in milliamps.
1105
1106What: /sys/.../iio:deviceX/in_steps_en
1107KernelVersion: 3.19
1108Contact: linux-iio@vger.kernel.org
1109Description:
1110 Activates the step counter. After activation, the number of steps
1111 taken by the user will be counted in hardware and exported through
1112 in_steps_input.
1113
1114What: /sys/.../iio:deviceX/in_steps_input
1115KernelVersion: 3.19
1116Contact: linux-iio@vger.kernel.org
1117Description:
1118 This attribute is used to read the number of steps taken by the user
1119 since the last reboot while activated.