Mention branches and keyring.
[releases.git] / ABI / testing / sysfs-bus-iio
1 What:           /sys/bus/iio/devices/iio:deviceX
2 KernelVersion:  2.6.35
3 Contact:        linux-iio@vger.kernel.org
4 Description:
5                 Hardware chip or device accessed by one communication port.
6                 Corresponds to a grouping of sensor channels. X is the IIO
7                 index of the device.
8
9 What:           /sys/bus/iio/devices/triggerX
10 KernelVersion:  2.6.35
11 Contact:        linux-iio@vger.kernel.org
12 Description:
13                 An event driven driver of data capture to an in kernel buffer.
14                 May be provided by a device driver that also has an IIO device
15                 based on hardware generated events (e.g. data ready) or
16                 provided by a separate driver for other hardware (e.g.
17                 periodic timer, GPIO or high resolution timer).
18
19                 Contains trigger type specific elements. These do not
20                 generalize well and hence are not documented in this file.
21                 X is the IIO index of the trigger.
22
23 What:           /sys/bus/iio/devices/iio:deviceX/buffer
24 KernelVersion:  2.6.35
25 Contact:        linux-iio@vger.kernel.org
26 Description:
27                 Directory of attributes relating to the buffer for the device.
28
29 What:           /sys/bus/iio/devices/iio:deviceX/name
30 KernelVersion:  2.6.35
31 Contact:        linux-iio@vger.kernel.org
32 Description:
33                 Description of the physical chip / device for device X.
34                 Typically a part number.
35
36 What:           /sys/bus/iio/devices/iio:deviceX/label
37 KernelVersion:  5.8
38 Contact:        linux-iio@vger.kernel.org
39 Description:
40                 Optional symbolic label for a device.
41                 This is useful for userspace to be able to better identify an
42                 individual device.
43
44                 The contents of the label are free-form, but there are some
45                 standardized uses:
46
47                 For proximity sensors which give the proximity (of a person) to
48                 a certain wlan or wwan antenna the following standardized labels
49                 are used:
50
51                 * "proximity-wifi"
52                 * "proximity-lte"
53                 * "proximity-wifi-lte"
54                 * "proximity-wifi-left"
55                 * "proximity-wifi-right"
56
57                 These are used to indicate to userspace that these proximity
58                 sensors may be used to tune transmit power to ensure that
59                 Specific Absorption Rate (SAR) limits are honored.
60                 The "-left" and "-right" labels are for devices with multiple
61                 antennas.
62
63                 In some laptops/tablets the standardized proximity sensor labels
64                 instead indicate proximity to a specific part of the device:
65
66                 * "proximity-palmrest" indicates proximity to the keyboard's palmrest
67                 * "proximity-palmrest-left" indicates proximity to the left part of the palmrest
68                 * "proximity-palmrest-right" indicates proximity to the right part of the palmrest
69                 * "proximity-lap" indicates the device is being used on someone's lap
70
71                 Note "proximity-lap" is special in that its value may be
72                 calculated by firmware from other sensor readings, rather then
73                 being a raw sensor reading.
74
75                 For accelerometers used in 2-in-1s with 360° (yoga-style) hinges,
76                 which have an accelerometer in both their base and their display,
77                 the following standardized labels are used:
78
79                 * "accel-base"
80                 * "accel-display"
81
82 What:           /sys/bus/iio/devices/iio:deviceX/current_timestamp_clock
83 KernelVersion:  4.5
84 Contact:        linux-iio@vger.kernel.org
85 Description:
86                 String identifying current posix clock used to timestamp
87                 buffered samples and events for device X.
88
89 What:           /sys/bus/iio/devices/iio:deviceX/sampling_frequency
90 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency
91 What:           /sys/bus/iio/devices/iio:deviceX/buffer/sampling_frequency
92 What:           /sys/bus/iio/devices/triggerX/sampling_frequency
93 KernelVersion:  2.6.35
94 Contact:        linux-iio@vger.kernel.org
95 Description:
96                 Some devices have internal clocks.  This parameter sets the
97                 resulting sampling frequency.  In many devices this
98                 parameter has an effect on input filters etc. rather than
99                 simply controlling when the input is sampled.  As this
100                 affects data ready triggers, hardware buffers and the sysfs
101                 direct access interfaces, it may be found in any of the
102                 relevant directories.  If it affects all of the above
103                 then it is to be found in the base device directory.
104
105 What:           /sys/bus/iio/devices/iio:deviceX/sampling_frequency_available
106 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency_available
107 What:           /sys/bus/iio/devices/iio:deviceX/in_proximity_sampling_frequency_available
108 What:           /sys/.../iio:deviceX/buffer/sampling_frequency_available
109 What:           /sys/bus/iio/devices/triggerX/sampling_frequency_available
110 KernelVersion:  2.6.35
111 Contact:        linux-iio@vger.kernel.org
112 Description:
113                 When the internal sampling clock can only take a specific set of
114                 frequencies, we can specify the available values with:
115
116                 - a small discrete set of values like "0 2 4 6 8"
117                 - a range with minimum, step and maximum frequencies like
118                   "[min step max]"
119
120 What:           /sys/bus/iio/devices/iio:deviceX/oversampling_ratio
121 KernelVersion:  2.6.38
122 Contact:        linux-iio@vger.kernel.org
123 Description:
124                 Hardware dependent ADC oversampling. Controls the sampling ratio
125                 of the digital filter if available.
126
127 What:           /sys/bus/iio/devices/iio:deviceX/oversampling_ratio_available
128 KernelVersion:  2.6.38
129 Contact:        linux-iio@vger.kernel.org
130 Description:
131                 Hardware dependent values supported by the oversampling filter.
132
133 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_raw
134 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_raw
135 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_raw
136 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_raw
137 KernelVersion:  2.6.35
138 Contact:        linux-iio@vger.kernel.org
139 Description:
140                 Raw (unscaled no bias removal etc.) voltage measurement from
141                 channel Y. In special cases where the channel does not
142                 correspond to externally available input one of the named
143                 versions may be used. The number must always be specified and
144                 unique to allow association with event codes. Units after
145                 application of scale and offset are millivolts.
146
147                 Channels with 'i' and 'q' modifiers always exist in pairs and both
148                 channels refer to the same signal. The 'i' channel contains the in-phase
149                 component of the signal while the 'q' channel contains the quadrature
150                 component.
151
152 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_raw
153 KernelVersion:  2.6.35
154 Contact:        linux-iio@vger.kernel.org
155 Description:
156                 Raw (unscaled) differential voltage measurement equivalent to
157                 channel Y - channel Z where these channel numbers apply to the
158                 physically equivalent inputs when non differential readings are
159                 separately available. In differential only parts, then all that
160                 is required is a consistent labeling.  Units after application
161                 of scale and offset are millivolts.
162
163 What:           /sys/bus/iio/devices/iio:deviceX/in_currentY_raw
164 What:           /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_raw
165 KernelVersion:  3.17
166 Contact:        linux-iio@vger.kernel.org
167 Description:
168                 Raw (unscaled no bias removal etc.) current measurement from
169                 channel Y. In special cases where the channel does not
170                 correspond to externally available input one of the named
171                 versions may be used. The number must always be specified and
172                 unique to allow association with event codes. Units after
173                 application of scale and offset are milliamps.
174
175 What:           /sys/bus/iio/devices/iio:deviceX/in_powerY_raw
176 KernelVersion:  4.5
177 Contact:        linux-iio@vger.kernel.org
178 Description:
179                 Raw (unscaled no bias removal etc.) power measurement from
180                 channel Y. The number must always be specified and
181                 unique to allow association with event codes. Units after
182                 application of scale and offset are milliwatts.
183
184 What:           /sys/bus/iio/devices/iio:deviceX/in_capacitanceY_raw
185 KernelVersion:  3.2
186 Contact:        linux-iio@vger.kernel.org
187 Description:
188                 Raw capacitance measurement from channel Y. Units after
189                 application of scale and offset are nanofarads.
190
191 What:           /sys/.../iio:deviceX/in_capacitanceY-in_capacitanceZ_raw
192 KernelVersion:  3.2
193 Contact:        linux-iio@vger.kernel.org
194 Description:
195                 Raw differential capacitance measurement equivalent to
196                 channel Y - channel Z where these channel numbers apply to the
197                 physically equivalent inputs when non differential readings are
198                 separately available. In differential only parts, then all that
199                 is required is a consistent labeling.  Units after application
200                 of scale and offset are nanofarads.
201
202 What:           /sys/bus/iio/devices/iio:deviceX/in_temp_raw
203 What:           /sys/bus/iio/devices/iio:deviceX/in_tempX_raw
204 What:           /sys/bus/iio/devices/iio:deviceX/in_temp_x_raw
205 What:           /sys/bus/iio/devices/iio:deviceX/in_temp_y_raw
206 What:           /sys/bus/iio/devices/iio:deviceX/in_temp_ambient_raw
207 What:           /sys/bus/iio/devices/iio:deviceX/in_temp_object_raw
208 KernelVersion:  2.6.35
209 Contact:        linux-iio@vger.kernel.org
210 Description:
211                 Raw (unscaled no bias removal etc.) temperature measurement.
212                 If an axis is specified it generally means that the temperature
213                 sensor is associated with one part of a compound device (e.g.
214                 a gyroscope axis). The ambient and object modifiers distinguish
215                 between ambient (reference) and distant temperature for contact-
216                 less measurements. Units after application of scale and offset
217                 are milli degrees Celsius.
218
219 What:           /sys/bus/iio/devices/iio:deviceX/in_tempX_input
220 KernelVersion:  2.6.38
221 Contact:        linux-iio@vger.kernel.org
222 Description:
223                 Scaled temperature measurement in milli degrees Celsius.
224
225 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_x_raw
226 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_y_raw
227 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_z_raw
228 KernelVersion:  2.6.35
229 Contact:        linux-iio@vger.kernel.org
230 Description:
231                 Acceleration in direction x, y or z (may be arbitrarily assigned
232                 but should match other such assignments on device).
233                 Has all of the equivalent parameters as per voltageY. Units
234                 after application of scale and offset are m/s^2.
235
236 What:           /sys/bus/iio/devices/iio:deviceX/in_gravity_x_raw
237 What:           /sys/bus/iio/devices/iio:deviceX/in_gravity_y_raw
238 What:           /sys/bus/iio/devices/iio:deviceX/in_gravity_z_raw
239 KernelVersion:  4.11
240 Contact:        linux-iio@vger.kernel.org
241 Description:
242                 Gravity in direction x, y or z (may be arbitrarily assigned
243                 but should match other such assignments on device).
244                 Units after application of scale and offset are m/s^2.
245
246 What:           /sys/bus/iio/devices/iio:deviceX/in_angl_raw
247 What:           /sys/bus/iio/devices/iio:deviceX/in_anglY_raw
248 KernelVersion:  4.17
249 Contact:        linux-iio@vger.kernel.org
250 Description:
251                 Angle of rotation. Units after application of scale and offset
252                 are radians.
253
254 What:           /sys/bus/iio/devices/iio:deviceX/in_positionrelative_x_raw
255 What:           /sys/bus/iio/devices/iio:deviceX/in_positionrelative_y_raw
256 KernelVersion:  4.19
257 Contact:        linux-iio@vger.kernel.org
258 Description:
259                 Relative position in direction x or y on a pad (may be
260                 arbitrarily assigned but should match other such assignments on
261                 device).
262                 Units after application of scale and offset are milli percents
263                 from the pad's size in both directions. Should be calibrated by
264                 the consumer.
265
266 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_raw
267 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_raw
268 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_raw
269 KernelVersion:  2.6.35
270 Contact:        linux-iio@vger.kernel.org
271 Description:
272                 Angular velocity about axis x, y or z (may be arbitrarily
273                 assigned). Has all the equivalent parameters as per voltageY.
274                 Units after application of scale and offset are radians per
275                 second.
276
277 What:           /sys/bus/iio/devices/iio:deviceX/in_incli_x_raw
278 What:           /sys/bus/iio/devices/iio:deviceX/in_incli_y_raw
279 What:           /sys/bus/iio/devices/iio:deviceX/in_incli_z_raw
280 KernelVersion:  2.6.35
281 Contact:        linux-iio@vger.kernel.org
282 Description:
283                 Inclination raw reading about axis x, y or z (may be
284                 arbitrarily assigned). Data converted by application of offset
285                 and scale to degrees.
286
287 What:           /sys/bus/iio/devices/iio:deviceX/in_magn_x_raw
288 What:           /sys/bus/iio/devices/iio:deviceX/in_magn_y_raw
289 What:           /sys/bus/iio/devices/iio:deviceX/in_magn_z_raw
290 KernelVersion:  2.6.35
291 Contact:        linux-iio@vger.kernel.org
292 Description:
293                 Magnetic field along axis x, y or z (may be arbitrarily
294                 assigned).  Data converted by application of offset
295                 then scale to Gauss.
296
297 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_x_peak_raw
298 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_y_peak_raw
299 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_z_peak_raw
300 KernelVersion:  2.6.36
301 Contact:        linux-iio@vger.kernel.org
302 Description:
303                 Highest value since some reset condition.  These
304                 attributes allow access to this and are otherwise
305                 the direct equivalent of the <type>Y[_name]_raw attributes.
306
307 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_xyz_squared_peak_raw
308 KernelVersion:  2.6.36
309 Contact:        linux-iio@vger.kernel.org
310 Description:
311                 A computed peak value based on the sum squared magnitude of
312                 the underlying value in the specified directions.
313
314 What:           /sys/bus/iio/devices/iio:deviceX/in_pressureY_raw
315 What:           /sys/bus/iio/devices/iio:deviceX/in_pressure_raw
316 KernelVersion:  3.8
317 Contact:        linux-iio@vger.kernel.org
318 Description:
319                 Raw pressure measurement from channel Y. Units after
320                 application of scale and offset are kilopascal.
321
322 What:           /sys/bus/iio/devices/iio:deviceX/in_pressureY_input
323 What:           /sys/bus/iio/devices/iio:deviceX/in_pressure_input
324 KernelVersion:  3.8
325 Contact:        linux-iio@vger.kernel.org
326 Description:
327                 Scaled pressure measurement from channel Y, in kilopascal.
328
329 What:           /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_raw
330 KernelVersion:  3.14
331 Contact:        linux-iio@vger.kernel.org
332 Description:
333                 Raw humidity measurement of air. Units after application of
334                 scale and offset are milli percent.
335
336 What:           /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_input
337 KernelVersion:  3.14
338 Contact:        linux-iio@vger.kernel.org
339 Description:
340                 Scaled humidity measurement in milli percent.
341
342 What:           /sys/bus/iio/devices/iio:deviceX/in_X_mean_raw
343 KernelVersion:  3.5
344 Contact:        linux-iio@vger.kernel.org
345 Description:
346                 Averaged raw measurement from channel X. The number of values
347                 used for averaging is device specific. The converting rules for
348                 normal raw values also applies to the averaged raw values.
349
350 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_offset
351 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_x_offset
352 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_y_offset
353 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_z_offset
354 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_offset
355 What:           /sys/bus/iio/devices/iio:deviceX/in_voltage_offset
356 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_offset
357 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_offset
358 What:           /sys/bus/iio/devices/iio:deviceX/in_voltage_q_offset
359 What:           /sys/bus/iio/devices/iio:deviceX/in_voltage_i_offset
360 What:           /sys/bus/iio/devices/iio:deviceX/in_currentY_offset
361 What:           /sys/bus/iio/devices/iio:deviceX/in_current_offset
362 What:           /sys/bus/iio/devices/iio:deviceX/in_currentY_i_offset
363 What:           /sys/bus/iio/devices/iio:deviceX/in_currentY_q_offset
364 What:           /sys/bus/iio/devices/iio:deviceX/in_current_q_offset
365 What:           /sys/bus/iio/devices/iio:deviceX/in_current_i_offset
366 What:           /sys/bus/iio/devices/iio:deviceX/in_tempY_offset
367 What:           /sys/bus/iio/devices/iio:deviceX/in_temp_offset
368 What:           /sys/bus/iio/devices/iio:deviceX/in_pressureY_offset
369 What:           /sys/bus/iio/devices/iio:deviceX/in_pressure_offset
370 What:           /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_offset
371 What:           /sys/bus/iio/devices/iio:deviceX/in_magn_offset
372 What:           /sys/bus/iio/devices/iio:deviceX/in_rot_offset
373 What:           /sys/bus/iio/devices/iio:deviceX/in_angl_offset
374 What:           /sys/bus/iio/devices/iio:deviceX/in_capacitanceX_offset
375 KernelVersion:  2.6.35
376 Contact:        linux-iio@vger.kernel.org
377 Description:
378                 If known for a device, offset to be added to <type>[Y]_raw prior
379                 to scaling by <type>[Y]_scale in order to obtain value in the
380                 <type> units as specified in <type>[Y]_raw documentation.
381                 Not present if the offset is always 0 or unknown. If Y or
382                 axis <x|y|z> is not present, then the offset applies to all
383                 in channels of <type>.
384                 May be writable if a variable offset can be applied on the
385                 device. Note that this is different to calibbias which
386                 is for devices (or drivers) that apply offsets to compensate
387                 for variation between different instances of the part, typically
388                 adjusted by using some hardware supported calibration procedure.
389                 Calibbias is applied internally, offset is applied in userspace
390                 to the _raw output.
391
392 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_scale
393 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_scale
394 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_scale
395 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale
396 What:           /sys/bus/iio/devices/iio:deviceX/in_voltage_scale
397 What:           /sys/bus/iio/devices/iio:deviceX/in_voltage_i_scale
398 What:           /sys/bus/iio/devices/iio:deviceX/in_voltage_q_scale
399 What:           /sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_scale
400 What:           /sys/bus/iio/devices/iio:deviceX/out_voltageY_scale
401 What:           /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale
402 What:           /sys/bus/iio/devices/iio:deviceX/in_currentY_scale
403 What:           /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_scale
404 What:           /sys/bus/iio/devices/iio:deviceX/in_current_scale
405 What:           /sys/bus/iio/devices/iio:deviceX/in_currentY_i_scale
406 What:           /sys/bus/iio/devices/iio:deviceX/in_currentY_q_scale
407 What:           /sys/bus/iio/devices/iio:deviceX/in_current_i_scale
408 What:           /sys/bus/iio/devices/iio:deviceX/in_current_q_scale
409 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_scale
410 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale
411 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_scale
412 What:           /sys/bus/iio/devices/iio:deviceX/in_energy_scale
413 What:           /sys/bus/iio/devices/iio:deviceX/in_distance_scale
414 What:           /sys/bus/iio/devices/iio:deviceX/in_magn_scale
415 What:           /sys/bus/iio/devices/iio:deviceX/in_magn_x_scale
416 What:           /sys/bus/iio/devices/iio:deviceX/in_magn_y_scale
417 What:           /sys/bus/iio/devices/iio:deviceX/in_magn_z_scale
418 What:           /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_scale
419 What:           /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_scale
420 What:           /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_scale
421 What:           /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_scale
422 What:           /sys/bus/iio/devices/iio:deviceX/in_pressureY_scale
423 What:           /sys/bus/iio/devices/iio:deviceX/in_pressure_scale
424 What:           /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_scale
425 What:           /sys/bus/iio/devices/iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_scale
426 What:           /sys/bus/iio/devices/iio:deviceX/in_illuminance_scale
427 What:           /sys/bus/iio/devices/iio:deviceX/in_countY_scale
428 What:           /sys/bus/iio/devices/iio:deviceX/in_angl_scale
429 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_x_scale
430 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_y_scale
431 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_z_scale
432 What:           /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_scale
433 KernelVersion:  2.6.35
434 Contact:        linux-iio@vger.kernel.org
435 Description:
436                 If known for a device, scale to be applied to <type>Y[_name]_raw
437                 post addition of <type>[Y][_name]_offset in order to obtain the
438                 measured value in <type> units as specified in
439                 <type>[Y][_name]_raw documentation.  If shared across all in
440                 channels then Y and <x|y|z> are not present and the value is
441                 called <type>[Y][_name]_scale. The peak modifier means this
442                 value is applied to <type>Y[_name]_peak_raw values.
443
444 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibbias
445 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibbias
446 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibbias
447 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibbias
448 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibbias
449 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibbias
450 What:           /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibbias
451 What:           /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibbias
452 What:           /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibbias
453 What:           /sys/bus/iio/devices/iio:deviceX/in_pressure_calibbias
454 KernelVersion:  2.6.35
455 Contact:        linux-iio@vger.kernel.org
456 Description:
457                 Hardware applied calibration offset (assumed to fix production
458                 inaccuracies).
459                 icm42600: For this device values are real physical offsets
460                 expressed in SI units (m/s^2 for accelerometers and rad/s
461                 for gyroscope)/
462
463 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_calibbias_available
464 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_calibbias_available
465 KernelVersion:  5.8
466 Contact:        linux-iio@vger.kernel.org
467 Description:
468                 Available values of calibbias. Maybe expressed as either of:
469
470                 - a small discrete set of values like "0 2 4 6 8"
471                 - a range specified as "[min step max]"
472
473 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale
474 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_calibscale
475 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_calibscale
476 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_calibscale
477 What:           /sys/bus/iio/devices/iio:deviceX/in_voltage_i_calibscale
478 What:           /sys/bus/iio/devices/iio:deviceX/in_voltage_q_calibscale
479 What:           /sys/bus/iio/devices/iio:deviceX/in_altvoltage_calibscale
480 What:           /sys/bus/iio/devices/iio:deviceX/in_voltage_calibscale
481 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibscale
482 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibscale
483 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibscale
484 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibscale
485 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibscale
486 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibscale
487 What:           /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibscale
488 What:           /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale
489 What:           /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale
490 What:           /sys/bus/iio/devices/iio:deviceX/in_pressure_calibscale
491 What:           /sys/bus/iio/devices/iio:deviceX/in_illuminance_calibscale
492 KernelVersion:  2.6.35
493 Contact:        linux-iio@vger.kernel.org
494 Description:
495                 Hardware applied calibration scale factor (assumed to fix
496                 production inaccuracies).  If shared across all channels,
497                 <type>_calibscale is used.
498
499 What:           /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender
500 What:           /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender
501 What:           /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender
502 What:           /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender
503 KernelVersion:  4.0
504 Contact:        linux-iio@vger.kernel.org
505 Description:
506                 Gender of the user (e.g.: male, female) used by some pedometers
507                 to compute the stride length, distance, speed and activity
508                 type.
509
510 What:           /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender_available
511 What:           /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender_available
512 What:           /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender_available
513 What:           /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender_available
514 KernelVersion:  4.0
515 Contact:        linux-iio@vger.kernel.org
516 Description:
517                 Lists all available gender values (e.g.: male, female).
518
519 What:           /sys/bus/iio/devices/iio:deviceX/in_activity_calibheight
520 What:           /sys/bus/iio/devices/iio:deviceX/in_energy_calibheight
521 What:           /sys/bus/iio/devices/iio:deviceX/in_distance_calibheight
522 What:           /sys/bus/iio/devices/iio:deviceX/in_velocity_calibheight
523 KernelVersion:  3.19
524 Contact:        linux-iio@vger.kernel.org
525 Description:
526                 Height of the user (in meters) used by some pedometers
527                 to compute the stride length, distance, speed and activity
528                 type.
529
530 What:           /sys/bus/iio/devices/iio:deviceX/in_energy_calibweight
531 KernelVersion:  4.0
532 Contact:        linux-iio@vger.kernel.org
533 Description:
534                 Weight of the user (in kg). It is needed by some pedometers
535                 to compute the calories burnt by the user.
536
537 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_scale_available
538 What:           /sys/.../iio:deviceX/in_anglvel_scale_available
539 What:           /sys/.../iio:deviceX/in_magn_scale_available
540 What:           /sys/.../iio:deviceX/in_illuminance_scale_available
541 What:           /sys/.../iio:deviceX/in_intensity_scale_available
542 What:           /sys/.../iio:deviceX/in_proximity_scale_available
543 What:           /sys/.../iio:deviceX/in_voltageX_scale_available
544 What:           /sys/.../iio:deviceX/in_voltage-voltage_scale_available
545 What:           /sys/.../iio:deviceX/out_voltageX_scale_available
546 What:           /sys/.../iio:deviceX/out_altvoltageX_scale_available
547 What:           /sys/.../iio:deviceX/in_capacitance_scale_available
548 What:           /sys/.../iio:deviceX/in_pressure_scale_available
549 What:           /sys/.../iio:deviceX/in_pressureY_scale_available
550 KernelVersion:  2.6.35
551 Contact:        linux-iio@vger.kernel.org
552 Description:
553                 If a discrete set of scale values is available, they
554                 are listed in this attribute.
555
556 What:           /sys/bus/iio/devices/iio:deviceX/out_voltageY_hardwaregain
557 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain
558 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_red_hardwaregain
559 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_green_hardwaregain
560 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_blue_hardwaregain
561 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_clear_hardwaregain
562 KernelVersion:  2.6.35
563 Contact:        linux-iio@vger.kernel.org
564 Description:
565                 Hardware applied gain factor. If shared across all channels,
566                 <type>_hardwaregain is used.
567
568 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain_available
569 KernelVersion:  5.10
570 Contact:        linux-iio@vger.kernel.org
571 Description:
572                 Lists all available hardware applied gain factors. Shared across all
573                 channels.
574
575 What:           /sys/.../in_accel_filter_low_pass_3db_frequency
576 What:           /sys/.../in_magn_filter_low_pass_3db_frequency
577 What:           /sys/.../in_anglvel_filter_low_pass_3db_frequency
578 KernelVersion:  3.2
579 Contact:        linux-iio@vger.kernel.org
580 Description:
581                 If a known or controllable low pass filter is applied
582                 to the underlying data channel, then this parameter
583                 gives the 3dB frequency of the filter in Hz.
584
585 What:           /sys/.../in_accel_filter_high_pass_3db_frequency
586 What:           /sys/.../in_anglvel_filter_high_pass_3db_frequency
587 What:           /sys/.../in_magn_filter_high_pass_3db_frequency
588 KernelVersion:  4.2
589 Contact:        linux-iio@vger.kernel.org
590 Description:
591                 If a known or controllable high pass filter is applied
592                 to the underlying data channel, then this parameter
593                 gives the 3dB frequency of the filter in Hz.
594
595 What:           /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw
596 What:           /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw
597 KernelVersion:  2.6.37
598 Contact:        linux-iio@vger.kernel.org
599 Description:
600                 Raw (unscaled, no bias etc.) output voltage for
601                 channel Y.  The number must always be specified and
602                 unique if the output corresponds to a single channel.
603                 While DAC like devices typically use out_voltage,
604                 a continuous frequency generating device, such as
605                 a DDS or PLL should use out_altvoltage.
606
607 What:           /sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw
608 What:           /sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw
609 KernelVersion:  2.6.37
610 Contact:        linux-iio@vger.kernel.org
611 Description:
612                 Raw (unscaled, no bias etc.) output voltage for an aggregate of
613                 channel Y, channel Z, etc.  This interface is available in cases
614                 where a single output sets the value for multiple channels
615                 simultaneously.
616
617 What:           /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode
618 What:           /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode
619 What:           /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode
620 What:           /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode
621 KernelVersion:  2.6.38
622 Contact:        linux-iio@vger.kernel.org
623 Description:
624                 Specifies the output powerdown mode.
625                 DAC output stage is disconnected from the amplifier and
626                 1kohm_to_gnd: connected to ground via an 1kOhm resistor,
627                 2.5kohm_to_gnd: connected to ground via a 2.5kOhm resistor,
628                 6kohm_to_gnd: connected to ground via a 6kOhm resistor,
629                 20kohm_to_gnd: connected to ground via a 20kOhm resistor,
630                 90kohm_to_gnd: connected to ground via a 90kOhm resistor,
631                 100kohm_to_gnd: connected to ground via an 100kOhm resistor,
632                 125kohm_to_gnd: connected to ground via an 125kOhm resistor,
633                 500kohm_to_gnd: connected to ground via a 500kOhm resistor,
634                 640kohm_to_gnd: connected to ground via a 640kOhm resistor,
635                 three_state: left floating.
636                 For a list of available output power down options read
637                 outX_powerdown_mode_available. If Y is not present the
638                 mode is shared across all outputs.
639
640 What:           /sys/.../iio:deviceX/out_voltageY_powerdown_mode_available
641 What:           /sys/.../iio:deviceX/out_voltage_powerdown_mode_available
642 What:           /sys/.../iio:deviceX/out_altvoltageY_powerdown_mode_available
643 What:           /sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available
644 KernelVersion:  2.6.38
645 Contact:        linux-iio@vger.kernel.org
646 Description:
647                 Lists all available output power down modes.
648                 If Y is not present the mode is shared across all outputs.
649
650 What:           /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown
651 What:           /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown
652 What:           /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown
653 What:           /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown
654 KernelVersion:  2.6.38
655 Contact:        linux-iio@vger.kernel.org
656 Description:
657                 Writing 1 causes output Y to enter the power down mode specified
658                 by the corresponding outY_powerdown_mode. DAC output stage is
659                 disconnected from the amplifier. Clearing returns to normal
660                 operation. Y may be suppressed if all outputs are controlled
661                 together.
662
663 What:           /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency
664 KernelVersion:  3.4.0
665 Contact:        linux-iio@vger.kernel.org
666 Description:
667                 Output frequency for channel Y in Hz. The number must always be
668                 specified and unique if the output corresponds to a single
669                 channel.
670                 Some drivers have additional constraints:
671                 ADF4371 has an integrated VCO with fundamendal output
672                 frequency ranging from 4000000000 Hz 8000000000 Hz.
673
674                 out_altvoltage0_frequency:
675                         A divide by 1, 2, 4, 8, 16, 32 or circuit generates
676                         frequencies from 62500000 Hz to 8000000000 Hz.
677                 out_altvoltage1_frequency:
678                         This channel duplicates the channel 0 frequency
679                 out_altvoltage2_frequency:
680                         A frequency doubler generates frequencies from
681                         8000000000 Hz to 16000000000 Hz.
682                 out_altvoltage3_frequency:
683                         A frequency quadrupler generates frequencies from
684                         16000000000 Hz to 32000000000 Hz.
685
686                 Note: writes to one of the channels will affect the frequency of
687                 all the other channels, since it involves changing the VCO
688                 fundamental output frequency.
689
690 What:           /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase
691 KernelVersion:  3.4.0
692 Contact:        linux-iio@vger.kernel.org
693 Description:
694                 Phase in radians of one frequency/clock output Y
695                 (out_altvoltageY) relative to another frequency/clock output
696                 (out_altvoltageZ) of the device X. The number must always be
697                 specified and unique if the output corresponds to a single
698                 channel.
699
700 What:           /sys/bus/iio/devices/iio:deviceX/out_currentY_raw
701 Date:           May 2012
702 KernelVersion:  3.5
703 Contact:        Johan Hovold <jhovold@gmail.com>
704 Description:
705                 Set/get output current for channel Y. Units after application
706                 of scale and offset are milliamps.
707                 For some devices current channels are used to specify
708                 current supplied to elements used in taking a measurement
709                 of a different type. E.g. LED currents.
710
711 What:           /sys/bus/iio/devices/iio:deviceX/events
712 KernelVersion:  2.6.35
713 Contact:        linux-iio@vger.kernel.org
714 Description:
715                 Configuration of which hardware generated events are passed up
716                 to user-space.
717
718 What:           /sys/.../iio:deviceX/events/in_accel_x_thresh_rising_en
719 What:           /sys/.../iio:deviceX/events/in_accel_x_thresh_falling_en
720 What:           /sys/.../iio:deviceX/events/in_accel_y_thresh_rising_en
721 What:           /sys/.../iio:deviceX/events/in_accel_y_thresh_falling_en
722 What:           /sys/.../iio:deviceX/events/in_accel_z_thresh_rising_en
723 What:           /sys/.../iio:deviceX/events/in_accel_z_thresh_falling_en
724 What:           /sys/.../iio:deviceX/events/in_anglvel_x_thresh_rising_en
725 What:           /sys/.../iio:deviceX/events/in_anglvel_x_thresh_falling_en
726 What:           /sys/.../iio:deviceX/events/in_anglvel_y_thresh_rising_en
727 What:           /sys/.../iio:deviceX/events/in_anglvel_y_thresh_falling_en
728 What:           /sys/.../iio:deviceX/events/in_anglvel_z_thresh_rising_en
729 What:           /sys/.../iio:deviceX/events/in_anglvel_z_thresh_falling_en
730 What:           /sys/.../iio:deviceX/events/in_magn_x_thresh_rising_en
731 What:           /sys/.../iio:deviceX/events/in_magn_x_thresh_falling_en
732 What:           /sys/.../iio:deviceX/events/in_magn_y_thresh_rising_en
733 What:           /sys/.../iio:deviceX/events/in_magn_y_thresh_falling_en
734 What:           /sys/.../iio:deviceX/events/in_magn_z_thresh_rising_en
735 What:           /sys/.../iio:deviceX/events/in_magn_z_thresh_falling_en
736 What:           /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_rising_en
737 What:           /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_falling_en
738 What:           /sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_rising_en
739 What:           /sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_falling_en
740 What:           /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_en
741 What:           /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_en
742 What:           /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_rising_en
743 What:           /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_falling_en
744 What:           /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_rising_en
745 What:           /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_falling_en
746 What:           /sys/.../iio:deviceX/events/in_voltageY_thresh_rising_en
747 What:           /sys/.../iio:deviceX/events/in_voltageY_thresh_falling_en
748 What:           /sys/.../iio:deviceX/events/in_voltageY_thresh_either_en
749 What:           /sys/.../iio:deviceX/events/in_tempY_thresh_rising_en
750 What:           /sys/.../iio:deviceX/events/in_tempY_thresh_falling_en
751 What:           /sys/.../iio:deviceX/events/in_capacitanceY_thresh_rising_en
752 What:           /sys/.../iio:deviceX/events/in_capacitanceY_thresh_falling_en
753 KernelVersion:  2.6.37
754 Contact:        linux-iio@vger.kernel.org
755 Description:
756                 Event generated when channel passes a threshold in the specified
757                 (_rising|_falling) direction. If the direction is not specified,
758                 then either the device will report an event which ever direction
759                 a single threshold value is passed in (e.g.
760                 <type>[Y][_name]_<raw|input>_thresh_value) or
761                 <type>[Y][_name]_<raw|input>_thresh_rising_value and
762                 <type>[Y][_name]_<raw|input>_thresh_falling_value may take
763                 different values, but the device can only enable both thresholds
764                 or neither.
765
766                 Note the driver will assume the last p events requested are
767                 to be enabled where p is how many it supports (which may vary
768                 depending on the exact set requested. So if you want to be
769                 sure you have set what you think you have, check the contents of
770                 these attributes after everything is configured. Drivers may
771                 have to buffer any parameters so that they are consistent when
772                 a given event type is enabled at a future point (and not those for
773                 whatever event was previously enabled).
774
775 What:           /sys/.../iio:deviceX/events/in_accel_x_roc_rising_en
776 What:           /sys/.../iio:deviceX/events/in_accel_x_roc_falling_en
777 What:           /sys/.../iio:deviceX/events/in_accel_y_roc_rising_en
778 What:           /sys/.../iio:deviceX/events/in_accel_y_roc_falling_en
779 What:           /sys/.../iio:deviceX/events/in_accel_z_roc_rising_en
780 What:           /sys/.../iio:deviceX/events/in_accel_z_roc_falling_en
781 What:           /sys/.../iio:deviceX/events/in_anglvel_x_roc_rising_en
782 What:           /sys/.../iio:deviceX/events/in_anglvel_x_roc_falling_en
783 What:           /sys/.../iio:deviceX/events/in_anglvel_y_roc_rising_en
784 What:           /sys/.../iio:deviceX/events/in_anglvel_y_roc_falling_en
785 What:           /sys/.../iio:deviceX/events/in_anglvel_z_roc_rising_en
786 What:           /sys/.../iio:deviceX/events/in_anglvel_z_roc_falling_en
787 What:           /sys/.../iio:deviceX/events/in_magn_x_roc_rising_en
788 What:           /sys/.../iio:deviceX/events/in_magn_x_roc_falling_en
789 What:           /sys/.../iio:deviceX/events/in_magn_y_roc_rising_en
790 What:           /sys/.../iio:deviceX/events/in_magn_y_roc_falling_en
791 What:           /sys/.../iio:deviceX/events/in_magn_z_roc_rising_en
792 What:           /sys/.../iio:deviceX/events/in_magn_z_roc_falling_en
793 What:           /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_rising_en
794 What:           /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_falling_en
795 What:           /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_rising_en
796 What:           /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_falling_en
797 What:           /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_rising_en
798 What:           /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_falling_en
799 What:           /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_rising_en
800 What:           /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_falling_en
801 What:           /sys/.../iio:deviceX/events/in_voltageY_supply_roc_rising_en
802 What:           /sys/.../iio:deviceX/events/in_voltageY_supply_roc_falling_en
803 What:           /sys/.../iio:deviceX/events/in_voltageY_roc_rising_en
804 What:           /sys/.../iio:deviceX/events/in_voltageY_roc_falling_en
805 What:           /sys/.../iio:deviceX/events/in_tempY_roc_rising_en
806 What:           /sys/.../iio:deviceX/events/in_tempY_roc_falling_en
807 KernelVersion:  2.6.37
808 Contact:        linux-iio@vger.kernel.org
809 Description:
810                 Event generated when channel passes a threshold on the rate of
811                 change (1st differential) in the specified (_rising|_falling)
812                 direction. If the direction is not specified, then either the
813                 device will report an event which ever direction a single
814                 threshold value is passed in (e.g.
815                 <type>[Y][_name]_<raw|input>_roc_value) or
816                 <type>[Y][_name]_<raw|input>_roc_rising_value and
817                 <type>[Y][_name]_<raw|input>_roc_falling_value may take
818                 different values, but the device can only enable both rate of
819                 change thresholds or neither.
820
821                 Note the driver will assume the last p events requested are
822                 to be enabled where p is however many it supports (which may
823                 vary depending on the exact set requested. So if you want to be
824                 sure you have set what you think you have, check the contents of
825                 these attributes after everything is configured. Drivers may
826                 have to buffer any parameters so that they are consistent when
827                 a given event type is enabled a future point (and not those for
828                 whatever event was previously enabled).
829
830 What:           /sys/.../events/in_capacitanceY_adaptive_thresh_rising_en
831 What:           /sys/.../events/in_capacitanceY_adaptive_thresh_falling_en
832 KernelVersion:  5.13
833 Contact:        linux-iio@vger.kernel.org
834 Description:
835                 Adaptive thresholds are similar to normal fixed thresholds
836                 but the value is expressed as an offset from a value which
837                 provides a low frequency approximation of the channel itself.
838                 Thus these detect if a rapid change occurs in the specified
839                 direction which crosses tracking value + offset.
840                 Tracking value calculation is devices specific.
841
842 What:           /sys/.../in_capacitanceY_adaptive_thresh_rising_timeout
843 What:           /sys/.../in_capacitanceY_adaptive_thresh_falling_timeout
844 KernelVersion:  5.11
845 Contact:        linux-iio@vger.kernel.org
846 Description:
847                 When adaptive thresholds are used, the tracking signal
848                 may adjust too slowly to step changes in the raw signal.
849                 Thus these specify the time in seconds for which the
850                 difference between the slow tracking signal and the raw
851                 signal is allowed to remain out-of-range before a reset
852                 event occurs in which the tracking signal is made equal
853                 to the raw signal, allowing slow tracking to resume and the
854                 adaptive threshold event detection to function as expected.
855
856 What:           /sys/.../events/in_accel_thresh_rising_value
857 What:           /sys/.../events/in_accel_thresh_falling_value
858 What:           /sys/.../events/in_accel_x_raw_thresh_rising_value
859 What:           /sys/.../events/in_accel_x_raw_thresh_falling_value
860 What:           /sys/.../events/in_accel_y_raw_thresh_rising_value
861 What:           /sys/.../events/in_accel_y_raw_thresh_falling_value
862 What:           /sys/.../events/in_accel_z_raw_thresh_rising_value
863 What:           /sys/.../events/in_accel_z_raw_thresh_falling_value
864 What:           /sys/.../events/in_anglvel_x_raw_thresh_rising_value
865 What:           /sys/.../events/in_anglvel_x_raw_thresh_falling_value
866 What:           /sys/.../events/in_anglvel_y_raw_thresh_rising_value
867 What:           /sys/.../events/in_anglvel_y_raw_thresh_falling_value
868 What:           /sys/.../events/in_anglvel_z_raw_thresh_rising_value
869 What:           /sys/.../events/in_anglvel_z_raw_thresh_falling_value
870 What:           /sys/.../events/in_magn_x_raw_thresh_rising_value
871 What:           /sys/.../events/in_magn_x_raw_thresh_falling_value
872 What:           /sys/.../events/in_magn_y_raw_thresh_rising_value
873 What:           /sys/.../events/in_magn_y_raw_thresh_falling_value
874 What:           /sys/.../events/in_magn_z_raw_thresh_rising_value
875 What:           /sys/.../events/in_magn_z_raw_thresh_falling_value
876 What:           /sys/.../events/in_rot_from_north_magnetic_raw_thresh_rising_value
877 What:           /sys/.../events/in_rot_from_north_magnetic_raw_thresh_falling_value
878 What:           /sys/.../events/in_rot_from_north_true_raw_thresh_rising_value
879 What:           /sys/.../events/in_rot_from_north_true_raw_thresh_falling_value
880 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_rising_value
881 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_falling_value
882 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_rising_value
883 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_falling_value
884 What:           /sys/.../events/in_voltageY_supply_raw_thresh_rising_value
885 What:           /sys/.../events/in_voltageY_supply_raw_thresh_falling_value
886 What:           /sys/.../events/in_voltageY_raw_thresh_rising_value
887 What:           /sys/.../events/in_voltageY_raw_thresh_falling_value
888 What:           /sys/.../events/in_tempY_raw_thresh_rising_value
889 What:           /sys/.../events/in_tempY_raw_thresh_falling_value
890 What:           /sys/.../events/in_illuminance0_thresh_falling_value
891 What:           /sys/.../events/in_illuminance0_thresh_rising_value
892 What:           /sys/.../events/in_proximity0_thresh_falling_value
893 What:           /sys/.../events/in_proximity0_thresh_rising_value
894 What:           /sys/.../events/in_illuminance_thresh_rising_value
895 What:           /sys/.../events/in_illuminance_thresh_falling_value
896 What:           /sys/.../events/in_capacitanceY_thresh_rising_value
897 What:           /sys/.../events/in_capacitanceY_thresh_falling_value
898 What:           /sys/.../events/in_capacitanceY_thresh_adaptive_rising_value
899 What:           /sys/.../events/in_capacitanceY_thresh_falling_rising_value
900 KernelVersion:  2.6.37
901 Contact:        linux-iio@vger.kernel.org
902 Description:
903                 Specifies the value of threshold that the device is comparing
904                 against for the events enabled by
905                 <type>Y[_name]_thresh[_rising|falling]_en.
906
907                 If separate attributes exist for the two directions, but
908                 direction is not specified for this attribute, then a single
909                 threshold value applies to both directions.
910
911                 The raw or input element of the name indicates whether the
912                 value is in raw device units or in processed units (as _raw
913                 and _input do on sysfs direct channel read attributes).
914
915 What:           /sys/.../events/in_accel_scale
916 What:           /sys/.../events/in_accel_peak_scale
917 What:           /sys/.../events/in_anglvel_scale
918 What:           /sys/.../events/in_magn_scale
919 What:           /sys/.../events/in_rot_from_north_magnetic_scale
920 What:           /sys/.../events/in_rot_from_north_true_scale
921 What:           /sys/.../events/in_voltage_scale
922 What:           /sys/.../events/in_voltage_supply_scale
923 What:           /sys/.../events/in_temp_scale
924 What:           /sys/.../events/in_illuminance_scale
925 What:           /sys/.../events/in_proximity_scale
926 KernelVersion:  3.21
927 Contact:        linux-iio@vger.kernel.org
928 Description:
929                 Specifies the conversion factor from the standard units
930                 to device specific units used to set the event trigger
931                 threshold.
932
933 What:           /sys/.../events/in_accel_x_thresh_rising_hysteresis
934 What:           /sys/.../events/in_accel_x_thresh_falling_hysteresis
935 What:           /sys/.../events/in_accel_x_thresh_either_hysteresis
936 What:           /sys/.../events/in_accel_y_thresh_rising_hysteresis
937 What:           /sys/.../events/in_accel_y_thresh_falling_hysteresis
938 What:           /sys/.../events/in_accel_y_thresh_either_hysteresis
939 What:           /sys/.../events/in_accel_z_thresh_rising_hysteresis
940 What:           /sys/.../events/in_accel_z_thresh_falling_hysteresis
941 What:           /sys/.../events/in_accel_z_thresh_either_hysteresis
942 What:           /sys/.../events/in_anglvel_x_thresh_rising_hysteresis
943 What:           /sys/.../events/in_anglvel_x_thresh_falling_hysteresis
944 What:           /sys/.../events/in_anglvel_x_thresh_either_hysteresis
945 What:           /sys/.../events/in_anglvel_y_thresh_rising_hysteresis
946 What:           /sys/.../events/in_anglvel_y_thresh_falling_hysteresis
947 What:           /sys/.../events/in_anglvel_y_thresh_either_hysteresis
948 What:           /sys/.../events/in_anglvel_z_thresh_rising_hysteresis
949 What:           /sys/.../events/in_anglvel_z_thresh_falling_hysteresis
950 What:           /sys/.../events/in_anglvel_z_thresh_either_hysteresis
951 What:           /sys/.../events/in_magn_x_thresh_rising_hysteresis
952 What:           /sys/.../events/in_magn_x_thresh_falling_hysteresis
953 What:           /sys/.../events/in_magn_x_thresh_either_hysteresis
954 What:           /sys/.../events/in_magn_y_thresh_rising_hysteresis
955 What:           /sys/.../events/in_magn_y_thresh_falling_hysteresis
956 What:           /sys/.../events/in_magn_y_thresh_either_hysteresis
957 What:           /sys/.../events/in_magn_z_thresh_rising_hysteresis
958 What:           /sys/.../events/in_magn_z_thresh_falling_hysteresis
959 What:           /sys/.../events/in_magn_z_thresh_either_hysteresis
960 What:           /sys/.../events/in_rot_from_north_magnetic_thresh_rising_hysteresis
961 What:           /sys/.../events/in_rot_from_north_magnetic_thresh_falling_hysteresis
962 What:           /sys/.../events/in_rot_from_north_magnetic_thresh_either_hysteresis
963 What:           /sys/.../events/in_rot_from_north_true_thresh_rising_hysteresis
964 What:           /sys/.../events/in_rot_from_north_true_thresh_falling_hysteresis
965 What:           /sys/.../events/in_rot_from_north_true_thresh_either_hysteresis
966 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_hysteresis
967 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_hysteresis
968 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_either_hysteresis
969 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_hysteresis
970 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_hysteresis
971 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_either_hysteresis
972 What:           /sys/.../events/in_voltageY_thresh_rising_hysteresis
973 What:           /sys/.../events/in_voltageY_thresh_falling_hysteresis
974 What:           /sys/.../events/in_voltageY_thresh_either_hysteresis
975 What:           /sys/.../events/in_tempY_thresh_rising_hysteresis
976 What:           /sys/.../events/in_tempY_thresh_falling_hysteresis
977 What:           /sys/.../events/in_tempY_thresh_either_hysteresis
978 What:           /sys/.../events/in_illuminance0_thresh_falling_hysteresis
979 What:           /sys/.../events/in_illuminance0_thresh_rising_hysteresis
980 What:           /sys/.../events/in_illuminance0_thresh_either_hysteresis
981 What:           /sys/.../events/in_proximity0_thresh_falling_hysteresis
982 What:           /sys/.../events/in_proximity0_thresh_rising_hysteresis
983 What:           /sys/.../events/in_proximity0_thresh_either_hysteresis
984 KernelVersion:  3.13
985 Contact:        linux-iio@vger.kernel.org
986 Description:
987                 Specifies the hysteresis of threshold that the device is comparing
988                 against for the events enabled by
989                 <type>Y[_name]_thresh[_(rising|falling)]_hysteresis.
990                 If separate attributes exist for the two directions, but
991                 direction is not specified for this attribute, then a single
992                 hysteresis value applies to both directions.
993
994                 For falling events the hysteresis is added to the _value attribute for
995                 this event to get the upper threshold for when the event goes back to
996                 normal, for rising events the hysteresis is subtracted from the _value
997                 attribute. E.g. if in_voltage0_raw_thresh_rising_value is set to 1200
998                 and in_voltage0_raw_thresh_rising_hysteresis is set to 50. The event
999                 will get activated once in_voltage0_raw goes above 1200 and will become
1000                 deactivated again once the value falls below 1150.
1001
1002 What:           /sys/.../events/in_accel_x_raw_roc_rising_value
1003 What:           /sys/.../events/in_accel_x_raw_roc_falling_value
1004 What:           /sys/.../events/in_accel_y_raw_roc_rising_value
1005 What:           /sys/.../events/in_accel_y_raw_roc_falling_value
1006 What:           /sys/.../events/in_accel_z_raw_roc_rising_value
1007 What:           /sys/.../events/in_accel_z_raw_roc_falling_value
1008 What:           /sys/.../events/in_anglvel_x_raw_roc_rising_value
1009 What:           /sys/.../events/in_anglvel_x_raw_roc_falling_value
1010 What:           /sys/.../events/in_anglvel_y_raw_roc_rising_value
1011 What:           /sys/.../events/in_anglvel_y_raw_roc_falling_value
1012 What:           /sys/.../events/in_anglvel_z_raw_roc_rising_value
1013 What:           /sys/.../events/in_anglvel_z_raw_roc_falling_value
1014 What:           /sys/.../events/in_magn_x_raw_roc_rising_value
1015 What:           /sys/.../events/in_magn_x_raw_roc_falling_value
1016 What:           /sys/.../events/in_magn_y_raw_roc_rising_value
1017 What:           /sys/.../events/in_magn_y_raw_roc_falling_value
1018 What:           /sys/.../events/in_magn_z_raw_roc_rising_value
1019 What:           /sys/.../events/in_magn_z_raw_roc_falling_value
1020 What:           /sys/.../events/in_rot_from_north_magnetic_raw_roc_rising_value
1021 What:           /sys/.../events/in_rot_from_north_magnetic_raw_roc_falling_value
1022 What:           /sys/.../events/in_rot_from_north_true_raw_roc_rising_value
1023 What:           /sys/.../events/in_rot_from_north_true_raw_roc_falling_value
1024 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_rising_value
1025 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_falling_value
1026 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_rising_value
1027 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_falling_value
1028 What:           /sys/.../events/in_voltageY_supply_raw_roc_rising_value
1029 What:           /sys/.../events/in_voltageY_supply_raw_roc_falling_value
1030 What:           /sys/.../events/in_voltageY_raw_roc_rising_value
1031 What:           /sys/.../events/in_voltageY_raw_roc_falling_value
1032 What:           /sys/.../events/in_tempY_raw_roc_rising_value
1033 What:           /sys/.../events/in_tempY_raw_roc_falling_value
1034 KernelVersion:  2.6.37
1035 Contact:        linux-iio@vger.kernel.org
1036 Description:
1037                 Specifies the value of rate of change threshold that the
1038                 device is comparing against for the events enabled by
1039                 <type>[Y][_name]_roc[_rising|falling]_en.
1040
1041                 If separate attributes exist for the two directions,
1042                 but direction is not specified for this attribute,
1043                 then a single threshold value applies to both directions.
1044                 The raw or input element of the name indicates whether the
1045                 value is in raw device units or in processed units (as _raw
1046                 and _input do on sysfs direct channel read attributes).
1047
1048 What:           /sys/.../events/in_accel_x_thresh_rising_period
1049 What:           /sys/.../events/in_accel_x_thresh_falling_period
1050 What:           /sys/.../events/in_accel_x_roc_rising_period
1051 What:           /sys/.../events/in_accel_x_roc_falling_period
1052 What:           /sys/.../events/in_accel_y_thresh_rising_period
1053 What:           /sys/.../events/in_accel_y_thresh_falling_period
1054 What:           /sys/.../events/in_accel_y_roc_rising_period
1055 What:           /sys/.../events/in_accel_y_roc_falling_period
1056 What:           /sys/.../events/in_accel_z_thresh_rising_period
1057 What:           /sys/.../events/in_accel_z_thresh_falling_period
1058 What:           /sys/.../events/in_accel_z_roc_rising_period
1059 What:           /sys/.../events/in_accel_z_roc_falling_period
1060 What:           /sys/.../events/in_anglvel_x_thresh_rising_period
1061 What:           /sys/.../events/in_anglvel_x_thresh_falling_period
1062 What:           /sys/.../events/in_anglvel_x_roc_rising_period
1063 What:           /sys/.../events/in_anglvel_x_roc_falling_period
1064 What:           /sys/.../events/in_anglvel_y_thresh_rising_period
1065 What:           /sys/.../events/in_anglvel_y_thresh_falling_period
1066 What:           /sys/.../events/in_anglvel_y_roc_rising_period
1067 What:           /sys/.../events/in_anglvel_y_roc_falling_period
1068 What:           /sys/.../events/in_anglvel_z_thresh_rising_period
1069 What:           /sys/.../events/in_anglvel_z_thresh_falling_period
1070 What:           /sys/.../events/in_anglvel_z_roc_rising_period
1071 What:           /sys/.../events/in_anglvel_z_roc_falling_period
1072 What:           /sys/.../events/in_magn_x_thresh_rising_period
1073 What:           /sys/.../events/in_magn_x_thresh_falling_period
1074 What:           /sys/.../events/in_magn_x_roc_rising_period
1075 What:           /sys/.../events/in_magn_x_roc_falling_period
1076 What:           /sys/.../events/in_magn_y_thresh_rising_period
1077 What:           /sys/.../events/in_magn_y_thresh_falling_period
1078 What:           /sys/.../events/in_magn_y_roc_rising_period
1079 What:           /sys/.../events/in_magn_y_roc_falling_period
1080 What:           /sys/.../events/in_magn_z_thresh_rising_period
1081 What:           /sys/.../events/in_magn_z_thresh_falling_period
1082 What:           /sys/.../events/in_magn_z_roc_rising_period
1083 What:           /sys/.../events/in_magn_z_roc_falling_period
1084 What:           /sys/.../events/in_rot_from_north_magnetic_thresh_rising_period
1085 What:           /sys/.../events/in_rot_from_north_magnetic_thresh_falling_period
1086 What:           /sys/.../events/in_rot_from_north_magnetic_roc_rising_period
1087 What:           /sys/.../events/in_rot_from_north_magnetic_roc_falling_period
1088 What:           /sys/.../events/in_rot_from_north_true_thresh_rising_period
1089 What:           /sys/.../events/in_rot_from_north_true_thresh_falling_period
1090 What:           /sys/.../events/in_rot_from_north_true_roc_rising_period
1091 What:           /sys/.../events/in_rot_from_north_true_roc_falling_period
1092 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_period
1093 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_period
1094 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_rising_period
1095 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_falling_period
1096 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_period
1097 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_period
1098 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_roc_rising_period
1099 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_roc_falling_period
1100 What:           /sys/.../events/in_voltageY_supply_thresh_rising_period
1101 What:           /sys/.../events/in_voltageY_supply_thresh_falling_period
1102 What:           /sys/.../events/in_voltageY_supply_roc_rising_period
1103 What:           /sys/.../events/in_voltageY_supply_roc_falling_period
1104 What:           /sys/.../events/in_voltageY_thresh_rising_period
1105 What:           /sys/.../events/in_voltageY_thresh_falling_period
1106 What:           /sys/.../events/in_voltageY_roc_rising_period
1107 What:           /sys/.../events/in_voltageY_roc_falling_period
1108 What:           /sys/.../events/in_tempY_thresh_rising_period
1109 What:           /sys/.../events/in_tempY_thresh_falling_period
1110 What:           /sys/.../events/in_tempY_roc_rising_period
1111 What:           /sys/.../events/in_tempY_roc_falling_period
1112 What:           /sys/.../events/in_accel_x&y&z_mag_falling_period
1113 What:           /sys/.../events/in_intensity0_thresh_period
1114 What:           /sys/.../events/in_proximity0_thresh_period
1115 What:           /sys/.../events/in_activity_still_thresh_rising_period
1116 What:           /sys/.../events/in_activity_still_thresh_falling_period
1117 What:           /sys/.../events/in_activity_walking_thresh_rising_period
1118 What:           /sys/.../events/in_activity_walking_thresh_falling_period
1119 What:           /sys/.../events/in_activity_jogging_thresh_rising_period
1120 What:           /sys/.../events/in_activity_jogging_thresh_falling_period
1121 What:           /sys/.../events/in_activity_running_thresh_rising_period
1122 What:           /sys/.../events/in_activity_running_thresh_falling_period
1123 What:           /sys/.../events/in_illuminance_thresh_either_period
1124 KernelVersion:  2.6.37
1125 Contact:        linux-iio@vger.kernel.org
1126 Description:
1127                 Period of time (in seconds) for which the condition must be
1128                 met before an event is generated. If direction is not
1129                 specified then this period applies to both directions.
1130
1131 What:           /sys/.../events/in_accel_thresh_rising_low_pass_filter_3db
1132 What:           /sys/.../events/in_anglvel_thresh_rising_low_pass_filter_3db
1133 What:           /sys/.../events/in_magn_thresh_rising_low_pass_filter_3db
1134 KernelVersion:  4.2
1135 Contact:        linux-iio@vger.kernel.org
1136 Description:
1137                 If a low pass filter can be applied to the event generation
1138                 this property gives its 3db frequency in Hz.
1139                 A value of zero disables the filter.
1140
1141 What:           /sys/.../events/in_accel_thresh_rising_high_pass_filter_3db
1142 What:           /sys/.../events/in_anglvel_thresh_rising_high_pass_filter_3db
1143 What:           /sys/.../events/in_magn_thresh_rising_high_pass_filter_3db
1144 KernelVersion:  4.2
1145 Contact:        linux-iio@vger.kernel.org
1146 Description:
1147                 If a high pass filter can be applied to the event generation
1148                 this property gives its 3db frequency in Hz.
1149                 A value of zero disables the filter.
1150
1151 What:           /sys/.../events/in_activity_still_thresh_rising_en
1152 What:           /sys/.../events/in_activity_still_thresh_falling_en
1153 What:           /sys/.../events/in_activity_walking_thresh_rising_en
1154 What:           /sys/.../events/in_activity_walking_thresh_falling_en
1155 What:           /sys/.../events/in_activity_jogging_thresh_rising_en
1156 What:           /sys/.../events/in_activity_jogging_thresh_falling_en
1157 What:           /sys/.../events/in_activity_running_thresh_rising_en
1158 What:           /sys/.../events/in_activity_running_thresh_falling_en
1159 KernelVersion:  3.19
1160 Contact:        linux-iio@vger.kernel.org
1161 Description:
1162                 Enables or disables activity events. Depending on direction
1163                 an event is generated when sensor ENTERS or LEAVES a given state.
1164
1165 What:           /sys/.../events/in_activity_still_thresh_rising_value
1166 What:           /sys/.../events/in_activity_still_thresh_falling_value
1167 What:           /sys/.../events/in_activity_walking_thresh_rising_value
1168 What:           /sys/.../events/in_activity_walking_thresh_falling_value
1169 What:           /sys/.../events/in_activity_jogging_thresh_rising_value
1170 What:           /sys/.../events/in_activity_jogging_thresh_falling_value
1171 What:           /sys/.../events/in_activity_running_thresh_rising_value
1172 What:           /sys/.../events/in_activity_running_thresh_falling_value
1173 KernelVersion:  3.19
1174 Contact:        linux-iio@vger.kernel.org
1175 Description:
1176                 Confidence value (in units as percentage) to be used
1177                 for deciding when an event should be generated. E.g for
1178                 running: If the confidence value reported by the sensor
1179                 is greater than in_activity_running_thresh_rising_value
1180                 then the sensor ENTERS running state. Conversely, if the
1181                 confidence value reported by the sensor is lower than
1182                 in_activity_running_thresh_falling_value then the sensor
1183                 is LEAVING running state.
1184
1185 What:           /sys/.../iio:deviceX/events/in_accel_mag_en
1186 What:           /sys/.../iio:deviceX/events/in_accel_mag_rising_en
1187 What:           /sys/.../iio:deviceX/events/in_accel_mag_falling_en
1188 What:           /sys/.../iio:deviceX/events/in_accel_x_mag_en
1189 What:           /sys/.../iio:deviceX/events/in_accel_x_mag_rising_en
1190 What:           /sys/.../iio:deviceX/events/in_accel_x_mag_falling_en
1191 What:           /sys/.../iio:deviceX/events/in_accel_y_mag_en
1192 What:           /sys/.../iio:deviceX/events/in_accel_y_mag_rising_en
1193 What:           /sys/.../iio:deviceX/events/in_accel_y_mag_falling_en
1194 What:           /sys/.../iio:deviceX/events/in_accel_z_mag_en
1195 What:           /sys/.../iio:deviceX/events/in_accel_z_mag_rising_en
1196 What:           /sys/.../iio:deviceX/events/in_accel_z_mag_falling_en
1197 What:           /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_rising_en
1198 What:           /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_falling_en
1199 KernelVersion:  2.6.37
1200 Contact:        linux-iio@vger.kernel.org
1201 Description:
1202                 Similar to in_accel_x_thresh[_rising|_falling]_en, but here the
1203                 magnitude of the channel is compared to the threshold, not its
1204                 signed value.
1205
1206 What:           /sys/.../events/in_accel_raw_mag_value
1207 What:           /sys/.../events/in_accel_x_raw_mag_rising_value
1208 What:           /sys/.../events/in_accel_y_raw_mag_rising_value
1209 What:           /sys/.../events/in_accel_z_raw_mag_rising_value
1210 KernelVersion:  2.6.37
1211 Contact:        linux-iio@vger.kernel.org
1212 Description:
1213                 The value to which the magnitude of the channel is compared. If
1214                 number or direction is not specified, applies to all channels of
1215                 this type.
1216
1217 What:           /sys/.../iio:deviceX/events/in_accel_mag_referenced_en
1218 What:           /sys/.../iio:deviceX/events/in_accel_mag_referenced_rising_en
1219 What:           /sys/.../iio:deviceX/events/in_accel_mag_referenced_falling_en
1220 What:           /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_en
1221 What:           /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_rising_en
1222 What:           /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_falling_en
1223 KernelVersion:  5.18
1224 Contact:        linux-iio@vger.kernel.org
1225 Description:
1226                 Similar to in_accel_mag[_y][_rising|_falling]_en, but the event
1227                 value is relative to a reference magnitude. The reference magnitude
1228                 includes the graviational acceleration.
1229
1230 What:           /sys/.../iio:deviceX/events/in_accel_mag_referenced_value
1231 What:           /sys/.../iio:deviceX/events/in_accel_mag_referenced_rising_value
1232 What:           /sys/.../iio:deviceX/events/in_accel_mag_referenced_falling_value
1233 What:           /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_value
1234 What:           /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_rising_value
1235 What:           /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_falling_value
1236 KernelVersion:  5.18
1237 Contact:        linux-iio@vger.kernel.org
1238 Description:
1239                 The value to which the reference magnitude of the channel is
1240                 compared. If the axis is not specified, it applies to all channels
1241                 of this type.
1242
1243 What:           /sys/.../events/in_steps_change_en
1244 KernelVersion:  4.0
1245 Contact:        linux-iio@vger.kernel.org
1246 Description:
1247                 Event generated when channel passes a threshold on the absolute
1248                 change in value. E.g. for steps: a step change event is
1249                 generated each time the user takes N steps, where N is set using
1250                 in_steps_change_value.
1251
1252 What:           /sys/.../events/in_steps_change_value
1253 KernelVersion:  4.0
1254 Contact:        linux-iio@vger.kernel.org
1255 Description:
1256                 Specifies the value of change threshold that the
1257                 device is comparing against for the events enabled by
1258                 <type>[Y][_name]_roc[_rising|falling|]_en. E.g. for steps:
1259                 if set to 3, a step change event will be generated every 3
1260                 steps.
1261
1262 What:           /sys/bus/iio/devices/iio:deviceX/trigger/current_trigger
1263 KernelVersion:  2.6.35
1264 Contact:        linux-iio@vger.kernel.org
1265 Description:
1266                 The name of the trigger source being used, as per string given
1267                 in /sys/class/iio/triggerY/name.
1268
1269 What:           /sys/bus/iio/devices/iio:deviceX/bufferY/length
1270 KernelVersion:  5.11
1271 Contact:        linux-iio@vger.kernel.org
1272 Description:
1273                 Number of scans contained by the buffer.
1274
1275 What:           /sys/bus/iio/devices/iio:deviceX/bufferY/enable
1276 KernelVersion:  5.11
1277 Contact:        linux-iio@vger.kernel.org
1278 Description:
1279                 Actually start the buffer capture up.  Will start trigger
1280                 if first device and appropriate.
1281
1282                 Note that it might be impossible to configure other attributes,
1283                 (e.g.: events, scale, sampling rate) if they impact the currently
1284                 active buffer capture session.
1285
1286 What:           /sys/bus/iio/devices/iio:deviceX/bufferY
1287 KernelVersion:  5.11
1288 Contact:        linux-iio@vger.kernel.org
1289 Description:
1290                 Directory containing interfaces for elements that will be
1291                 captured for a single triggered sample set in the buffer.
1292
1293                 Since kernel 5.11 the scan_elements attributes are merged into
1294                 the bufferY directory, to be configurable per buffer.
1295
1296 What:           /sys/.../iio:deviceX/bufferY/in_accel_x_en
1297 What:           /sys/.../iio:deviceX/bufferY/in_accel_y_en
1298 What:           /sys/.../iio:deviceX/bufferY/in_accel_z_en
1299 What:           /sys/.../iio:deviceX/bufferY/in_anglvel_x_en
1300 What:           /sys/.../iio:deviceX/bufferY/in_anglvel_y_en
1301 What:           /sys/.../iio:deviceX/bufferY/in_anglvel_z_en
1302 What:           /sys/.../iio:deviceX/bufferY/in_magn_x_en
1303 What:           /sys/.../iio:deviceX/bufferY/in_magn_y_en
1304 What:           /sys/.../iio:deviceX/bufferY/in_magn_z_en
1305 What:           /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_en
1306 What:           /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_en
1307 What:           /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_tilt_comp_en
1308 What:           /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_tilt_comp_en
1309 What:           /sys/.../iio:deviceX/bufferY/in_timestamp_en
1310 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_supply_en
1311 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_en
1312 What:           /sys/.../iio:deviceX/bufferY/in_voltageY-voltageZ_en
1313 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_i_en
1314 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_q_en
1315 What:           /sys/.../iio:deviceX/bufferY/in_voltage_i_en
1316 What:           /sys/.../iio:deviceX/bufferY/in_voltage_q_en
1317 What:           /sys/.../iio:deviceX/bufferY/in_incli_x_en
1318 What:           /sys/.../iio:deviceX/bufferY/in_incli_y_en
1319 What:           /sys/.../iio:deviceX/bufferY/in_pressureY_en
1320 What:           /sys/.../iio:deviceX/bufferY/in_pressure_en
1321 What:           /sys/.../iio:deviceX/bufferY/in_rot_quaternion_en
1322 What:           /sys/.../iio:deviceX/bufferY/in_proximity_en
1323 KernelVersion:  5.11
1324 Contact:        linux-iio@vger.kernel.org
1325 Description:
1326                 Scan element control for triggered data capture.
1327
1328 What:           /sys/.../iio:deviceX/bufferY/in_accel_type
1329 What:           /sys/.../iio:deviceX/bufferY/in_anglvel_type
1330 What:           /sys/.../iio:deviceX/bufferY/in_magn_type
1331 What:           /sys/.../iio:deviceX/bufferY/in_incli_type
1332 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_type
1333 What:           /sys/.../iio:deviceX/bufferY/in_voltage_type
1334 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_supply_type
1335 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_i_type
1336 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_q_type
1337 What:           /sys/.../iio:deviceX/bufferY/in_voltage_i_type
1338 What:           /sys/.../iio:deviceX/bufferY/in_voltage_q_type
1339 What:           /sys/.../iio:deviceX/bufferY/in_timestamp_type
1340 What:           /sys/.../iio:deviceX/bufferY/in_pressureY_type
1341 What:           /sys/.../iio:deviceX/bufferY/in_pressure_type
1342 What:           /sys/.../iio:deviceX/bufferY/in_rot_quaternion_type
1343 What:           /sys/.../iio:deviceX/bufferY/in_proximity_type
1344 KernelVersion:  5.11
1345 Contact:        linux-iio@vger.kernel.org
1346 Description:
1347                 Description of the scan element data storage within the buffer
1348                 and hence the form in which it is read from user-space.
1349                 Form is [be|le]:[s|u]bits/storagebits[>>shift].
1350                 be or le specifies big or little endian. s or u specifies if
1351                 signed (2's complement) or unsigned. bits is the number of bits
1352                 of data and storagebits is the space (after padding) that it
1353                 occupies in the buffer. shift if specified, is the shift that
1354                 needs to be applied prior to masking out unused bits. Some
1355                 devices put their data in the middle of the transferred elements
1356                 with additional information on both sides.  Note that some
1357                 devices will have additional information in the unused bits
1358                 so to get a clean value, the bits value must be used to mask
1359                 the buffer output value appropriately.  The storagebits value
1360                 also specifies the data alignment.  So s48/64>>2 will be a
1361                 signed 48 bit integer stored in a 64 bit location aligned to
1362                 a 64 bit boundary. To obtain the clean value, shift right 2
1363                 and apply a mask to zero the top 16 bits of the result.
1364                 For other storage combinations this attribute will be extended
1365                 appropriately.
1366
1367 What:           /sys/.../iio:deviceX/scan_elements/in_accel_type_available
1368 KernelVersion:  2.6.37
1369 Contact:        linux-iio@vger.kernel.org
1370 Description:
1371                 If the type parameter can take one of a small set of values,
1372                 this attribute lists them.
1373
1374 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_index
1375 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_supply_index
1376 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_i_index
1377 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_q_index
1378 What:           /sys/.../iio:deviceX/bufferY/in_voltage_i_index
1379 What:           /sys/.../iio:deviceX/bufferY/in_voltage_q_index
1380 What:           /sys/.../iio:deviceX/bufferY/in_accel_x_index
1381 What:           /sys/.../iio:deviceX/bufferY/in_accel_y_index
1382 What:           /sys/.../iio:deviceX/bufferY/in_accel_z_index
1383 What:           /sys/.../iio:deviceX/bufferY/in_anglvel_x_index
1384 What:           /sys/.../iio:deviceX/bufferY/in_anglvel_y_index
1385 What:           /sys/.../iio:deviceX/bufferY/in_anglvel_z_index
1386 What:           /sys/.../iio:deviceX/bufferY/in_magn_x_index
1387 What:           /sys/.../iio:deviceX/bufferY/in_magn_y_index
1388 What:           /sys/.../iio:deviceX/bufferY/in_magn_z_index
1389 What:           /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_index
1390 What:           /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_index
1391 What:           /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_tilt_comp_index
1392 What:           /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_tilt_comp_index
1393 What:           /sys/.../iio:deviceX/bufferY/in_incli_x_index
1394 What:           /sys/.../iio:deviceX/bufferY/in_incli_y_index
1395 What:           /sys/.../iio:deviceX/bufferY/in_timestamp_index
1396 What:           /sys/.../iio:deviceX/bufferY/in_pressureY_index
1397 What:           /sys/.../iio:deviceX/bufferY/in_pressure_index
1398 What:           /sys/.../iio:deviceX/bufferY/in_rot_quaternion_index
1399 What:           /sys/.../iio:deviceX/bufferY/in_proximity_index
1400 KernelVersion:  5.11
1401 Contact:        linux-iio@vger.kernel.org
1402 Description:
1403                 A single positive integer specifying the position of this
1404                 scan element in the buffer. Note these are not dependent on
1405                 what is enabled and may not be contiguous. Thus for user-space
1406                 to establish the full layout these must be used in conjunction
1407                 with all _en attributes to establish which channels are present,
1408                 and the relevant _type attributes to establish the data storage
1409                 format.
1410
1411 What:           /sys/.../iio:deviceX/in_activity_still_input
1412 What:           /sys/.../iio:deviceX/in_activity_walking_input
1413 What:           /sys/.../iio:deviceX/in_activity_jogging_input
1414 What:           /sys/.../iio:deviceX/in_activity_running_input
1415 KernelVersion:  3.19
1416 Contact:        linux-iio@vger.kernel.org
1417 Description:
1418                 This attribute is used to read the confidence for an activity
1419                 expressed in units as percentage.
1420
1421 What:           /sys/.../iio:deviceX/in_anglvel_z_quadrature_correction_raw
1422 KernelVersion:  2.6.38
1423 Contact:        linux-iio@vger.kernel.org
1424 Description:
1425                 This attribute is used to read the amount of quadrature error
1426                 present in the device at a given time.
1427
1428 What:           /sys/.../iio:deviceX/in_accelX_power_mode
1429 KernelVersion:  3.11
1430 Contact:        linux-iio@vger.kernel.org
1431 Description:
1432                 Specifies the chip power mode.
1433                 low_noise: reduce noise level from ADC,
1434                 low_power: enable low current consumption.
1435                 For a list of available output power modes read
1436                 in_accel_power_mode_available.
1437
1438 What:           /sys/.../iio:deviceX/in_energy_input
1439 What:           /sys/.../iio:deviceX/in_energy_raw
1440 KernelVersion:  4.0
1441 Contact:        linux-iio@vger.kernel.org
1442 Description:
1443                 This attribute is used to read the energy value reported by the
1444                 device (e.g.: human activity sensors report energy burnt by the
1445                 user). Units after application of scale are Joules.
1446
1447 What:           /sys/.../iio:deviceX/in_distance_input
1448 What:           /sys/.../iio:deviceX/in_distance_raw
1449 KernelVersion:  4.0
1450 Contact:        linux-iio@vger.kernel.org
1451 Description:
1452                 This attribute is used to read the measured distance to an object
1453                 or the distance covered by the user since the last reboot while
1454                 activated. Units after application of scale are meters.
1455
1456 What:           /sys/bus/iio/devices/iio:deviceX/store_eeprom
1457 KernelVersion:  3.4.0
1458 Contact:        linux-iio@vger.kernel.org
1459 Description:
1460                 Writing '1' stores the current device configuration into
1461                 on-chip EEPROM. After power-up or chip reset the device will
1462                 automatically load the saved configuration.
1463
1464 What:           /sys/.../iio:deviceX/in_proximity_raw
1465 What:           /sys/.../iio:deviceX/in_proximity_input
1466 What:           /sys/.../iio:deviceX/in_proximityY_raw
1467 KernelVersion:  3.4
1468 Contact:        linux-iio@vger.kernel.org
1469 Description:
1470                 Proximity measurement indicating that some
1471                 object is near the sensor, usually by observing
1472                 reflectivity of infrared or ultrasound emitted.
1473
1474                 Often these sensors are unit less and as such conversion
1475                 to SI units is not possible. Higher proximity measurements
1476                 indicate closer objects, and vice versa. Units after
1477                 application of scale and offset are meters.
1478
1479 What:           /sys/.../iio:deviceX/in_illuminance_input
1480 What:           /sys/.../iio:deviceX/in_illuminance_raw
1481 What:           /sys/.../iio:deviceX/in_illuminanceY_input
1482 What:           /sys/.../iio:deviceX/in_illuminanceY_raw
1483 What:           /sys/.../iio:deviceX/in_illuminanceY_mean_raw
1484 What:           /sys/.../iio:deviceX/in_illuminance_ir_raw
1485 What:           /sys/.../iio:deviceX/in_illuminance_clear_raw
1486 KernelVersion:  3.4
1487 Contact:        linux-iio@vger.kernel.org
1488 Description:
1489                 Illuminance measurement, units after application of scale
1490                 and offset are lux.
1491
1492 What:           /sys/.../iio:deviceX/in_intensityY_raw
1493 What:           /sys/.../iio:deviceX/in_intensityY_ir_raw
1494 What:           /sys/.../iio:deviceX/in_intensityY_both_raw
1495 What:           /sys/.../iio:deviceX/in_intensityY_uv_raw
1496 What:           /sys/.../iio:deviceX/in_intensityY_duv_raw
1497 KernelVersion:  3.4
1498 Contact:        linux-iio@vger.kernel.org
1499 Description:
1500                 Unit-less light intensity. Modifiers both and ir indicate
1501                 that measurements contain visible and infrared light
1502                 components or just infrared light, respectively. Modifier
1503                 uv indicates that measurements contain ultraviolet light
1504                 components. Modifier duv indicates that measurements
1505                 contain deep ultraviolet light components.
1506
1507 What:           /sys/.../iio:deviceX/in_uvindex_input
1508 KernelVersion:  4.6
1509 Contact:        linux-iio@vger.kernel.org
1510 Description:
1511                 UV light intensity index measuring the human skin's response to
1512                 different wavelength of sunlight weighted according to the
1513                 standardised CIE Erythemal Action Spectrum. UV index values range
1514                 from 0 (low) to >=11 (extreme).
1515
1516 What:           /sys/.../iio:deviceX/in_intensity_integration_time
1517 What:           /sys/.../iio:deviceX/in_intensity_red_integration_time
1518 What:           /sys/.../iio:deviceX/in_intensity_green_integration_time
1519 What:           /sys/.../iio:deviceX/in_intensity_blue_integration_time
1520 What:           /sys/.../iio:deviceX/in_intensity_clear_integration_time
1521 What:           /sys/.../iio:deviceX/in_illuminance_integration_time
1522 KernelVersion:  3.12
1523 Contact:        linux-iio@vger.kernel.org
1524 Description:
1525                 This attribute is used to get/set the integration time in
1526                 seconds. If shared across all channels of a given type,
1527                 <type>_integration_time is used.
1528
1529 What:           /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_integration_time
1530 KernelVersion:  4.0
1531 Contact:        linux-iio@vger.kernel.org
1532 Description:
1533                 Number of seconds in which to compute speed.
1534
1535 What:           /sys/bus/iio/devices/iio:deviceX/in_rot_quaternion_raw
1536 KernelVersion:  3.15
1537 Contact:        linux-iio@vger.kernel.org
1538 Description:
1539                 Raw value of quaternion components using a format
1540                 x y z w. Here x, y, and z component represents the axis about
1541                 which a rotation will occur and w component represents the
1542                 amount of rotation.
1543
1544 What:           /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_raw
1545 What:           /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_raw
1546 What:           /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_raw
1547 What:           /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_raw
1548 KernelVersion:  3.15
1549 Contact:        linux-iio@vger.kernel.org
1550 Description:
1551                 Raw value of rotation from true/magnetic north measured with
1552                 or without compensation from tilt sensors.
1553
1554 What:           /sys/bus/iio/devices/iio:deviceX/in_currentX_raw
1555 What:           /sys/bus/iio/devices/iio:deviceX/in_currentX_i_raw
1556 What:           /sys/bus/iio/devices/iio:deviceX/in_currentX_q_raw
1557 KernelVersion:  3.18
1558 Contact:        linux-iio@vger.kernel.org
1559 Description:
1560                 Raw current measurement from channel X. Units are in milliamps
1561                 after application of scale and offset. If no offset or scale is
1562                 present, output should be considered as processed with the
1563                 unit in milliamps.
1564
1565                 Channels with 'i' and 'q' modifiers always exist in pairs and both
1566                 channels refer to the same signal. The 'i' channel contains the in-phase
1567                 component of the signal while the 'q' channel contains the quadrature
1568                 component.
1569
1570 What:           /sys/.../iio:deviceX/in_energy_en
1571 What:           /sys/.../iio:deviceX/in_distance_en
1572 What:           /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_en
1573 What:           /sys/.../iio:deviceX/in_steps_en
1574 KernelVersion:  3.19
1575 Contact:        linux-iio@vger.kernel.org
1576 Description:
1577                 Activates a device feature that runs in firmware/hardware.
1578                 E.g. for steps: the pedometer saves power while not used;
1579                 when activated, it will count the steps taken by the user in
1580                 firmware and export them through in_steps_input.
1581
1582 What:           /sys/.../iio:deviceX/in_steps_input
1583 KernelVersion:  3.19
1584 Contact:        linux-iio@vger.kernel.org
1585 Description:
1586                 This attribute is used to read the number of steps taken by the user
1587                 since the last reboot while activated.
1588
1589 What:           /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_input
1590 What:           /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_raw
1591 KernelVersion:  3.19
1592 Contact:        linux-iio@vger.kernel.org
1593 Description:
1594                 This attribute is used to read the current speed value of the
1595                 user (which is the norm or magnitude of the velocity vector).
1596                 Units after application of scale are m/s.
1597
1598 What:           /sys/.../iio:deviceX/in_steps_debounce_count
1599 KernelVersion:  4.0
1600 Contact:        linux-iio@vger.kernel.org
1601 Description:
1602                 Specifies the number of steps that must occur within
1603                 in_steps_filter_debounce_time for the pedometer to decide the
1604                 consumer is making steps.
1605
1606 What:           /sys/.../iio:deviceX/in_steps_debounce_time
1607 KernelVersion:  4.0
1608 Contact:        linux-iio@vger.kernel.org
1609 Description:
1610                 Specifies number of seconds in which we compute the steps
1611                 that occur in order to decide if the consumer is making steps.
1612
1613 What:           /sys/bus/iio/devices/iio:deviceX/bufferY/watermark
1614 KernelVersion:  5.11
1615 Contact:        linux-iio@vger.kernel.org
1616 Description:
1617                 A single positive integer specifying the maximum number of scan
1618                 elements to wait for.
1619
1620                 Poll will block until the watermark is reached.
1621
1622                 Blocking read will wait until the minimum between the requested
1623                 read amount or the low water mark is available.
1624
1625                 Non-blocking read will retrieve the available samples from the
1626                 buffer even if there are less samples then watermark level. This
1627                 allows the application to block on poll with a timeout and read
1628                 the available samples after the timeout expires and thus have a
1629                 maximum delay guarantee.
1630
1631 What:           /sys/bus/iio/devices/iio:deviceX/bufferY/data_available
1632 KernelVersion:  5.11
1633 Contact:        linux-iio@vger.kernel.org
1634 Description:
1635                 A read-only value indicating the bytes of data available in the
1636                 buffer. In the case of an output buffer, this indicates the
1637                 amount of empty space available to write data to. In the case of
1638                 an input buffer, this indicates the amount of data available for
1639                 reading.
1640
1641 What:           /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_enabled
1642 KernelVersion: 4.2
1643 Contact:        linux-iio@vger.kernel.org
1644 Description:
1645                 A read-only boolean value that indicates if the hardware fifo is
1646                 currently enabled or disabled. If the device does not have a
1647                 hardware fifo this entry is not present.
1648                 The hardware fifo is enabled when the buffer is enabled if the
1649                 current hardware fifo watermark level is set and other current
1650                 device settings allows it (e.g. if a trigger is set that samples
1651                 data differently that the hardware fifo does then hardware fifo
1652                 will not enabled).
1653
1654                 If the hardware fifo is enabled and the level of the hardware
1655                 fifo reaches the hardware fifo watermark level the device will
1656                 flush its hardware fifo to the device buffer. Doing a non
1657                 blocking read on the device when no samples are present in the
1658                 device buffer will also force a flush.
1659
1660                 When the hardware fifo is enabled there is no need to use a
1661                 trigger to use buffer mode since the watermark settings
1662                 guarantees that the hardware fifo is flushed to the device
1663                 buffer.
1664
1665 What:           /sys/bus/iio/devices/iio:device*/buffer/hwfifo_timeout
1666 KernelVersion:  4.12
1667 Contact:        linux-iio@vger.kernel.org
1668 Description:
1669                 A read/write property to provide capability to delay reporting of
1670                 samples till a timeout is reached. This allows host processors to
1671                 sleep, while the sensor is storing samples in its internal fifo.
1672                 The maximum timeout in seconds can be specified by setting
1673                 hwfifo_timeout.The current delay can be read by reading
1674                 hwfifo_timeout. A value of 0 means that there is no timeout.
1675
1676 What:           /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark
1677 KernelVersion: 4.2
1678 Contact:        linux-iio@vger.kernel.org
1679 Description:
1680                 Read-only entry that contains a single integer specifying the
1681                 current watermark level for the hardware fifo. If the device
1682                 does not have a hardware fifo this entry is not present.
1683                 The watermark level for the hardware fifo is set by the driver
1684                 based on the value set by the user in buffer/watermark but
1685                 taking into account hardware limitations (e.g. most hardware
1686                 buffers are limited to 32-64 samples, some hardware buffers
1687                 watermarks are fixed or have minimum levels).  A value of 0
1688                 means that the hardware watermark is unset.
1689
1690 What:           /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_min
1691 KernelVersion: 4.2
1692 Contact:       linux-iio@vger.kernel.org
1693 Description:
1694                 A single positive integer specifying the minimum watermark level
1695                 for the hardware fifo of this device. If the device does not
1696                 have a hardware fifo this entry is not present.
1697
1698                 If the user sets buffer/watermark to a value less than this one,
1699                 then the hardware watermark will remain unset.
1700
1701 What:          /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_max
1702 KernelVersion: 4.2
1703 Contact:       linux-iio@vger.kernel.org
1704 Description:
1705                 A single positive integer specifying the maximum watermark level
1706                 for the hardware fifo of this device. If the device does not
1707                 have a hardware fifo this entry is not present.
1708
1709                 If the user sets buffer/watermark to a value greater than this
1710                 one, then the hardware watermark will be capped at this value.
1711
1712 What:          /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_available
1713 KernelVersion: 4.2
1714 Contact:       linux-iio@vger.kernel.org
1715 Description:
1716                 A list of positive integers specifying the available watermark
1717                 levels for the hardware fifo. This entry is optional and if it
1718                 is not present it means that all the values between
1719                 hwfifo_watermark_min and hwfifo_watermark_max are supported.
1720
1721                 If the user sets buffer/watermark to a value greater than
1722                 hwfifo_watermak_min but not equal to any of the values in this
1723                 list, the driver will chose an appropriate value for the
1724                 hardware fifo watermark level.
1725
1726 What:           /sys/bus/iio/devices/iio:deviceX/in_temp_calibemissivity
1727 What:           /sys/bus/iio/devices/iio:deviceX/in_tempX_calibemissivity
1728 What:           /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibemissivity
1729 What:           /sys/bus/iio/devices/iio:deviceX/in_tempX_object_calibemissivity
1730 KernelVersion:  4.1
1731 Contact:        linux-iio@vger.kernel.org
1732 Description:
1733                 The emissivity ratio of the surface in the field of view of the
1734                 contactless temperature sensor.  Emissivity varies from 0 to 1,
1735                 with 1 being the emissivity of a black body.
1736
1737 What:           /sys/bus/iio/devices/iio:deviceX/in_magn_x_oversampling_ratio
1738 What:           /sys/bus/iio/devices/iio:deviceX/in_magn_y_oversampling_ratio
1739 What:           /sys/bus/iio/devices/iio:deviceX/in_magn_z_oversampling_ratio
1740 KernelVersion:  4.2
1741 Contact:        linux-iio@vger.kernel.org
1742 Description:
1743                 Hardware applied number of measurements for acquiring one
1744                 data point. The HW will do <type>[_name]_oversampling_ratio
1745                 measurements and return the average value as output data. Each
1746                 value resulted from <type>[_name]_oversampling_ratio measurements
1747                 is considered as one sample for <type>[_name]_sampling_frequency.
1748
1749 What:           /sys/bus/iio/devices/iio:deviceX/in_concentration_raw
1750 What:           /sys/bus/iio/devices/iio:deviceX/in_concentrationX_raw
1751 What:           /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_raw
1752 What:           /sys/bus/iio/devices/iio:deviceX/in_concentrationX_co2_raw
1753 What:           /sys/bus/iio/devices/iio:deviceX/in_concentration_ethanol_raw
1754 What:           /sys/bus/iio/devices/iio:deviceX/in_concentrationX_ethanol_raw
1755 What:           /sys/bus/iio/devices/iio:deviceX/in_concentration_h2_raw
1756 What:           /sys/bus/iio/devices/iio:deviceX/in_concentrationX_h2_raw
1757 What:           /sys/bus/iio/devices/iio:deviceX/in_concentration_o2_raw
1758 What:           /sys/bus/iio/devices/iio:deviceX/in_concentrationX_o2_raw
1759 What:           /sys/bus/iio/devices/iio:deviceX/in_concentration_voc_raw
1760 What:           /sys/bus/iio/devices/iio:deviceX/in_concentrationX_voc_raw
1761 KernelVersion:  4.3
1762 Contact:        linux-iio@vger.kernel.org
1763 Description:
1764                 Raw (unscaled no offset etc.) reading of a substance. Units
1765                 after application of scale and offset are percents.
1766
1767 What:           /sys/bus/iio/devices/iio:deviceX/in_resistance_raw
1768 What:           /sys/bus/iio/devices/iio:deviceX/in_resistanceX_raw
1769 What:           /sys/bus/iio/devices/iio:deviceX/out_resistance_raw
1770 What:           /sys/bus/iio/devices/iio:deviceX/out_resistanceX_raw
1771 KernelVersion:  4.3
1772 Contact:        linux-iio@vger.kernel.org
1773 Description:
1774                 Raw (unscaled no offset etc.) resistance reading that can be processed
1775                 into an ohm value.
1776
1777 What:           /sys/bus/iio/devices/iio:deviceX/heater_enable
1778 KernelVersion:  4.1.0
1779 Contact:        linux-iio@vger.kernel.org
1780 Description:
1781                 '1' (enable) or '0' (disable) specifying the enable
1782                 of heater function. Same reading values apply.
1783
1784                 This ABI is especially applicable for humidity sensors
1785                 to heatup the device and get rid of any condensation
1786                 in some humidity environment
1787
1788 What:           /sys/bus/iio/devices/iio:deviceX/in_ph_raw
1789 KernelVersion:  4.5
1790 Contact:        linux-iio@vger.kernel.org
1791 Description:
1792                 Raw (unscaled no offset etc.) pH reading of a substance as a negative
1793                 base-10 logarithm of hydrodium ions in a litre of water.
1794
1795 What:           /sys/bus/iio/devices/iio:deviceX/mount_matrix
1796 What:           /sys/bus/iio/devices/iio:deviceX/in_mount_matrix
1797 What:           /sys/bus/iio/devices/iio:deviceX/out_mount_matrix
1798 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_mount_matrix
1799 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_mount_matrix
1800 KernelVersion:  4.6
1801 Contact:        linux-iio@vger.kernel.org
1802 Description:
1803                 Mounting matrix for IIO sensors. This is a rotation matrix which
1804                 informs userspace about sensor chip's placement relative to the
1805                 main hardware it is mounted on.
1806
1807                 Main hardware placement is defined according to the local
1808                 reference frame related to the physical quantity the sensor
1809                 measures.
1810
1811                 Given that the rotation matrix is defined in a board specific
1812                 way (platform data and / or device-tree), the main hardware
1813                 reference frame definition is left to the implementor's choice
1814                 (see below for a magnetometer example).
1815
1816                 Applications should apply this rotation matrix to samples so
1817                 that when main hardware reference frame is aligned onto local
1818                 reference frame, then sensor chip reference frame is also
1819                 perfectly aligned with it.
1820
1821                 Matrix is a 3x3 unitary matrix and typically looks like
1822                 [0, 1, 0; 1, 0, 0; 0, 0, -1]. Identity matrix
1823                 [1, 0, 0; 0, 1, 0; 0, 0, 1] means sensor chip and main hardware
1824                 are perfectly aligned with each other.
1825
1826                 For example, a mounting matrix for a magnetometer sensor informs
1827                 userspace about sensor chip's ORIENTATION relative to the main
1828                 hardware.
1829
1830                 More specifically, main hardware orientation is defined with
1831                 respect to the LOCAL EARTH GEOMAGNETIC REFERENCE FRAME where :
1832
1833                 * Y is in the ground plane and positive towards magnetic North ;
1834                 * X is in the ground plane, perpendicular to the North axis and
1835                   positive towards the East ;
1836                 * Z is perpendicular to the ground plane and positive upwards.
1837
1838                 An implementor might consider that for a hand-held device, a
1839                 'natural' orientation would be 'front facing camera at the top'.
1840                 The main hardware reference frame could then be described as :
1841
1842                 * Y is in the plane of the screen and is positive towards the
1843                   top of the screen ;
1844                 * X is in the plane of the screen, perpendicular to Y axis, and
1845                   positive towards the right hand side of the screen ;
1846                 * Z is perpendicular to the screen plane and positive out of the
1847                   screen.
1848
1849                 Another example for a quadrotor UAV might be :
1850
1851                 * Y is in the plane of the propellers and positive towards the
1852                   front-view camera;
1853                 * X is in the plane of the propellers, perpendicular to Y axis,
1854                   and positive towards the starboard side of the UAV ;
1855                 * Z is perpendicular to propellers plane and positive upwards.
1856
1857 What:           /sys/bus/iio/devices/iio:deviceX/in_electricalconductivity_raw
1858 KernelVersion:  4.8
1859 Contact:        linux-iio@vger.kernel.org
1860 Description:
1861                 Raw (unscaled no offset etc.) electric conductivity reading that
1862                 can be processed to siemens per meter.
1863
1864 What:           /sys/bus/iio/devices/iio:deviceX/in_countY_raw
1865 KernelVersion:  4.10
1866 Contact:        linux-iio@vger.kernel.org
1867 Description:
1868                 This interface is deprecated; please use the Counter subsystem.
1869
1870                 Raw counter device counts from channel Y. For quadrature
1871                 counters, multiplication by an available [Y]_scale results in
1872                 the counts of a single quadrature signal phase from channel Y.
1873
1874 What:           /sys/bus/iio/devices/iio:deviceX/in_indexY_raw
1875 KernelVersion:  4.10
1876 Contact:        linux-iio@vger.kernel.org
1877 Description:
1878                 This interface is deprecated; please use the Counter subsystem.
1879
1880                 Raw counter device index value from channel Y. This attribute
1881                 provides an absolute positional reference (e.g. a pulse once per
1882                 revolution) which may be used to home positional systems as
1883                 required.
1884
1885 What:           /sys/bus/iio/devices/iio:deviceX/in_count_count_direction_available
1886 KernelVersion:  4.12
1887 Contact:        linux-iio@vger.kernel.org
1888 Description:
1889                 This interface is deprecated; please use the Counter subsystem.
1890
1891                 A list of possible counting directions which are:
1892
1893                 - "up"  : counter device is increasing.
1894                 - "down": counter device is decreasing.
1895
1896 What:           /sys/bus/iio/devices/iio:deviceX/in_countY_count_direction
1897 KernelVersion:  4.12
1898 Contact:        linux-iio@vger.kernel.org
1899 Description:
1900                 This interface is deprecated; please use the Counter subsystem.
1901
1902                 Raw counter device counters direction for channel Y.
1903
1904 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_label
1905 What:           /sys/bus/iio/devices/iio:deviceX/out_voltageY_label
1906 KernelVersion:  5.8
1907 Contact:        linux-iio@vger.kernel.org
1908 Description:
1909                 Optional symbolic label to a device channel.
1910                 If a label is defined for this channel add that to the channel
1911                 specific attributes. This is useful for userspace to be able to
1912                 better identify an individual channel.
1913
1914 What:           /sys/bus/iio/devices/iio:deviceX/in_phaseY_raw
1915 KernelVersion:  4.18
1916 Contact:        linux-iio@vger.kernel.org
1917 Description:
1918                 Raw (unscaled) phase difference reading from channel Y
1919                 that can be processed to radians.
1920
1921 What:           /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm1_input
1922 What:           /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm1_input
1923 What:           /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm2p5_input
1924 What:           /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm2p5_input
1925 What:           /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm4_input
1926 What:           /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm4_input
1927 What:           /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm10_input
1928 What:           /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm10_input
1929 KernelVersion:  4.22
1930 Contact:        linux-iio@vger.kernel.org
1931 Description:
1932                 Mass concentration reading of particulate matter in ug / m3.
1933                 pmX consists of particles with aerodynamic diameter less or
1934                 equal to X micrometers.
1935
1936 What:           /sys/bus/iio/devices/iio:deviceX/events/in_illuminance_period_available
1937 Date:           November 2019
1938 KernelVersion:  5.4
1939 Contact:        linux-iio@vger.kernel.org
1940 Description:
1941                 List of valid periods (in seconds) for which the light intensity
1942                 must be above the threshold level before interrupt is asserted.
1943
1944 What:           /sys/bus/iio/devices/iio:deviceX/in_filter_notch_center_frequency
1945 KernelVersion:  5.5
1946 Contact:        linux-iio@vger.kernel.org
1947 Description:
1948                 Center frequency in Hz for a notch filter. Used i.e. for line
1949                 noise suppression.
1950
1951 What:           /sys/bus/iio/devices/iio:deviceX/in_temp_thermocouple_type
1952 KernelVersion:  5.5
1953 Contact:        linux-iio@vger.kernel.org
1954 Description:
1955                 One of the following thermocouple types: B, E, J, K, N, R, S, T.
1956
1957 What:           /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibambient
1958 What:           /sys/bus/iio/devices/iio:deviceX/in_tempX_object_calibambient
1959 KernelVersion:  5.10
1960 Contact:        linux-iio@vger.kernel.org
1961 Description:
1962                 Calibrated ambient temperature for object temperature
1963                 calculation in milli degrees Celsius.
1964
1965 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_x_raw
1966 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_y_raw
1967 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_z_raw
1968 KernelVersion:  5.10
1969 Contact:        linux-iio@vger.kernel.org
1970 Description:
1971                 Unscaled light intensity according to CIE 1931/DIN 5033 color space.
1972                 Units after application of scale are nano nanowatts per square meter.
1973
1974 What:           /sys/bus/iio/devices/iio:deviceX/in_anglY_label
1975 KernelVersion:  5.12
1976 Contact:        linux-iio@vger.kernel.org
1977 Description:
1978                 Optional symbolic label for channel Y.
1979                 For Intel hid hinge sensor, the label values are:
1980                 hinge, keyboard, screen. It means the three channels
1981                 each correspond respectively to hinge angle, keyboard angle,
1982                 and screen angle.
1983
1984 What:           /sys/bus/iio/devices/iio:deviceX/in_illuminance_hysteresis_relative
1985 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_hysteresis_relative
1986 KernelVersion:  5.12
1987 Contact:        linux-iio@vger.kernel.org
1988 Description:
1989                 Specify the percent for light sensor relative to the channel
1990                 absolute value that a data field should change before an event
1991                 is generated. Units are a percentage of the prior reading.
1992
1993 What:           /sys/bus/iio/devices/iio:deviceX/calibration_auto_enable
1994 Date:           June 2020
1995 KernelVersion:  5.8
1996 Contact:        linux-iio@vger.kernel.org
1997 Description:
1998                 Some sensors have the ability to apply auto calibration at
1999                 runtime. For example, it may be necessary to compensate for
2000                 contaminant build-up in a measurement chamber or optical
2001                 element deterioration that would otherwise lead to sensor drift.
2002
2003                 Writing 1 or 0 to this attribute will respectively activate or
2004                 deactivate this auto calibration function.
2005
2006                 Upon reading, the current status is returned.
2007
2008 What:           /sys/bus/iio/devices/iio:deviceX/calibration_forced_value
2009 Date:           June 2020
2010 KernelVersion:  5.8
2011 Contact:        linux-iio@vger.kernel.org
2012 Description:
2013                 Some sensors have the ability to apply a manual calibration using
2014                 a known measurement value, perhaps obtained from an external
2015                 reference device.
2016
2017                 Writing a value to this function will force such a calibration
2018                 change. For the scd30 the value should be from the range
2019                 [400 1 2000].
2020
2021                 Note for the scd30 that a valid value may only be obtained once
2022                 it is has been written. Until then any read back of this value
2023                 should be ignored. As for the scd4x an error will be returned
2024                 immediately if the manual calibration has failed.
2025
2026 What:           /sys/bus/iio/devices/iio:deviceX/calibration_forced_value_available
2027 KernelVersion:  5.15
2028 Contact:        linux-iio@vger.kernel.org
2029 Description:
2030                 Available range for the forced calibration value, expressed as:
2031
2032                 - a range specified as "[min step max]"