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