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