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