diff options
Diffstat (limited to 'Documentation/ABI/testing/sysfs-bus-iio')
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-iio | 22 |
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 | ||
859 | What: /sys/.../events/in_steps_instance_en | ||
860 | KernelVersion: 3.19 | ||
861 | Contact: linux-iio@vger.kernel.org | ||
862 | Description: | ||
863 | Enables or disables step detection. Each time the user takes a step an | ||
864 | event of this type will be generated. | ||
865 | |||
859 | What: /sys/bus/iio/devices/iio:deviceX/trigger/current_trigger | 866 | What: /sys/bus/iio/devices/iio:deviceX/trigger/current_trigger |
860 | KernelVersion: 2.6.35 | 867 | KernelVersion: 2.6.35 |
861 | Contact: linux-iio@vger.kernel.org | 868 | Contact: 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 | |||
1106 | What: /sys/.../iio:deviceX/in_steps_en | ||
1107 | KernelVersion: 3.19 | ||
1108 | Contact: linux-iio@vger.kernel.org | ||
1109 | Description: | ||
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 | |||
1114 | What: /sys/.../iio:deviceX/in_steps_input | ||
1115 | KernelVersion: 3.19 | ||
1116 | Contact: linux-iio@vger.kernel.org | ||
1117 | Description: | ||
1118 | This attribute is used to read the number of steps taken by the user | ||
1119 | since the last reboot while activated. | ||