Merge tag 'mtd/for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux
[linux-2.6-microblaze.git] / Documentation / 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 KernelVersion:  2.6.35
433 Contact:        linux-iio@vger.kernel.org
434 Description:
435                 If known for a device, scale to be applied to <type>Y[_name]_raw
436                 post addition of <type>[Y][_name]_offset in order to obtain the
437                 measured value in <type> units as specified in
438                 <type>[Y][_name]_raw documentation.  If shared across all in
439                 channels then Y and <x|y|z> are not present and the value is
440                 called <type>[Y][_name]_scale. The peak modifier means this
441                 value is applied to <type>Y[_name]_peak_raw values.
442
443 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibbias
444 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibbias
445 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibbias
446 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibbias
447 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibbias
448 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibbias
449 What:           /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibbias
450 What:           /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibbias
451 What:           /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibbias
452 What:           /sys/bus/iio/devices/iio:deviceX/in_pressure_calibbias
453 KernelVersion:  2.6.35
454 Contact:        linux-iio@vger.kernel.org
455 Description:
456                 Hardware applied calibration offset (assumed to fix production
457                 inaccuracies).
458
459 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale
460 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_calibscale
461 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_calibscale
462 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_calibscale
463 What:           /sys/bus/iio/devices/iio:deviceX/in_voltage_i_calibscale
464 What:           /sys/bus/iio/devices/iio:deviceX/in_voltage_q_calibscale
465 What:           /sys/bus/iio/devices/iio:deviceX/in_voltage_calibscale
466 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibscale
467 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibscale
468 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibscale
469 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibscale
470 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibscale
471 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibscale
472 What:           /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibscale
473 What:           /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale
474 What:           /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale
475 What:           /sys/bus/iio/devices/iio:deviceX/in_pressure_calibscale
476 What:           /sys/bus/iio/devices/iio:deviceX/in_illuminance_calibscale
477 KernelVersion:  2.6.35
478 Contact:        linux-iio@vger.kernel.org
479 Description:
480                 Hardware applied calibration scale factor (assumed to fix
481                 production inaccuracies).  If shared across all channels,
482                 <type>_calibscale is used.
483
484 What:           /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender
485 What:           /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender
486 What:           /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender
487 What:           /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender
488 KernelVersion:  4.0
489 Contact:        linux-iio@vger.kernel.org
490 Description:
491                 Gender of the user (e.g.: male, female) used by some pedometers
492                 to compute the stride length, distance, speed and activity
493                 type.
494
495 What:           /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender_available
496 What:           /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender_available
497 What:           /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender_available
498 What:           /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender_available
499 KernelVersion:  4.0
500 Contact:        linux-iio@vger.kernel.org
501 Description:
502                 Lists all available gender values (e.g.: male, female).
503
504 What:           /sys/bus/iio/devices/iio:deviceX/in_activity_calibheight
505 What:           /sys/bus/iio/devices/iio:deviceX/in_energy_calibheight
506 What:           /sys/bus/iio/devices/iio:deviceX/in_distance_calibheight
507 What:           /sys/bus/iio/devices/iio:deviceX/in_velocity_calibheight
508 KernelVersion:  3.19
509 Contact:        linux-iio@vger.kernel.org
510 Description:
511                 Height of the user (in meters) used by some pedometers
512                 to compute the stride length, distance, speed and activity
513                 type.
514
515 What:           /sys/bus/iio/devices/iio:deviceX/in_energy_calibweight
516 KernelVersion:  4.0
517 Contact:        linux-iio@vger.kernel.org
518 Description:
519                 Weight of the user (in kg). It is needed by some pedometers
520                 to compute the calories burnt by the user.
521
522 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_scale_available
523 What:           /sys/.../iio:deviceX/in_anglvel_scale_available
524 What:           /sys/.../iio:deviceX/in_magn_scale_available
525 What:           /sys/.../iio:deviceX/in_illuminance_scale_available
526 What:           /sys/.../iio:deviceX/in_intensity_scale_available
527 What:           /sys/.../iio:deviceX/in_proximity_scale_available
528 What:           /sys/.../iio:deviceX/in_voltageX_scale_available
529 What:           /sys/.../iio:deviceX/in_voltage-voltage_scale_available
530 What:           /sys/.../iio:deviceX/out_voltageX_scale_available
531 What:           /sys/.../iio:deviceX/out_altvoltageX_scale_available
532 What:           /sys/.../iio:deviceX/in_capacitance_scale_available
533 What:           /sys/.../iio:deviceX/in_pressure_scale_available
534 What:           /sys/.../iio:deviceX/in_pressureY_scale_available
535 KernelVersion:  2.6.35
536 Contact:        linux-iio@vger.kernel.org
537 Description:
538                 If a discrete set of scale values is available, they
539                 are listed in this attribute.
540
541 What:           /sys/bus/iio/devices/iio:deviceX/out_voltageY_hardwaregain
542 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain
543 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_red_hardwaregain
544 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_green_hardwaregain
545 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_blue_hardwaregain
546 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_clear_hardwaregain
547 KernelVersion:  2.6.35
548 Contact:        linux-iio@vger.kernel.org
549 Description:
550                 Hardware applied gain factor. If shared across all channels,
551                 <type>_hardwaregain is used.
552
553 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain_available
554 KernelVersion:  5.10
555 Contact:        linux-iio@vger.kernel.org
556 Description:
557                 Lists all available hardware applied gain factors. Shared across all
558                 channels.
559
560 What:           /sys/.../in_accel_filter_low_pass_3db_frequency
561 What:           /sys/.../in_magn_filter_low_pass_3db_frequency
562 What:           /sys/.../in_anglvel_filter_low_pass_3db_frequency
563 KernelVersion:  3.2
564 Contact:        linux-iio@vger.kernel.org
565 Description:
566                 If a known or controllable low pass filter is applied
567                 to the underlying data channel, then this parameter
568                 gives the 3dB frequency of the filter in Hz.
569
570 What:           /sys/.../in_accel_filter_high_pass_3db_frequency
571 What:           /sys/.../in_anglvel_filter_high_pass_3db_frequency
572 What:           /sys/.../in_magn_filter_high_pass_3db_frequency
573 KernelVersion:  4.2
574 Contact:        linux-iio@vger.kernel.org
575 Description:
576                 If a known or controllable high pass filter is applied
577                 to the underlying data channel, then this parameter
578                 gives the 3dB frequency of the filter in Hz.
579
580 What:           /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw
581 What:           /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw
582 KernelVersion:  2.6.37
583 Contact:        linux-iio@vger.kernel.org
584 Description:
585                 Raw (unscaled, no bias etc.) output voltage for
586                 channel Y.  The number must always be specified and
587                 unique if the output corresponds to a single channel.
588                 While DAC like devices typically use out_voltage,
589                 a continuous frequency generating device, such as
590                 a DDS or PLL should use out_altvoltage.
591
592 What:           /sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw
593 What:           /sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw
594 KernelVersion:  2.6.37
595 Contact:        linux-iio@vger.kernel.org
596 Description:
597                 Raw (unscaled, no bias etc.) output voltage for an aggregate of
598                 channel Y, channel Z, etc.  This interface is available in cases
599                 where a single output sets the value for multiple channels
600                 simultaneously.
601
602 What:           /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode
603 What:           /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode
604 What:           /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode
605 What:           /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode
606 KernelVersion:  2.6.38
607 Contact:        linux-iio@vger.kernel.org
608 Description:
609                 Specifies the output powerdown mode.
610                 DAC output stage is disconnected from the amplifier and
611                 1kohm_to_gnd: connected to ground via an 1kOhm resistor,
612                 2.5kohm_to_gnd: connected to ground via a 2.5kOhm resistor,
613                 6kohm_to_gnd: connected to ground via a 6kOhm resistor,
614                 20kohm_to_gnd: connected to ground via a 20kOhm resistor,
615                 90kohm_to_gnd: connected to ground via a 90kOhm resistor,
616                 100kohm_to_gnd: connected to ground via an 100kOhm resistor,
617                 125kohm_to_gnd: connected to ground via an 125kOhm resistor,
618                 500kohm_to_gnd: connected to ground via a 500kOhm resistor,
619                 640kohm_to_gnd: connected to ground via a 640kOhm resistor,
620                 three_state: left floating.
621                 For a list of available output power down options read
622                 outX_powerdown_mode_available. If Y is not present the
623                 mode is shared across all outputs.
624
625 What:           /sys/.../iio:deviceX/out_voltageY_powerdown_mode_available
626 What:           /sys/.../iio:deviceX/out_voltage_powerdown_mode_available
627 What:           /sys/.../iio:deviceX/out_altvoltageY_powerdown_mode_available
628 What:           /sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available
629 KernelVersion:  2.6.38
630 Contact:        linux-iio@vger.kernel.org
631 Description:
632                 Lists all available output power down modes.
633                 If Y is not present the mode is shared across all outputs.
634
635 What:           /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown
636 What:           /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown
637 What:           /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown
638 What:           /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown
639 KernelVersion:  2.6.38
640 Contact:        linux-iio@vger.kernel.org
641 Description:
642                 Writing 1 causes output Y to enter the power down mode specified
643                 by the corresponding outY_powerdown_mode. DAC output stage is
644                 disconnected from the amplifier. Clearing returns to normal
645                 operation. Y may be suppressed if all outputs are controlled
646                 together.
647
648 What:           /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency
649 KernelVersion:  3.4.0
650 Contact:        linux-iio@vger.kernel.org
651 Description:
652                 Output frequency for channel Y in Hz. The number must always be
653                 specified and unique if the output corresponds to a single
654                 channel.
655
656 What:           /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase
657 KernelVersion:  3.4.0
658 Contact:        linux-iio@vger.kernel.org
659 Description:
660                 Phase in radians of one frequency/clock output Y
661                 (out_altvoltageY) relative to another frequency/clock output
662                 (out_altvoltageZ) of the device X. The number must always be
663                 specified and unique if the output corresponds to a single
664                 channel.
665
666 What:           /sys/bus/iio/devices/iio:deviceX/events
667 KernelVersion:  2.6.35
668 Contact:        linux-iio@vger.kernel.org
669 Description:
670                 Configuration of which hardware generated events are passed up
671                 to user-space.
672
673 What:           /sys/.../iio:deviceX/events/in_accel_x_thresh_rising_en
674 What:           /sys/.../iio:deviceX/events/in_accel_x_thresh_falling_en
675 What:           /sys/.../iio:deviceX/events/in_accel_y_thresh_rising_en
676 What:           /sys/.../iio:deviceX/events/in_accel_y_thresh_falling_en
677 What:           /sys/.../iio:deviceX/events/in_accel_z_thresh_rising_en
678 What:           /sys/.../iio:deviceX/events/in_accel_z_thresh_falling_en
679 What:           /sys/.../iio:deviceX/events/in_anglvel_x_thresh_rising_en
680 What:           /sys/.../iio:deviceX/events/in_anglvel_x_thresh_falling_en
681 What:           /sys/.../iio:deviceX/events/in_anglvel_y_thresh_rising_en
682 What:           /sys/.../iio:deviceX/events/in_anglvel_y_thresh_falling_en
683 What:           /sys/.../iio:deviceX/events/in_anglvel_z_thresh_rising_en
684 What:           /sys/.../iio:deviceX/events/in_anglvel_z_thresh_falling_en
685 What:           /sys/.../iio:deviceX/events/in_magn_x_thresh_rising_en
686 What:           /sys/.../iio:deviceX/events/in_magn_x_thresh_falling_en
687 What:           /sys/.../iio:deviceX/events/in_magn_y_thresh_rising_en
688 What:           /sys/.../iio:deviceX/events/in_magn_y_thresh_falling_en
689 What:           /sys/.../iio:deviceX/events/in_magn_z_thresh_rising_en
690 What:           /sys/.../iio:deviceX/events/in_magn_z_thresh_falling_en
691 What:           /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_rising_en
692 What:           /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_falling_en
693 What:           /sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_rising_en
694 What:           /sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_falling_en
695 What:           /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_en
696 What:           /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_en
697 What:           /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_rising_en
698 What:           /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_falling_en
699 What:           /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_rising_en
700 What:           /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_falling_en
701 What:           /sys/.../iio:deviceX/events/in_voltageY_thresh_rising_en
702 What:           /sys/.../iio:deviceX/events/in_voltageY_thresh_falling_en
703 What:           /sys/.../iio:deviceX/events/in_voltageY_thresh_either_en
704 What:           /sys/.../iio:deviceX/events/in_tempY_thresh_rising_en
705 What:           /sys/.../iio:deviceX/events/in_tempY_thresh_falling_en
706 What:           /sys/.../iio:deviceX/events/in_capacitanceY_thresh_rising_en
707 What:           /sys/.../iio:deviceX/events/in_capacitanceY_thresh_falling_en
708 KernelVersion:  2.6.37
709 Contact:        linux-iio@vger.kernel.org
710 Description:
711                 Event generated when channel passes a threshold in the specified
712                 (_rising|_falling) direction. If the direction is not specified,
713                 then either the device will report an event which ever direction
714                 a single threshold value is passed in (e.g.
715                 <type>[Y][_name]_<raw|input>_thresh_value) or
716                 <type>[Y][_name]_<raw|input>_thresh_rising_value and
717                 <type>[Y][_name]_<raw|input>_thresh_falling_value may take
718                 different values, but the device can only enable both thresholds
719                 or neither.
720
721                 Note the driver will assume the last p events requested are
722                 to be enabled where p is how many it supports (which may vary
723                 depending on the exact set requested. So if you want to be
724                 sure you have set what you think you have, check the contents of
725                 these attributes after everything is configured. Drivers may
726                 have to buffer any parameters so that they are consistent when
727                 a given event type is enabled at a future point (and not those for
728                 whatever event was previously enabled).
729
730 What:           /sys/.../iio:deviceX/events/in_accel_x_roc_rising_en
731 What:           /sys/.../iio:deviceX/events/in_accel_x_roc_falling_en
732 What:           /sys/.../iio:deviceX/events/in_accel_y_roc_rising_en
733 What:           /sys/.../iio:deviceX/events/in_accel_y_roc_falling_en
734 What:           /sys/.../iio:deviceX/events/in_accel_z_roc_rising_en
735 What:           /sys/.../iio:deviceX/events/in_accel_z_roc_falling_en
736 What:           /sys/.../iio:deviceX/events/in_anglvel_x_roc_rising_en
737 What:           /sys/.../iio:deviceX/events/in_anglvel_x_roc_falling_en
738 What:           /sys/.../iio:deviceX/events/in_anglvel_y_roc_rising_en
739 What:           /sys/.../iio:deviceX/events/in_anglvel_y_roc_falling_en
740 What:           /sys/.../iio:deviceX/events/in_anglvel_z_roc_rising_en
741 What:           /sys/.../iio:deviceX/events/in_anglvel_z_roc_falling_en
742 What:           /sys/.../iio:deviceX/events/in_magn_x_roc_rising_en
743 What:           /sys/.../iio:deviceX/events/in_magn_x_roc_falling_en
744 What:           /sys/.../iio:deviceX/events/in_magn_y_roc_rising_en
745 What:           /sys/.../iio:deviceX/events/in_magn_y_roc_falling_en
746 What:           /sys/.../iio:deviceX/events/in_magn_z_roc_rising_en
747 What:           /sys/.../iio:deviceX/events/in_magn_z_roc_falling_en
748 What:           /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_rising_en
749 What:           /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_falling_en
750 What:           /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_rising_en
751 What:           /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_falling_en
752 What:           /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_rising_en
753 What:           /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_falling_en
754 What:           /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_rising_en
755 What:           /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_falling_en
756 What:           /sys/.../iio:deviceX/events/in_voltageY_supply_roc_rising_en
757 What:           /sys/.../iio:deviceX/events/in_voltageY_supply_roc_falling_en
758 What:           /sys/.../iio:deviceX/events/in_voltageY_roc_rising_en
759 What:           /sys/.../iio:deviceX/events/in_voltageY_roc_falling_en
760 What:           /sys/.../iio:deviceX/events/in_tempY_roc_rising_en
761 What:           /sys/.../iio:deviceX/events/in_tempY_roc_falling_en
762 KernelVersion:  2.6.37
763 Contact:        linux-iio@vger.kernel.org
764 Description:
765                 Event generated when channel passes a threshold on the rate of
766                 change (1st differential) in the specified (_rising|_falling)
767                 direction. If the direction is not specified, then either the
768                 device will report an event which ever direction a single
769                 threshold value is passed in (e.g.
770                 <type>[Y][_name]_<raw|input>_roc_value) or
771                 <type>[Y][_name]_<raw|input>_roc_rising_value and
772                 <type>[Y][_name]_<raw|input>_roc_falling_value may take
773                 different values, but the device can only enable both rate of
774                 change thresholds or neither.
775
776                 Note the driver will assume the last p events requested are
777                 to be enabled where p is however many it supports (which may
778                 vary depending on the exact set requested. So if you want to be
779                 sure you have set what you think you have, check the contents of
780                 these attributes after everything is configured. Drivers may
781                 have to buffer any parameters so that they are consistent when
782                 a given event type is enabled a future point (and not those for
783                 whatever event was previously enabled).
784
785 What:           /sys/.../events/in_capacitanceY_adaptive_thresh_rising_en
786 What:           /sys/.../events/in_capacitanceY_adaptive_thresh_falling_en
787 KernelVersion:  5.13
788 Contact:        linux-iio@vger.kernel.org
789 Description:
790                 Adaptive thresholds are similar to normal fixed thresholds
791                 but the value is expressed as an offset from a value which
792                 provides a low frequency approximation of the channel itself.
793                 Thus these detect if a rapid change occurs in the specified
794                 direction which crosses tracking value + offset.
795                 Tracking value calculation is devices specific.
796
797 What:           /sys/.../in_capacitanceY_adaptive_thresh_rising_timeout
798 What:           /sys/.../in_capacitanceY_adaptive_thresh_falling_timeout
799 KernelVersion:  5.11
800 Contact:        linux-iio@vger.kernel.org
801 Description:
802                 When adaptive thresholds are used, the tracking signal
803                 may adjust too slowly to step changes in the raw signal.
804                 Thus these specify the time in seconds for which the
805                 difference between the slow tracking signal and the raw
806                 signal is allowed to remain out-of-range before a reset
807                 event occurs in which the tracking signal is made equal
808                 to the raw signal, allowing slow tracking to resume and the
809                 adaptive threshold event detection to function as expected.
810
811 What:           /sys/.../events/in_accel_thresh_rising_value
812 What:           /sys/.../events/in_accel_thresh_falling_value
813 What:           /sys/.../events/in_accel_x_raw_thresh_rising_value
814 What:           /sys/.../events/in_accel_x_raw_thresh_falling_value
815 What:           /sys/.../events/in_accel_y_raw_thresh_rising_value
816 What:           /sys/.../events/in_accel_y_raw_thresh_falling_value
817 What:           /sys/.../events/in_accel_z_raw_thresh_rising_value
818 What:           /sys/.../events/in_accel_z_raw_thresh_falling_value
819 What:           /sys/.../events/in_anglvel_x_raw_thresh_rising_value
820 What:           /sys/.../events/in_anglvel_x_raw_thresh_falling_value
821 What:           /sys/.../events/in_anglvel_y_raw_thresh_rising_value
822 What:           /sys/.../events/in_anglvel_y_raw_thresh_falling_value
823 What:           /sys/.../events/in_anglvel_z_raw_thresh_rising_value
824 What:           /sys/.../events/in_anglvel_z_raw_thresh_falling_value
825 What:           /sys/.../events/in_magn_x_raw_thresh_rising_value
826 What:           /sys/.../events/in_magn_x_raw_thresh_falling_value
827 What:           /sys/.../events/in_magn_y_raw_thresh_rising_value
828 What:           /sys/.../events/in_magn_y_raw_thresh_falling_value
829 What:           /sys/.../events/in_magn_z_raw_thresh_rising_value
830 What:           /sys/.../events/in_magn_z_raw_thresh_falling_value
831 What:           /sys/.../events/in_rot_from_north_magnetic_raw_thresh_rising_value
832 What:           /sys/.../events/in_rot_from_north_magnetic_raw_thresh_falling_value
833 What:           /sys/.../events/in_rot_from_north_true_raw_thresh_rising_value
834 What:           /sys/.../events/in_rot_from_north_true_raw_thresh_falling_value
835 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_rising_value
836 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_falling_value
837 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_rising_value
838 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_falling_value
839 What:           /sys/.../events/in_voltageY_supply_raw_thresh_rising_value
840 What:           /sys/.../events/in_voltageY_supply_raw_thresh_falling_value
841 What:           /sys/.../events/in_voltageY_raw_thresh_rising_value
842 What:           /sys/.../events/in_voltageY_raw_thresh_falling_value
843 What:           /sys/.../events/in_tempY_raw_thresh_rising_value
844 What:           /sys/.../events/in_tempY_raw_thresh_falling_value
845 What:           /sys/.../events/in_illuminance0_thresh_falling_value
846 What:           /sys/.../events/in_illuminance0_thresh_rising_value
847 What:           /sys/.../events/in_proximity0_thresh_falling_value
848 What:           /sys/.../events/in_proximity0_thresh_rising_value
849 What:           /sys/.../events/in_illuminance_thresh_rising_value
850 What:           /sys/.../events/in_illuminance_thresh_falling_value
851 What:           /sys/.../events/in_capacitanceY_thresh_rising_value
852 What:           /sys/.../events/in_capacitanceY_thresh_falling_value
853 What:           /sys/.../events/in_capacitanceY_thresh_adaptive_rising_value
854 What:           /sys/.../events/in_capacitanceY_thresh_falling_rising_value
855 KernelVersion:  2.6.37
856 Contact:        linux-iio@vger.kernel.org
857 Description:
858                 Specifies the value of threshold that the device is comparing
859                 against for the events enabled by
860                 <type>Y[_name]_thresh[_rising|falling]_en.
861
862                 If separate attributes exist for the two directions, but
863                 direction is not specified for this attribute, then a single
864                 threshold value applies to both directions.
865
866                 The raw or input element of the name indicates whether the
867                 value is in raw device units or in processed units (as _raw
868                 and _input do on sysfs direct channel read attributes).
869
870 What:           /sys/.../events/in_accel_scale
871 What:           /sys/.../events/in_accel_peak_scale
872 What:           /sys/.../events/in_anglvel_scale
873 What:           /sys/.../events/in_magn_scale
874 What:           /sys/.../events/in_rot_from_north_magnetic_scale
875 What:           /sys/.../events/in_rot_from_north_true_scale
876 What:           /sys/.../events/in_voltage_scale
877 What:           /sys/.../events/in_voltage_supply_scale
878 What:           /sys/.../events/in_temp_scale
879 What:           /sys/.../events/in_illuminance_scale
880 What:           /sys/.../events/in_proximity_scale
881 KernelVersion:  3.21
882 Contact:        linux-iio@vger.kernel.org
883 Description:
884                 Specifies the conversion factor from the standard units
885                 to device specific units used to set the event trigger
886                 threshold.
887
888 What:           /sys/.../events/in_accel_x_thresh_rising_hysteresis
889 What:           /sys/.../events/in_accel_x_thresh_falling_hysteresis
890 What:           /sys/.../events/in_accel_x_thresh_either_hysteresis
891 What:           /sys/.../events/in_accel_y_thresh_rising_hysteresis
892 What:           /sys/.../events/in_accel_y_thresh_falling_hysteresis
893 What:           /sys/.../events/in_accel_y_thresh_either_hysteresis
894 What:           /sys/.../events/in_accel_z_thresh_rising_hysteresis
895 What:           /sys/.../events/in_accel_z_thresh_falling_hysteresis
896 What:           /sys/.../events/in_accel_z_thresh_either_hysteresis
897 What:           /sys/.../events/in_anglvel_x_thresh_rising_hysteresis
898 What:           /sys/.../events/in_anglvel_x_thresh_falling_hysteresis
899 What:           /sys/.../events/in_anglvel_x_thresh_either_hysteresis
900 What:           /sys/.../events/in_anglvel_y_thresh_rising_hysteresis
901 What:           /sys/.../events/in_anglvel_y_thresh_falling_hysteresis
902 What:           /sys/.../events/in_anglvel_y_thresh_either_hysteresis
903 What:           /sys/.../events/in_anglvel_z_thresh_rising_hysteresis
904 What:           /sys/.../events/in_anglvel_z_thresh_falling_hysteresis
905 What:           /sys/.../events/in_anglvel_z_thresh_either_hysteresis
906 What:           /sys/.../events/in_magn_x_thresh_rising_hysteresis
907 What:           /sys/.../events/in_magn_x_thresh_falling_hysteresis
908 What:           /sys/.../events/in_magn_x_thresh_either_hysteresis
909 What:           /sys/.../events/in_magn_y_thresh_rising_hysteresis
910 What:           /sys/.../events/in_magn_y_thresh_falling_hysteresis
911 What:           /sys/.../events/in_magn_y_thresh_either_hysteresis
912 What:           /sys/.../events/in_magn_z_thresh_rising_hysteresis
913 What:           /sys/.../events/in_magn_z_thresh_falling_hysteresis
914 What:           /sys/.../events/in_magn_z_thresh_either_hysteresis
915 What:           /sys/.../events/in_rot_from_north_magnetic_thresh_rising_hysteresis
916 What:           /sys/.../events/in_rot_from_north_magnetic_thresh_falling_hysteresis
917 What:           /sys/.../events/in_rot_from_north_magnetic_thresh_either_hysteresis
918 What:           /sys/.../events/in_rot_from_north_true_thresh_rising_hysteresis
919 What:           /sys/.../events/in_rot_from_north_true_thresh_falling_hysteresis
920 What:           /sys/.../events/in_rot_from_north_true_thresh_either_hysteresis
921 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_hysteresis
922 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_hysteresis
923 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_either_hysteresis
924 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_hysteresis
925 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_hysteresis
926 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_either_hysteresis
927 What:           /sys/.../events/in_voltageY_thresh_rising_hysteresis
928 What:           /sys/.../events/in_voltageY_thresh_falling_hysteresis
929 What:           /sys/.../events/in_voltageY_thresh_either_hysteresis
930 What:           /sys/.../events/in_tempY_thresh_rising_hysteresis
931 What:           /sys/.../events/in_tempY_thresh_falling_hysteresis
932 What:           /sys/.../events/in_tempY_thresh_either_hysteresis
933 What:           /sys/.../events/in_illuminance0_thresh_falling_hysteresis
934 What:           /sys/.../events/in_illuminance0_thresh_rising_hysteresis
935 What:           /sys/.../events/in_illuminance0_thresh_either_hysteresis
936 What:           /sys/.../events/in_proximity0_thresh_falling_hysteresis
937 What:           /sys/.../events/in_proximity0_thresh_rising_hysteresis
938 What:           /sys/.../events/in_proximity0_thresh_either_hysteresis
939 KernelVersion:  3.13
940 Contact:        linux-iio@vger.kernel.org
941 Description:
942                 Specifies the hysteresis of threshold that the device is comparing
943                 against for the events enabled by
944                 <type>Y[_name]_thresh[_(rising|falling)]_hysteresis.
945                 If separate attributes exist for the two directions, but
946                 direction is not specified for this attribute, then a single
947                 hysteresis value applies to both directions.
948
949                 For falling events the hysteresis is added to the _value attribute for
950                 this event to get the upper threshold for when the event goes back to
951                 normal, for rising events the hysteresis is subtracted from the _value
952                 attribute. E.g. if in_voltage0_raw_thresh_rising_value is set to 1200
953                 and in_voltage0_raw_thresh_rising_hysteresis is set to 50. The event
954                 will get activated once in_voltage0_raw goes above 1200 and will become
955                 deactivated again once the value falls below 1150.
956
957 What:           /sys/.../events/in_accel_x_raw_roc_rising_value
958 What:           /sys/.../events/in_accel_x_raw_roc_falling_value
959 What:           /sys/.../events/in_accel_y_raw_roc_rising_value
960 What:           /sys/.../events/in_accel_y_raw_roc_falling_value
961 What:           /sys/.../events/in_accel_z_raw_roc_rising_value
962 What:           /sys/.../events/in_accel_z_raw_roc_falling_value
963 What:           /sys/.../events/in_anglvel_x_raw_roc_rising_value
964 What:           /sys/.../events/in_anglvel_x_raw_roc_falling_value
965 What:           /sys/.../events/in_anglvel_y_raw_roc_rising_value
966 What:           /sys/.../events/in_anglvel_y_raw_roc_falling_value
967 What:           /sys/.../events/in_anglvel_z_raw_roc_rising_value
968 What:           /sys/.../events/in_anglvel_z_raw_roc_falling_value
969 What:           /sys/.../events/in_magn_x_raw_roc_rising_value
970 What:           /sys/.../events/in_magn_x_raw_roc_falling_value
971 What:           /sys/.../events/in_magn_y_raw_roc_rising_value
972 What:           /sys/.../events/in_magn_y_raw_roc_falling_value
973 What:           /sys/.../events/in_magn_z_raw_roc_rising_value
974 What:           /sys/.../events/in_magn_z_raw_roc_falling_value
975 What:           /sys/.../events/in_rot_from_north_magnetic_raw_roc_rising_value
976 What:           /sys/.../events/in_rot_from_north_magnetic_raw_roc_falling_value
977 What:           /sys/.../events/in_rot_from_north_true_raw_roc_rising_value
978 What:           /sys/.../events/in_rot_from_north_true_raw_roc_falling_value
979 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_rising_value
980 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_falling_value
981 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_rising_value
982 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_falling_value
983 What:           /sys/.../events/in_voltageY_supply_raw_roc_rising_value
984 What:           /sys/.../events/in_voltageY_supply_raw_roc_falling_value
985 What:           /sys/.../events/in_voltageY_raw_roc_rising_value
986 What:           /sys/.../events/in_voltageY_raw_roc_falling_value
987 What:           /sys/.../events/in_tempY_raw_roc_rising_value
988 What:           /sys/.../events/in_tempY_raw_roc_falling_value
989 KernelVersion:  2.6.37
990 Contact:        linux-iio@vger.kernel.org
991 Description:
992                 Specifies the value of rate of change threshold that the
993                 device is comparing against for the events enabled by
994                 <type>[Y][_name]_roc[_rising|falling]_en.
995
996                 If separate attributes exist for the two directions,
997                 but direction is not specified for this attribute,
998                 then a single threshold value applies to both directions.
999                 The raw or input element of the name indicates whether the
1000                 value is in raw device units or in processed units (as _raw
1001                 and _input do on sysfs direct channel read attributes).
1002
1003 What:           /sys/.../events/in_accel_x_thresh_rising_period
1004 What:           /sys/.../events/in_accel_x_thresh_falling_period
1005 What:           /sys/.../events/in_accel_x_roc_rising_period
1006 What:           /sys/.../events/in_accel_x_roc_falling_period
1007 What:           /sys/.../events/in_accel_y_thresh_rising_period
1008 What:           /sys/.../events/in_accel_y_thresh_falling_period
1009 What:           /sys/.../events/in_accel_y_roc_rising_period
1010 What:           /sys/.../events/in_accel_y_roc_falling_period
1011 What:           /sys/.../events/in_accel_z_thresh_rising_period
1012 What:           /sys/.../events/in_accel_z_thresh_falling_period
1013 What:           /sys/.../events/in_accel_z_roc_rising_period
1014 What:           /sys/.../events/in_accel_z_roc_falling_period
1015 What:           /sys/.../events/in_anglvel_x_thresh_rising_period
1016 What:           /sys/.../events/in_anglvel_x_thresh_falling_period
1017 What:           /sys/.../events/in_anglvel_x_roc_rising_period
1018 What:           /sys/.../events/in_anglvel_x_roc_falling_period
1019 What:           /sys/.../events/in_anglvel_y_thresh_rising_period
1020 What:           /sys/.../events/in_anglvel_y_thresh_falling_period
1021 What:           /sys/.../events/in_anglvel_y_roc_rising_period
1022 What:           /sys/.../events/in_anglvel_y_roc_falling_period
1023 What:           /sys/.../events/in_anglvel_z_thresh_rising_period
1024 What:           /sys/.../events/in_anglvel_z_thresh_falling_period
1025 What:           /sys/.../events/in_anglvel_z_roc_rising_period
1026 What:           /sys/.../events/in_anglvel_z_roc_falling_period
1027 What:           /sys/.../events/in_magn_x_thresh_rising_period
1028 What:           /sys/.../events/in_magn_x_thresh_falling_period
1029 What:           /sys/.../events/in_magn_x_roc_rising_period
1030 What:           /sys/.../events/in_magn_x_roc_falling_period
1031 What:           /sys/.../events/in_magn_y_thresh_rising_period
1032 What:           /sys/.../events/in_magn_y_thresh_falling_period
1033 What:           /sys/.../events/in_magn_y_roc_rising_period
1034 What:           /sys/.../events/in_magn_y_roc_falling_period
1035 What:           /sys/.../events/in_magn_z_thresh_rising_period
1036 What:           /sys/.../events/in_magn_z_thresh_falling_period
1037 What:           /sys/.../events/in_magn_z_roc_rising_period
1038 What:           /sys/.../events/in_magn_z_roc_falling_period
1039 What:           /sys/.../events/in_rot_from_north_magnetic_thresh_rising_period
1040 What:           /sys/.../events/in_rot_from_north_magnetic_thresh_falling_period
1041 What:           /sys/.../events/in_rot_from_north_magnetic_roc_rising_period
1042 What:           /sys/.../events/in_rot_from_north_magnetic_roc_falling_period
1043 What:           /sys/.../events/in_rot_from_north_true_thresh_rising_period
1044 What:           /sys/.../events/in_rot_from_north_true_thresh_falling_period
1045 What:           /sys/.../events/in_rot_from_north_true_roc_rising_period
1046 What:           /sys/.../events/in_rot_from_north_true_roc_falling_period
1047 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_period
1048 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_period
1049 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_rising_period
1050 What:           /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_falling_period
1051 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_period
1052 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_period
1053 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_roc_rising_period
1054 What:           /sys/.../events/in_rot_from_north_true_tilt_comp_roc_falling_period
1055 What:           /sys/.../events/in_voltageY_supply_thresh_rising_period
1056 What:           /sys/.../events/in_voltageY_supply_thresh_falling_period
1057 What:           /sys/.../events/in_voltageY_supply_roc_rising_period
1058 What:           /sys/.../events/in_voltageY_supply_roc_falling_period
1059 What:           /sys/.../events/in_voltageY_thresh_rising_period
1060 What:           /sys/.../events/in_voltageY_thresh_falling_period
1061 What:           /sys/.../events/in_voltageY_roc_rising_period
1062 What:           /sys/.../events/in_voltageY_roc_falling_period
1063 What:           /sys/.../events/in_tempY_thresh_rising_period
1064 What:           /sys/.../events/in_tempY_thresh_falling_period
1065 What:           /sys/.../events/in_tempY_roc_rising_period
1066 What:           /sys/.../events/in_tempY_roc_falling_period
1067 What:           /sys/.../events/in_accel_x&y&z_mag_falling_period
1068 What:           /sys/.../events/in_intensity0_thresh_period
1069 What:           /sys/.../events/in_proximity0_thresh_period
1070 What:           /sys/.../events/in_activity_still_thresh_rising_period
1071 What:           /sys/.../events/in_activity_still_thresh_falling_period
1072 What:           /sys/.../events/in_activity_walking_thresh_rising_period
1073 What:           /sys/.../events/in_activity_walking_thresh_falling_period
1074 What:           /sys/.../events/in_activity_jogging_thresh_rising_period
1075 What:           /sys/.../events/in_activity_jogging_thresh_falling_period
1076 What:           /sys/.../events/in_activity_running_thresh_rising_period
1077 What:           /sys/.../events/in_activity_running_thresh_falling_period
1078 What:           /sys/.../events/in_illuminance_thresh_either_period
1079 KernelVersion:  2.6.37
1080 Contact:        linux-iio@vger.kernel.org
1081 Description:
1082                 Period of time (in seconds) for which the condition must be
1083                 met before an event is generated. If direction is not
1084                 specified then this period applies to both directions.
1085
1086 What:           /sys/.../events/in_accel_thresh_rising_low_pass_filter_3db
1087 What:           /sys/.../events/in_anglvel_thresh_rising_low_pass_filter_3db
1088 What:           /sys/.../events/in_magn_thresh_rising_low_pass_filter_3db
1089 KernelVersion:  4.2
1090 Contact:        linux-iio@vger.kernel.org
1091 Description:
1092                 If a low pass filter can be applied to the event generation
1093                 this property gives its 3db frequency in Hz.
1094                 A value of zero disables the filter.
1095
1096 What:           /sys/.../events/in_accel_thresh_rising_high_pass_filter_3db
1097 What:           /sys/.../events/in_anglvel_thresh_rising_high_pass_filter_3db
1098 What:           /sys/.../events/in_magn_thresh_rising_high_pass_filter_3db
1099 KernelVersion:  4.2
1100 Contact:        linux-iio@vger.kernel.org
1101 Description:
1102                 If a high pass filter can be applied to the event generation
1103                 this property gives its 3db frequency in Hz.
1104                 A value of zero disables the filter.
1105
1106 What:           /sys/.../events/in_activity_still_thresh_rising_en
1107 What:           /sys/.../events/in_activity_still_thresh_falling_en
1108 What:           /sys/.../events/in_activity_walking_thresh_rising_en
1109 What:           /sys/.../events/in_activity_walking_thresh_falling_en
1110 What:           /sys/.../events/in_activity_jogging_thresh_rising_en
1111 What:           /sys/.../events/in_activity_jogging_thresh_falling_en
1112 What:           /sys/.../events/in_activity_running_thresh_rising_en
1113 What:           /sys/.../events/in_activity_running_thresh_falling_en
1114 KernelVersion:  3.19
1115 Contact:        linux-iio@vger.kernel.org
1116 Description:
1117                 Enables or disables activity events. Depending on direction
1118                 an event is generated when sensor ENTERS or LEAVES a given state.
1119
1120 What:           /sys/.../events/in_activity_still_thresh_rising_value
1121 What:           /sys/.../events/in_activity_still_thresh_falling_value
1122 What:           /sys/.../events/in_activity_walking_thresh_rising_value
1123 What:           /sys/.../events/in_activity_walking_thresh_falling_value
1124 What:           /sys/.../events/in_activity_jogging_thresh_rising_value
1125 What:           /sys/.../events/in_activity_jogging_thresh_falling_value
1126 What:           /sys/.../events/in_activity_running_thresh_rising_value
1127 What:           /sys/.../events/in_activity_running_thresh_falling_value
1128 KernelVersion:  3.19
1129 Contact:        linux-iio@vger.kernel.org
1130 Description:
1131                 Confidence value (in units as percentage) to be used
1132                 for deciding when an event should be generated. E.g for
1133                 running: If the confidence value reported by the sensor
1134                 is greater than in_activity_running_thresh_rising_value
1135                 then the sensor ENTERS running state. Conversely, if the
1136                 confidence value reported by the sensor is lower than
1137                 in_activity_running_thresh_falling_value then the sensor
1138                 is LEAVING running state.
1139
1140 What:           /sys/.../iio:deviceX/events/in_accel_mag_en
1141 What:           /sys/.../iio:deviceX/events/in_accel_mag_rising_en
1142 What:           /sys/.../iio:deviceX/events/in_accel_mag_falling_en
1143 What:           /sys/.../iio:deviceX/events/in_accel_x_mag_en
1144 What:           /sys/.../iio:deviceX/events/in_accel_x_mag_rising_en
1145 What:           /sys/.../iio:deviceX/events/in_accel_x_mag_falling_en
1146 What:           /sys/.../iio:deviceX/events/in_accel_y_mag_en
1147 What:           /sys/.../iio:deviceX/events/in_accel_y_mag_rising_en
1148 What:           /sys/.../iio:deviceX/events/in_accel_y_mag_falling_en
1149 What:           /sys/.../iio:deviceX/events/in_accel_z_mag_en
1150 What:           /sys/.../iio:deviceX/events/in_accel_z_mag_rising_en
1151 What:           /sys/.../iio:deviceX/events/in_accel_z_mag_falling_en
1152 What:           /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_rising_en
1153 What:           /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_falling_en
1154 KernelVersion:  2.6.37
1155 Contact:        linux-iio@vger.kernel.org
1156 Description:
1157                 Similar to in_accel_x_thresh[_rising|_falling]_en, but here the
1158                 magnitude of the channel is compared to the threshold, not its
1159                 signed value.
1160
1161 What:           /sys/.../events/in_accel_raw_mag_value
1162 What:           /sys/.../events/in_accel_x_raw_mag_rising_value
1163 What:           /sys/.../events/in_accel_y_raw_mag_rising_value
1164 What:           /sys/.../events/in_accel_z_raw_mag_rising_value
1165 KernelVersion:  2.6.37
1166 Contact:        linux-iio@vger.kernel.org
1167 Description:
1168                 The value to which the magnitude of the channel is compared. If
1169                 number or direction is not specified, applies to all channels of
1170                 this type.
1171
1172 What:           /sys/.../events/in_steps_change_en
1173 KernelVersion:  4.0
1174 Contact:        linux-iio@vger.kernel.org
1175 Description:
1176                 Event generated when channel passes a threshold on the absolute
1177                 change in value. E.g. for steps: a step change event is
1178                 generated each time the user takes N steps, where N is set using
1179                 in_steps_change_value.
1180
1181 What:           /sys/.../events/in_steps_change_value
1182 KernelVersion:  4.0
1183 Contact:        linux-iio@vger.kernel.org
1184 Description:
1185                 Specifies the value of change threshold that the
1186                 device is comparing against for the events enabled by
1187                 <type>[Y][_name]_roc[_rising|falling|]_en. E.g. for steps:
1188                 if set to 3, a step change event will be generated every 3
1189                 steps.
1190
1191 What:           /sys/bus/iio/devices/iio:deviceX/trigger/current_trigger
1192 KernelVersion:  2.6.35
1193 Contact:        linux-iio@vger.kernel.org
1194 Description:
1195                 The name of the trigger source being used, as per string given
1196                 in /sys/class/iio/triggerY/name.
1197
1198 What:           /sys/bus/iio/devices/iio:deviceX/buffer/length
1199 KernelVersion:  2.6.35
1200 What:           /sys/bus/iio/devices/iio:deviceX/bufferY/length
1201 KernelVersion:  5.11
1202 Contact:        linux-iio@vger.kernel.org
1203 Description:
1204                 Number of scans contained by the buffer.
1205
1206 What:           /sys/bus/iio/devices/iio:deviceX/buffer/enable
1207 KernelVersion:  2.6.35
1208 What:           /sys/bus/iio/devices/iio:deviceX/bufferY/enable
1209 KernelVersion:  5.11
1210 Contact:        linux-iio@vger.kernel.org
1211 Description:
1212                 Actually start the buffer capture up.  Will start trigger
1213                 if first device and appropriate.
1214
1215 What:           /sys/bus/iio/devices/iio:deviceX/scan_elements
1216 KernelVersion:  2.6.37
1217 What:           /sys/bus/iio/devices/iio:deviceX/bufferY
1218 KernelVersion:  5.11
1219 Contact:        linux-iio@vger.kernel.org
1220 Description:
1221                 Directory containing interfaces for elements that will be
1222                 captured for a single triggered sample set in the buffer.
1223
1224                 Since kernel 5.11 the scan_elements attributes are merged into
1225                 the bufferY directory, to be configurable per buffer.
1226
1227 What:           /sys/.../iio:deviceX/scan_elements/in_accel_x_en
1228 What:           /sys/.../iio:deviceX/scan_elements/in_accel_y_en
1229 What:           /sys/.../iio:deviceX/scan_elements/in_accel_z_en
1230 What:           /sys/.../iio:deviceX/scan_elements/in_anglvel_x_en
1231 What:           /sys/.../iio:deviceX/scan_elements/in_anglvel_y_en
1232 What:           /sys/.../iio:deviceX/scan_elements/in_anglvel_z_en
1233 What:           /sys/.../iio:deviceX/scan_elements/in_magn_x_en
1234 What:           /sys/.../iio:deviceX/scan_elements/in_magn_y_en
1235 What:           /sys/.../iio:deviceX/scan_elements/in_magn_z_en
1236 What:           /sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_en
1237 What:           /sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_en
1238 What:           /sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_tilt_comp_en
1239 What:           /sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_tilt_comp_en
1240 What:           /sys/.../iio:deviceX/scan_elements/in_timestamp_en
1241 What:           /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_en
1242 What:           /sys/.../iio:deviceX/scan_elements/in_voltageY_en
1243 What:           /sys/.../iio:deviceX/scan_elements/in_voltageY-voltageZ_en
1244 What:           /sys/.../iio:deviceX/scan_elements/in_voltageY_i_en
1245 What:           /sys/.../iio:deviceX/scan_elements/in_voltageY_q_en
1246 What:           /sys/.../iio:deviceX/scan_elements/in_voltage_i_en
1247 What:           /sys/.../iio:deviceX/scan_elements/in_voltage_q_en
1248 What:           /sys/.../iio:deviceX/scan_elements/in_incli_x_en
1249 What:           /sys/.../iio:deviceX/scan_elements/in_incli_y_en
1250 What:           /sys/.../iio:deviceX/scan_elements/in_pressureY_en
1251 What:           /sys/.../iio:deviceX/scan_elements/in_pressure_en
1252 What:           /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_en
1253 What:           /sys/.../iio:deviceX/scan_elements/in_proximity_en
1254 KernelVersion:  2.6.37
1255 What:           /sys/.../iio:deviceX/bufferY/in_accel_x_en
1256 What:           /sys/.../iio:deviceX/bufferY/in_accel_y_en
1257 What:           /sys/.../iio:deviceX/bufferY/in_accel_z_en
1258 What:           /sys/.../iio:deviceX/bufferY/in_anglvel_x_en
1259 What:           /sys/.../iio:deviceX/bufferY/in_anglvel_y_en
1260 What:           /sys/.../iio:deviceX/bufferY/in_anglvel_z_en
1261 What:           /sys/.../iio:deviceX/bufferY/in_magn_x_en
1262 What:           /sys/.../iio:deviceX/bufferY/in_magn_y_en
1263 What:           /sys/.../iio:deviceX/bufferY/in_magn_z_en
1264 What:           /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_en
1265 What:           /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_en
1266 What:           /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_tilt_comp_en
1267 What:           /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_tilt_comp_en
1268 What:           /sys/.../iio:deviceX/bufferY/in_timestamp_en
1269 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_supply_en
1270 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_en
1271 What:           /sys/.../iio:deviceX/bufferY/in_voltageY-voltageZ_en
1272 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_i_en
1273 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_q_en
1274 What:           /sys/.../iio:deviceX/bufferY/in_voltage_i_en
1275 What:           /sys/.../iio:deviceX/bufferY/in_voltage_q_en
1276 What:           /sys/.../iio:deviceX/bufferY/in_incli_x_en
1277 What:           /sys/.../iio:deviceX/bufferY/in_incli_y_en
1278 What:           /sys/.../iio:deviceX/bufferY/in_pressureY_en
1279 What:           /sys/.../iio:deviceX/bufferY/in_pressure_en
1280 What:           /sys/.../iio:deviceX/bufferY/in_rot_quaternion_en
1281 What:           /sys/.../iio:deviceX/bufferY/in_proximity_en
1282 KernelVersion:  5.11
1283 Contact:        linux-iio@vger.kernel.org
1284 Description:
1285                 Scan element control for triggered data capture.
1286
1287 What:           /sys/.../iio:deviceX/scan_elements/in_accel_type
1288 What:           /sys/.../iio:deviceX/scan_elements/in_anglvel_type
1289 What:           /sys/.../iio:deviceX/scan_elements/in_magn_type
1290 What:           /sys/.../iio:deviceX/scan_elements/in_incli_type
1291 What:           /sys/.../iio:deviceX/scan_elements/in_voltageY_type
1292 What:           /sys/.../iio:deviceX/scan_elements/in_voltage_type
1293 What:           /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_type
1294 What:           /sys/.../iio:deviceX/scan_elements/in_voltageY_i_type
1295 What:           /sys/.../iio:deviceX/scan_elements/in_voltageY_q_type
1296 What:           /sys/.../iio:deviceX/scan_elements/in_voltage_i_type
1297 What:           /sys/.../iio:deviceX/scan_elements/in_voltage_q_type
1298 What:           /sys/.../iio:deviceX/scan_elements/in_timestamp_type
1299 What:           /sys/.../iio:deviceX/scan_elements/in_pressureY_type
1300 What:           /sys/.../iio:deviceX/scan_elements/in_pressure_type
1301 What:           /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_type
1302 What:           /sys/.../iio:deviceX/scan_elements/in_proximity_type
1303 KernelVersion:  2.6.37
1304 What:           /sys/.../iio:deviceX/bufferY/in_accel_type
1305 What:           /sys/.../iio:deviceX/bufferY/in_anglvel_type
1306 What:           /sys/.../iio:deviceX/bufferY/in_magn_type
1307 What:           /sys/.../iio:deviceX/bufferY/in_incli_type
1308 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_type
1309 What:           /sys/.../iio:deviceX/bufferY/in_voltage_type
1310 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_supply_type
1311 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_i_type
1312 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_q_type
1313 What:           /sys/.../iio:deviceX/bufferY/in_voltage_i_type
1314 What:           /sys/.../iio:deviceX/bufferY/in_voltage_q_type
1315 What:           /sys/.../iio:deviceX/bufferY/in_timestamp_type
1316 What:           /sys/.../iio:deviceX/bufferY/in_pressureY_type
1317 What:           /sys/.../iio:deviceX/bufferY/in_pressure_type
1318 What:           /sys/.../iio:deviceX/bufferY/in_rot_quaternion_type
1319 What:           /sys/.../iio:deviceX/bufferY/in_proximity_type
1320 KernelVersion:  5.11
1321 Contact:        linux-iio@vger.kernel.org
1322 Description:
1323                 Description of the scan element data storage within the buffer
1324                 and hence the form in which it is read from user-space.
1325                 Form is [be|le]:[s|u]bits/storagebits[>>shift].
1326                 be or le specifies big or little endian. s or u specifies if
1327                 signed (2's complement) or unsigned. bits is the number of bits
1328                 of data and storagebits is the space (after padding) that it
1329                 occupies in the buffer. shift if specified, is the shift that
1330                 needs to be applied prior to masking out unused bits. Some
1331                 devices put their data in the middle of the transferred elements
1332                 with additional information on both sides.  Note that some
1333                 devices will have additional information in the unused bits
1334                 so to get a clean value, the bits value must be used to mask
1335                 the buffer output value appropriately.  The storagebits value
1336                 also specifies the data alignment.  So s48/64>>2 will be a
1337                 signed 48 bit integer stored in a 64 bit location aligned to
1338                 a 64 bit boundary. To obtain the clean value, shift right 2
1339                 and apply a mask to zero the top 16 bits of the result.
1340                 For other storage combinations this attribute will be extended
1341                 appropriately.
1342
1343 What:           /sys/.../iio:deviceX/scan_elements/in_accel_type_available
1344 KernelVersion:  2.6.37
1345 Contact:        linux-iio@vger.kernel.org
1346 Description:
1347                 If the type parameter can take one of a small set of values,
1348                 this attribute lists them.
1349
1350 What:           /sys/.../iio:deviceX/scan_elements/in_voltageY_index
1351 What:           /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_index
1352 What:           /sys/.../iio:deviceX/scan_elements/in_voltageY_i_index
1353 What:           /sys/.../iio:deviceX/scan_elements/in_voltageY_q_index
1354 What:           /sys/.../iio:deviceX/scan_elements/in_voltage_i_index
1355 What:           /sys/.../iio:deviceX/scan_elements/in_voltage_q_index
1356 What:           /sys/.../iio:deviceX/scan_elements/in_accel_x_index
1357 What:           /sys/.../iio:deviceX/scan_elements/in_accel_y_index
1358 What:           /sys/.../iio:deviceX/scan_elements/in_accel_z_index
1359 What:           /sys/.../iio:deviceX/scan_elements/in_anglvel_x_index
1360 What:           /sys/.../iio:deviceX/scan_elements/in_anglvel_y_index
1361 What:           /sys/.../iio:deviceX/scan_elements/in_anglvel_z_index
1362 What:           /sys/.../iio:deviceX/scan_elements/in_magn_x_index
1363 What:           /sys/.../iio:deviceX/scan_elements/in_magn_y_index
1364 What:           /sys/.../iio:deviceX/scan_elements/in_magn_z_index
1365 What:           /sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_index
1366 What:           /sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_index
1367 What:           /sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_tilt_comp_index
1368 What:           /sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_tilt_comp_index
1369 What:           /sys/.../iio:deviceX/scan_elements/in_incli_x_index
1370 What:           /sys/.../iio:deviceX/scan_elements/in_incli_y_index
1371 What:           /sys/.../iio:deviceX/scan_elements/in_timestamp_index
1372 What:           /sys/.../iio:deviceX/scan_elements/in_pressureY_index
1373 What:           /sys/.../iio:deviceX/scan_elements/in_pressure_index
1374 What:           /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_index
1375 What:           /sys/.../iio:deviceX/scan_elements/in_proximity_index
1376 KernelVersion:  2.6.37
1377 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_index
1378 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_supply_index
1379 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_i_index
1380 What:           /sys/.../iio:deviceX/bufferY/in_voltageY_q_index
1381 What:           /sys/.../iio:deviceX/bufferY/in_voltage_i_index
1382 What:           /sys/.../iio:deviceX/bufferY/in_voltage_q_index
1383 What:           /sys/.../iio:deviceX/bufferY/in_accel_x_index
1384 What:           /sys/.../iio:deviceX/bufferY/in_accel_y_index
1385 What:           /sys/.../iio:deviceX/bufferY/in_accel_z_index
1386 What:           /sys/.../iio:deviceX/bufferY/in_anglvel_x_index
1387 What:           /sys/.../iio:deviceX/bufferY/in_anglvel_y_index
1388 What:           /sys/.../iio:deviceX/bufferY/in_anglvel_z_index
1389 What:           /sys/.../iio:deviceX/bufferY/in_magn_x_index
1390 What:           /sys/.../iio:deviceX/bufferY/in_magn_y_index
1391 What:           /sys/.../iio:deviceX/bufferY/in_magn_z_index
1392 What:           /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_index
1393 What:           /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_index
1394 What:           /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_tilt_comp_index
1395 What:           /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_tilt_comp_index
1396 What:           /sys/.../iio:deviceX/bufferY/in_incli_x_index
1397 What:           /sys/.../iio:deviceX/bufferY/in_incli_y_index
1398 What:           /sys/.../iio:deviceX/bufferY/in_timestamp_index
1399 What:           /sys/.../iio:deviceX/bufferY/in_pressureY_index
1400 What:           /sys/.../iio:deviceX/bufferY/in_pressure_index
1401 What:           /sys/.../iio:deviceX/bufferY/in_rot_quaternion_index
1402 What:           /sys/.../iio:deviceX/bufferY/in_proximity_index
1403 KernelVersion:  5.11
1404 Contact:        linux-iio@vger.kernel.org
1405 Description:
1406                 A single positive integer specifying the position of this
1407                 scan element in the buffer. Note these are not dependent on
1408                 what is enabled and may not be contiguous. Thus for user-space
1409                 to establish the full layout these must be used in conjunction
1410                 with all _en attributes to establish which channels are present,
1411                 and the relevant _type attributes to establish the data storage
1412                 format.
1413
1414 What:           /sys/.../iio:deviceX/in_activity_still_input
1415 What:           /sys/.../iio:deviceX/in_activity_walking_input
1416 What:           /sys/.../iio:deviceX/in_activity_jogging_input
1417 What:           /sys/.../iio:deviceX/in_activity_running_input
1418 KernelVersion:  3.19
1419 Contact:        linux-iio@vger.kernel.org
1420 Description:
1421                 This attribute is used to read the confidence for an activity
1422                 expressed in units as percentage.
1423
1424 What:           /sys/.../iio:deviceX/in_anglvel_z_quadrature_correction_raw
1425 KernelVersion:  2.6.38
1426 Contact:        linux-iio@vger.kernel.org
1427 Description:
1428                 This attribute is used to read the amount of quadrature error
1429                 present in the device at a given time.
1430
1431 What:           /sys/.../iio:deviceX/in_accelX_power_mode
1432 KernelVersion:  3.11
1433 Contact:        linux-iio@vger.kernel.org
1434 Description:
1435                 Specifies the chip power mode.
1436                 low_noise: reduce noise level from ADC,
1437                 low_power: enable low current consumption.
1438                 For a list of available output power modes read
1439                 in_accel_power_mode_available.
1440
1441 What:           /sys/.../iio:deviceX/in_energy_input
1442 What:           /sys/.../iio:deviceX/in_energy_raw
1443 KernelVersion:  4.0
1444 Contact:        linux-iio@vger.kernel.org
1445 Description:
1446                 This attribute is used to read the energy value reported by the
1447                 device (e.g.: human activity sensors report energy burnt by the
1448                 user). Units after application of scale are Joules.
1449
1450 What:           /sys/.../iio:deviceX/in_distance_input
1451 What:           /sys/.../iio:deviceX/in_distance_raw
1452 KernelVersion:  4.0
1453 Contact:        linux-iio@vger.kernel.org
1454 Description:
1455                 This attribute is used to read the measured distance to an object
1456                 or the distance covered by the user since the last reboot while
1457                 activated. Units after application of scale are meters.
1458
1459 What:           /sys/bus/iio/devices/iio:deviceX/store_eeprom
1460 KernelVersion:  3.4.0
1461 Contact:        linux-iio@vger.kernel.org
1462 Description:
1463                 Writing '1' stores the current device configuration into
1464                 on-chip EEPROM. After power-up or chip reset the device will
1465                 automatically load the saved configuration.
1466
1467 What:           /sys/.../iio:deviceX/in_proximity_raw
1468 What:           /sys/.../iio:deviceX/in_proximity_input
1469 What:           /sys/.../iio:deviceX/in_proximityY_raw
1470 KernelVersion:  3.4
1471 Contact:        linux-iio@vger.kernel.org
1472 Description:
1473                 Proximity measurement indicating that some
1474                 object is near the sensor, usually by observing
1475                 reflectivity of infrared or ultrasound emitted.
1476
1477                 Often these sensors are unit less and as such conversion
1478                 to SI units is not possible. Higher proximity measurements
1479                 indicate closer objects, and vice versa. Units after
1480                 application of scale and offset are meters.
1481
1482 What:           /sys/.../iio:deviceX/in_illuminance_input
1483 What:           /sys/.../iio:deviceX/in_illuminance_raw
1484 What:           /sys/.../iio:deviceX/in_illuminanceY_input
1485 What:           /sys/.../iio:deviceX/in_illuminanceY_raw
1486 What:           /sys/.../iio:deviceX/in_illuminanceY_mean_raw
1487 What:           /sys/.../iio:deviceX/in_illuminance_ir_raw
1488 What:           /sys/.../iio:deviceX/in_illuminance_clear_raw
1489 KernelVersion:  3.4
1490 Contact:        linux-iio@vger.kernel.org
1491 Description:
1492                 Illuminance measurement, units after application of scale
1493                 and offset are lux.
1494
1495 What:           /sys/.../iio:deviceX/in_intensityY_raw
1496 What:           /sys/.../iio:deviceX/in_intensityY_ir_raw
1497 What:           /sys/.../iio:deviceX/in_intensityY_both_raw
1498 What:           /sys/.../iio:deviceX/in_intensityY_uv_raw
1499 What:           /sys/.../iio:deviceX/in_intensityY_duv_raw
1500 KernelVersion:  3.4
1501 Contact:        linux-iio@vger.kernel.org
1502 Description:
1503                 Unit-less light intensity. Modifiers both and ir indicate
1504                 that measurements contain visible and infrared light
1505                 components or just infrared light, respectively. Modifier
1506                 uv indicates that measurements contain ultraviolet light
1507                 components. Modifier duv indicates that measurements
1508                 contain deep ultraviolet light components.
1509
1510 What:           /sys/.../iio:deviceX/in_uvindex_input
1511 KernelVersion:  4.6
1512 Contact:        linux-iio@vger.kernel.org
1513 Description:
1514                 UV light intensity index measuring the human skin's response to
1515                 different wavelength of sunlight weighted according to the
1516                 standardised CIE Erythemal Action Spectrum. UV index values range
1517                 from 0 (low) to >=11 (extreme).
1518
1519 What:           /sys/.../iio:deviceX/in_intensity_integration_time
1520 What:           /sys/.../iio:deviceX/in_intensity_red_integration_time
1521 What:           /sys/.../iio:deviceX/in_intensity_green_integration_time
1522 What:           /sys/.../iio:deviceX/in_intensity_blue_integration_time
1523 What:           /sys/.../iio:deviceX/in_intensity_clear_integration_time
1524 What:           /sys/.../iio:deviceX/in_illuminance_integration_time
1525 KernelVersion:  3.12
1526 Contact:        linux-iio@vger.kernel.org
1527 Description:
1528                 This attribute is used to get/set the integration time in
1529                 seconds. If shared across all channels of a given type,
1530                 <type>_integration_time is used.
1531
1532 What:           /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_integration_time
1533 KernelVersion:  4.0
1534 Contact:        linux-iio@vger.kernel.org
1535 Description:
1536                 Number of seconds in which to compute speed.
1537
1538 What:           /sys/bus/iio/devices/iio:deviceX/in_rot_quaternion_raw
1539 KernelVersion:  3.15
1540 Contact:        linux-iio@vger.kernel.org
1541 Description:
1542                 Raw value of quaternion components using a format
1543                 x y z w. Here x, y, and z component represents the axis about
1544                 which a rotation will occur and w component represents the
1545                 amount of rotation.
1546
1547 What:           /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_raw
1548 What:           /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_raw
1549 What:           /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_raw
1550 What:           /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_raw
1551 KernelVersion:  3.15
1552 Contact:        linux-iio@vger.kernel.org
1553 Description:
1554                 Raw value of rotation from true/magnetic north measured with
1555                 or without compensation from tilt sensors.
1556
1557 What:           /sys/bus/iio/devices/iio:deviceX/in_currentX_raw
1558 What:           /sys/bus/iio/devices/iio:deviceX/in_currentX_i_raw
1559 What:           /sys/bus/iio/devices/iio:deviceX/in_currentX_q_raw
1560 KernelVersion:  3.18
1561 Contact:        linux-iio@vger.kernel.org
1562 Description:
1563                 Raw current measurement from channel X. Units are in milliamps
1564                 after application of scale and offset. If no offset or scale is
1565                 present, output should be considered as processed with the
1566                 unit in milliamps.
1567
1568                 Channels with 'i' and 'q' modifiers always exist in pairs and both
1569                 channels refer to the same signal. The 'i' channel contains the in-phase
1570                 component of the signal while the 'q' channel contains the quadrature
1571                 component.
1572
1573 What:           /sys/.../iio:deviceX/in_energy_en
1574 What:           /sys/.../iio:deviceX/in_distance_en
1575 What:           /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_en
1576 What:           /sys/.../iio:deviceX/in_steps_en
1577 KernelVersion:  3.19
1578 Contact:        linux-iio@vger.kernel.org
1579 Description:
1580                 Activates a device feature that runs in firmware/hardware.
1581                 E.g. for steps: the pedometer saves power while not used;
1582                 when activated, it will count the steps taken by the user in
1583                 firmware and export them through in_steps_input.
1584
1585 What:           /sys/.../iio:deviceX/in_steps_input
1586 KernelVersion:  3.19
1587 Contact:        linux-iio@vger.kernel.org
1588 Description:
1589                 This attribute is used to read the number of steps taken by the user
1590                 since the last reboot while activated.
1591
1592 What:           /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_input
1593 What:           /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_raw
1594 KernelVersion:  3.19
1595 Contact:        linux-iio@vger.kernel.org
1596 Description:
1597                 This attribute is used to read the current speed value of the
1598                 user (which is the norm or magnitude of the velocity vector).
1599                 Units after application of scale are m/s.
1600
1601 What:           /sys/.../iio:deviceX/in_steps_debounce_count
1602 KernelVersion:  4.0
1603 Contact:        linux-iio@vger.kernel.org
1604 Description:
1605                 Specifies the number of steps that must occur within
1606                 in_steps_filter_debounce_time for the pedometer to decide the
1607                 consumer is making steps.
1608
1609 What:           /sys/.../iio:deviceX/in_steps_debounce_time
1610 KernelVersion:  4.0
1611 Contact:        linux-iio@vger.kernel.org
1612 Description:
1613                 Specifies number of seconds in which we compute the steps
1614                 that occur in order to decide if the consumer is making steps.
1615
1616 What:           /sys/bus/iio/devices/iio:deviceX/buffer/watermark
1617 KernelVersion:  4.2
1618 What:           /sys/bus/iio/devices/iio:deviceX/bufferY/watermark
1619 KernelVersion:  5.11
1620 Contact:        linux-iio@vger.kernel.org
1621 Description:
1622                 A single positive integer specifying the maximum number of scan
1623                 elements to wait for.
1624
1625                 Poll will block until the watermark is reached.
1626
1627                 Blocking read will wait until the minimum between the requested
1628                 read amount or the low water mark is available.
1629
1630                 Non-blocking read will retrieve the available samples from the
1631                 buffer even if there are less samples then watermark level. This
1632                 allows the application to block on poll with a timeout and read
1633                 the available samples after the timeout expires and thus have a
1634                 maximum delay guarantee.
1635
1636 What:           /sys/bus/iio/devices/iio:deviceX/buffer/data_available
1637 KernelVersion: 4.16
1638 What:           /sys/bus/iio/devices/iio:deviceX/bufferY/data_available
1639 KernelVersion:  5.11
1640 Contact:        linux-iio@vger.kernel.org
1641 Description:
1642                 A read-only value indicating the bytes of data available in the
1643                 buffer. In the case of an output buffer, this indicates the
1644                 amount of empty space available to write data to. In the case of
1645                 an input buffer, this indicates the amount of data available for
1646                 reading.
1647
1648 What:           /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_enabled
1649 KernelVersion: 4.2
1650 Contact:        linux-iio@vger.kernel.org
1651 Description:
1652                 A read-only boolean value that indicates if the hardware fifo is
1653                 currently enabled or disabled. If the device does not have a
1654                 hardware fifo this entry is not present.
1655                 The hardware fifo is enabled when the buffer is enabled if the
1656                 current hardware fifo watermark level is set and other current
1657                 device settings allows it (e.g. if a trigger is set that samples
1658                 data differently that the hardware fifo does then hardware fifo
1659                 will not enabled).
1660
1661                 If the hardware fifo is enabled and the level of the hardware
1662                 fifo reaches the hardware fifo watermark level the device will
1663                 flush its hardware fifo to the device buffer. Doing a non
1664                 blocking read on the device when no samples are present in the
1665                 device buffer will also force a flush.
1666
1667                 When the hardware fifo is enabled there is no need to use a
1668                 trigger to use buffer mode since the watermark settings
1669                 guarantees that the hardware fifo is flushed to the device
1670                 buffer.
1671
1672 What:           /sys/bus/iio/devices/iio:device*/buffer/hwfifo_timeout
1673 KernelVersion:  4.12
1674 Contact:        linux-iio@vger.kernel.org
1675 Description:
1676                 A read/write property to provide capability to delay reporting of
1677                 samples till a timeout is reached. This allows host processors to
1678                 sleep, while the sensor is storing samples in its internal fifo.
1679                 The maximum timeout in seconds can be specified by setting
1680                 hwfifo_timeout.The current delay can be read by reading
1681                 hwfifo_timeout. A value of 0 means that there is no timeout.
1682
1683 What:           /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark
1684 KernelVersion: 4.2
1685 Contact:        linux-iio@vger.kernel.org
1686 Description:
1687                 Read-only entry that contains a single integer specifying the
1688                 current watermark level for the hardware fifo. If the device
1689                 does not have a hardware fifo this entry is not present.
1690                 The watermark level for the hardware fifo is set by the driver
1691                 based on the value set by the user in buffer/watermark but
1692                 taking into account hardware limitations (e.g. most hardware
1693                 buffers are limited to 32-64 samples, some hardware buffers
1694                 watermarks are fixed or have minimum levels).  A value of 0
1695                 means that the hardware watermark is unset.
1696
1697 What:           /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_min
1698 KernelVersion: 4.2
1699 Contact:       linux-iio@vger.kernel.org
1700 Description:
1701                 A single positive integer specifying the minimum watermark level
1702                 for the hardware fifo of this device. If the device does not
1703                 have a hardware fifo this entry is not present.
1704
1705                 If the user sets buffer/watermark to a value less than this one,
1706                 then the hardware watermark will remain unset.
1707
1708 What:          /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_max
1709 KernelVersion: 4.2
1710 Contact:       linux-iio@vger.kernel.org
1711 Description:
1712                 A single positive integer specifying the maximum watermark level
1713                 for the hardware fifo of this device. If the device does not
1714                 have a hardware fifo this entry is not present.
1715
1716                 If the user sets buffer/watermark to a value greater than this
1717                 one, then the hardware watermark will be capped at this value.
1718
1719 What:          /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_available
1720 KernelVersion: 4.2
1721 Contact:       linux-iio@vger.kernel.org
1722 Description:
1723                 A list of positive integers specifying the available watermark
1724                 levels for the hardware fifo. This entry is optional and if it
1725                 is not present it means that all the values between
1726                 hwfifo_watermark_min and hwfifo_watermark_max are supported.
1727
1728                 If the user sets buffer/watermark to a value greater than
1729                 hwfifo_watermak_min but not equal to any of the values in this
1730                 list, the driver will chose an appropriate value for the
1731                 hardware fifo watermark level.
1732
1733 What:           /sys/bus/iio/devices/iio:deviceX/in_temp_calibemissivity
1734 What:           /sys/bus/iio/devices/iio:deviceX/in_tempX_calibemissivity
1735 What:           /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibemissivity
1736 What:           /sys/bus/iio/devices/iio:deviceX/in_tempX_object_calibemissivity
1737 KernelVersion:  4.1
1738 Contact:        linux-iio@vger.kernel.org
1739 Description:
1740                 The emissivity ratio of the surface in the field of view of the
1741                 contactless temperature sensor.  Emissivity varies from 0 to 1,
1742                 with 1 being the emissivity of a black body.
1743
1744 What:           /sys/bus/iio/devices/iio:deviceX/in_magn_x_oversampling_ratio
1745 What:           /sys/bus/iio/devices/iio:deviceX/in_magn_y_oversampling_ratio
1746 What:           /sys/bus/iio/devices/iio:deviceX/in_magn_z_oversampling_ratio
1747 KernelVersion:  4.2
1748 Contact:        linux-iio@vger.kernel.org
1749 Description:
1750                 Hardware applied number of measurements for acquiring one
1751                 data point. The HW will do <type>[_name]_oversampling_ratio
1752                 measurements and return the average value as output data. Each
1753                 value resulted from <type>[_name]_oversampling_ratio measurements
1754                 is considered as one sample for <type>[_name]_sampling_frequency.
1755
1756 What:           /sys/bus/iio/devices/iio:deviceX/in_concentration_raw
1757 What:           /sys/bus/iio/devices/iio:deviceX/in_concentrationX_raw
1758 What:           /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_raw
1759 What:           /sys/bus/iio/devices/iio:deviceX/in_concentrationX_co2_raw
1760 What:           /sys/bus/iio/devices/iio:deviceX/in_concentration_ethanol_raw
1761 What:           /sys/bus/iio/devices/iio:deviceX/in_concentrationX_ethanol_raw
1762 What:           /sys/bus/iio/devices/iio:deviceX/in_concentration_h2_raw
1763 What:           /sys/bus/iio/devices/iio:deviceX/in_concentrationX_h2_raw
1764 What:           /sys/bus/iio/devices/iio:deviceX/in_concentration_o2_raw
1765 What:           /sys/bus/iio/devices/iio:deviceX/in_concentrationX_o2_raw
1766 What:           /sys/bus/iio/devices/iio:deviceX/in_concentration_voc_raw
1767 What:           /sys/bus/iio/devices/iio:deviceX/in_concentrationX_voc_raw
1768 KernelVersion:  4.3
1769 Contact:        linux-iio@vger.kernel.org
1770 Description:
1771                 Raw (unscaled no offset etc.) reading of a substance. Units
1772                 after application of scale and offset are percents.
1773
1774 What:           /sys/bus/iio/devices/iio:deviceX/in_resistance_raw
1775 What:           /sys/bus/iio/devices/iio:deviceX/in_resistanceX_raw
1776 What:           /sys/bus/iio/devices/iio:deviceX/out_resistance_raw
1777 What:           /sys/bus/iio/devices/iio:deviceX/out_resistanceX_raw
1778 KernelVersion:  4.3
1779 Contact:        linux-iio@vger.kernel.org
1780 Description:
1781                 Raw (unscaled no offset etc.) resistance reading that can be processed
1782                 into an ohm value.
1783
1784 What:           /sys/bus/iio/devices/iio:deviceX/heater_enable
1785 KernelVersion:  4.1.0
1786 Contact:        linux-iio@vger.kernel.org
1787 Description:
1788                 '1' (enable) or '0' (disable) specifying the enable
1789                 of heater function. Same reading values apply.
1790
1791                 This ABI is especially applicable for humidity sensors
1792                 to heatup the device and get rid of any condensation
1793                 in some humidity environment
1794
1795 What:           /sys/bus/iio/devices/iio:deviceX/in_ph_raw
1796 KernelVersion:  4.5
1797 Contact:        linux-iio@vger.kernel.org
1798 Description:
1799                 Raw (unscaled no offset etc.) pH reading of a substance as a negative
1800                 base-10 logarithm of hydrodium ions in a litre of water.
1801
1802 What:           /sys/bus/iio/devices/iio:deviceX/mount_matrix
1803 What:           /sys/bus/iio/devices/iio:deviceX/in_mount_matrix
1804 What:           /sys/bus/iio/devices/iio:deviceX/out_mount_matrix
1805 What:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_mount_matrix
1806 What:           /sys/bus/iio/devices/iio:deviceX/in_accel_mount_matrix
1807 KernelVersion:  4.6
1808 Contact:        linux-iio@vger.kernel.org
1809 Description:
1810                 Mounting matrix for IIO sensors. This is a rotation matrix which
1811                 informs userspace about sensor chip's placement relative to the
1812                 main hardware it is mounted on.
1813
1814                 Main hardware placement is defined according to the local
1815                 reference frame related to the physical quantity the sensor
1816                 measures.
1817
1818                 Given that the rotation matrix is defined in a board specific
1819                 way (platform data and / or device-tree), the main hardware
1820                 reference frame definition is left to the implementor's choice
1821                 (see below for a magnetometer example).
1822
1823                 Applications should apply this rotation matrix to samples so
1824                 that when main hardware reference frame is aligned onto local
1825                 reference frame, then sensor chip reference frame is also
1826                 perfectly aligned with it.
1827
1828                 Matrix is a 3x3 unitary matrix and typically looks like
1829                 [0, 1, 0; 1, 0, 0; 0, 0, -1]. Identity matrix
1830                 [1, 0, 0; 0, 1, 0; 0, 0, 1] means sensor chip and main hardware
1831                 are perfectly aligned with each other.
1832
1833                 For example, a mounting matrix for a magnetometer sensor informs
1834                 userspace about sensor chip's ORIENTATION relative to the main
1835                 hardware.
1836
1837                 More specifically, main hardware orientation is defined with
1838                 respect to the LOCAL EARTH GEOMAGNETIC REFERENCE FRAME where :
1839
1840                 * Y is in the ground plane and positive towards magnetic North ;
1841                 * X is in the ground plane, perpendicular to the North axis and
1842                   positive towards the East ;
1843                 * Z is perpendicular to the ground plane and positive upwards.
1844
1845                 An implementor might consider that for a hand-held device, a
1846                 'natural' orientation would be 'front facing camera at the top'.
1847                 The main hardware reference frame could then be described as :
1848
1849                 * Y is in the plane of the screen and is positive towards the
1850                   top of the screen ;
1851                 * X is in the plane of the screen, perpendicular to Y axis, and
1852                   positive towards the right hand side of the screen ;
1853                 * Z is perpendicular to the screen plane and positive out of the
1854                   screen.
1855
1856                 Another example for a quadrotor UAV might be :
1857
1858                 * Y is in the plane of the propellers and positive towards the
1859                   front-view camera;
1860                 * X is in the plane of the propellers, perpendicular to Y axis,
1861                   and positive towards the starboard side of the UAV ;
1862                 * Z is perpendicular to propellers plane and positive upwards.
1863
1864 What:           /sys/bus/iio/devices/iio:deviceX/in_electricalconductivity_raw
1865 KernelVersion:  4.8
1866 Contact:        linux-iio@vger.kernel.org
1867 Description:
1868                 Raw (unscaled no offset etc.) electric conductivity reading that
1869                 can be processed to siemens per meter.
1870
1871 What:           /sys/bus/iio/devices/iio:deviceX/in_countY_raw
1872 KernelVersion:  4.10
1873 Contact:        linux-iio@vger.kernel.org
1874 Description:
1875                 This interface is deprecated; please use the Counter subsystem.
1876
1877                 Raw counter device counts from channel Y. For quadrature
1878                 counters, multiplication by an available [Y]_scale results in
1879                 the counts of a single quadrature signal phase from channel Y.
1880
1881 What:           /sys/bus/iio/devices/iio:deviceX/in_indexY_raw
1882 KernelVersion:  4.10
1883 Contact:        linux-iio@vger.kernel.org
1884 Description:
1885                 This interface is deprecated; please use the Counter subsystem.
1886
1887                 Raw counter device index value from channel Y. This attribute
1888                 provides an absolute positional reference (e.g. a pulse once per
1889                 revolution) which may be used to home positional systems as
1890                 required.
1891
1892 What:           /sys/bus/iio/devices/iio:deviceX/in_count_count_direction_available
1893 KernelVersion:  4.12
1894 Contact:        linux-iio@vger.kernel.org
1895 Description:
1896                 This interface is deprecated; please use the Counter subsystem.
1897
1898                 A list of possible counting directions which are:
1899
1900                 - "up"  : counter device is increasing.
1901                 - "down": counter device is decreasing.
1902
1903 What:           /sys/bus/iio/devices/iio:deviceX/in_countY_count_direction
1904 KernelVersion:  4.12
1905 Contact:        linux-iio@vger.kernel.org
1906 Description:
1907                 This interface is deprecated; please use the Counter subsystem.
1908
1909                 Raw counter device counters direction for channel Y.
1910
1911 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY_label
1912 What:           /sys/bus/iio/devices/iio:deviceX/out_voltageY_label
1913 KernelVersion:  5.8
1914 Contact:        linux-iio@vger.kernel.org
1915 Description:
1916                 Optional symbolic label to a device channel.
1917                 If a label is defined for this channel add that to the channel
1918                 specific attributes. This is useful for userspace to be able to
1919                 better identify an individual channel.
1920
1921 What:           /sys/bus/iio/devices/iio:deviceX/in_phaseY_raw
1922 KernelVersion:  4.18
1923 Contact:        linux-iio@vger.kernel.org
1924 Description:
1925                 Raw (unscaled) phase difference reading from channel Y
1926                 that can be processed to radians.
1927
1928 What:           /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm1_input
1929 What:           /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm1_input
1930 What:           /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm2p5_input
1931 What:           /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm2p5_input
1932 What:           /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm4_input
1933 What:           /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm4_input
1934 What:           /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm10_input
1935 What:           /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm10_input
1936 KernelVersion:  4.22
1937 Contact:        linux-iio@vger.kernel.org
1938 Description:
1939                 Mass concentration reading of particulate matter in ug / m3.
1940                 pmX consists of particles with aerodynamic diameter less or
1941                 equal to X micrometers.
1942
1943 What:           /sys/bus/iio/devices/iio:deviceX/events/in_illuminance_period_available
1944 Date:           November 2019
1945 KernelVersion:  5.4
1946 Contact:        linux-iio@vger.kernel.org
1947 Description:
1948                 List of valid periods (in seconds) for which the light intensity
1949                 must be above the threshold level before interrupt is asserted.
1950
1951 What:           /sys/bus/iio/devices/iio:deviceX/in_filter_notch_center_frequency
1952 KernelVersion:  5.5
1953 Contact:        linux-iio@vger.kernel.org
1954 Description:
1955                 Center frequency in Hz for a notch filter. Used i.e. for line
1956                 noise suppression.
1957
1958 What:           /sys/bus/iio/devices/iio:deviceX/in_temp_thermocouple_type
1959 KernelVersion:  5.5
1960 Contact:        linux-iio@vger.kernel.org
1961 Description:
1962                 One of the following thermocouple types: B, E, J, K, N, R, S, T.
1963
1964 What:           /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibambient
1965 What:           /sys/bus/iio/devices/iio:deviceX/in_tempX_object_calibambient
1966 KernelVersion:  5.10
1967 Contact:        linux-iio@vger.kernel.org
1968 Description:
1969                 Calibrated ambient temperature for object temperature
1970                 calculation in milli degrees Celsius.
1971
1972 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_x_raw
1973 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_y_raw
1974 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_z_raw
1975 KernelVersion:  5.10
1976 Contact:        linux-iio@vger.kernel.org
1977 Description:
1978                 Unscaled light intensity according to CIE 1931/DIN 5033 color space.
1979                 Units after application of scale are nano nanowatts per square meter.
1980
1981 What:           /sys/bus/iio/devices/iio:deviceX/in_anglY_label
1982 KernelVersion:  5.12
1983 Contact:        linux-iio@vger.kernel.org
1984 Description:
1985                 Optional symbolic label for channel Y.
1986                 For Intel hid hinge sensor, the label values are:
1987                 hinge, keyboard, screen. It means the three channels
1988                 each correspond respectively to hinge angle, keyboard angle,
1989                 and screen angle.
1990
1991 What:           /sys/bus/iio/devices/iio:deviceX/in_illuminance_hysteresis_relative
1992 What:           /sys/bus/iio/devices/iio:deviceX/in_intensity_hysteresis_relative
1993 KernelVersion:  5.12
1994 Contact:        linux-iio@vger.kernel.org
1995 Description:
1996                 Specify the percent for light sensor relative to the channel
1997                 absolute value that a data field should change before an event
1998                 is generated. Units are a percentage of the prior reading.