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		Contains trigger type specific elements. These do not
19		generalize well and hence are not documented in this file.
20		X is the IIO index of the trigger.
21
22What:		/sys/bus/iio/devices/iio:deviceX/buffer
23KernelVersion:	2.6.35
24Contact:	linux-iio@vger.kernel.org
25Description:
26		Directory of attributes relating to the buffer for the device.
27
28What:		/sys/bus/iio/devices/iio:deviceX/name
29KernelVersion:	2.6.35
30Contact:	linux-iio@vger.kernel.org
31Description:
32		Description of the physical chip / device for device X.
33		Typically a part number.
34
35What:		/sys/bus/iio/devices/iio:deviceX/sampling_frequency
36What:		/sys/bus/iio/devices/iio:deviceX/buffer/sampling_frequency
37What:		/sys/bus/iio/devices/triggerX/sampling_frequency
38KernelVersion:	2.6.35
39Contact:	linux-iio@vger.kernel.org
40Description:
41		Some devices have internal clocks.  This parameter sets the
42		resulting sampling frequency.  In many devices this
43		parameter has an effect on input filters etc. rather than
44		simply controlling when the input is sampled.  As this
45		effects data ready triggers, hardware buffers and the sysfs
46		direct access interfaces, it may be found in any of the
47		relevant directories.  If it effects all of the above
48		then it is to be found in the base device directory.
49
50What:		/sys/bus/iio/devices/iio:deviceX/sampling_frequency_available
51What:		/sys/.../iio:deviceX/buffer/sampling_frequency_available
52What:		/sys/bus/iio/devices/triggerX/sampling_frequency_available
53KernelVersion:	2.6.35
54Contact:	linux-iio@vger.kernel.org
55Description:
56		When the internal sampling clock can only take a small
57		discrete set of values, this file lists those available.
58
59What:		/sys/bus/iio/devices/iio:deviceX/oversampling_ratio
60KernelVersion:	2.6.38
61Contact:	linux-iio@vger.kernel.org
62Description:
63		Hardware dependent ADC oversampling. Controls the sampling ratio
64		of the digital filter if available.
65
66What:		/sys/bus/iio/devices/iio:deviceX/oversampling_ratio_available
67KernelVersion:	2.6.38
68Contact:	linux-iio@vger.kernel.org
69Description:
70		Hardware dependent values supported by the oversampling filter.
71
72What:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_raw
73What:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_raw
74KernelVersion:	2.6.35
75Contact:	linux-iio@vger.kernel.org
76Description:
77		Raw (unscaled no bias removal etc.) voltage measurement from
78		channel Y. In special cases where the channel does not
79		correspond to externally available input one of the named
80		versions may be used. The number must always be specified and
81		unique to allow association with event codes. Units after
82		application of scale and offset are millivolts.
83
84What:		/sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_raw
85KernelVersion:	2.6.35
86Contact:	linux-iio@vger.kernel.org
87Description:
88		Raw (unscaled) differential voltage measurement equivalent to
89		channel Y - channel Z where these channel numbers apply to the
90		physically equivalent inputs when non differential readings are
91		separately available. In differential only parts, then all that
92		is required is a consistent labeling.  Units after application
93		of scale and offset are millivolts.
94
95What:		/sys/bus/iio/devices/iio:deviceX/in_capacitanceY_raw
96KernelVersion:	3.2
97Contact:	linux-iio@vger.kernel.org
98Description:
99		Raw capacitance measurement from channel Y. Units after
100		application of scale and offset are nanofarads.
101
102What:		/sys/.../iio:deviceX/in_capacitanceY-in_capacitanceZ_raw
103KernelVersion:	3.2
104Contact:	linux-iio@vger.kernel.org
105Description:
106		Raw differential capacitance measurement equivalent to
107		channel Y - channel Z where these channel numbers apply to the
108		physically equivalent inputs when non differential readings are
109		separately available. In differential only parts, then all that
110		is required is a consistent labeling.  Units after application
111		of scale and offset are nanofarads.
112
113What:		/sys/bus/iio/devices/iio:deviceX/in_temp_raw
114What:		/sys/bus/iio/devices/iio:deviceX/in_tempX_raw
115What:		/sys/bus/iio/devices/iio:deviceX/in_temp_x_raw
116What:		/sys/bus/iio/devices/iio:deviceX/in_temp_y_raw
117What:		/sys/bus/iio/devices/iio:deviceX/in_temp_ambient_raw
118What:		/sys/bus/iio/devices/iio:deviceX/in_temp_object_raw
119KernelVersion:	2.6.35
120Contact:	linux-iio@vger.kernel.org
121Description:
122		Raw (unscaled no bias removal etc.) temperature measurement.
123		If an axis is specified it generally means that the temperature
124		sensor is associated with one part of a compound device (e.g.
125		a gyroscope axis). The ambient and object modifiers distinguish
126		between ambient (reference) and distant temperature for contact-
127		less measurements. Units after application of scale and offset
128		are milli degrees Celsius.
129
130What:		/sys/bus/iio/devices/iio:deviceX/in_tempX_input
131KernelVersion:	2.6.38
132Contact:	linux-iio@vger.kernel.org
133Description:
134		Scaled temperature measurement in milli degrees Celsius.
135
136What:		/sys/bus/iio/devices/iio:deviceX/in_accel_x_raw
137What:		/sys/bus/iio/devices/iio:deviceX/in_accel_y_raw
138What:		/sys/bus/iio/devices/iio:deviceX/in_accel_z_raw
139KernelVersion:	2.6.35
140Contact:	linux-iio@vger.kernel.org
141Description:
142		Acceleration in direction x, y or z (may be arbitrarily assigned
143		but should match other such assignments on device).
144		Has all of the equivalent parameters as per voltageY. Units
145		after application of scale and offset are m/s^2.
146
147What:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_x_raw
148What:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_y_raw
149What:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_z_raw
150KernelVersion:	2.6.35
151Contact:	linux-iio@vger.kernel.org
152Description:
153		Angular velocity about axis x, y or z (may be arbitrarily
154		assigned). Has all the equivalent parameters as	per voltageY.
155		Units after application of scale and offset are	radians per
156		second.
157
158What:		/sys/bus/iio/devices/iio:deviceX/in_incli_x_raw
159What:		/sys/bus/iio/devices/iio:deviceX/in_incli_y_raw
160What:		/sys/bus/iio/devices/iio:deviceX/in_incli_z_raw
161KernelVersion:	2.6.35
162Contact:	linux-iio@vger.kernel.org
163Description:
164		Inclination raw reading about axis x, y or z (may be
165		arbitrarily assigned). Data converted by application of offset
166		and scale to degrees.
167
168What:		/sys/bus/iio/devices/iio:deviceX/in_magn_x_raw
169What:		/sys/bus/iio/devices/iio:deviceX/in_magn_y_raw
170What:		/sys/bus/iio/devices/iio:deviceX/in_magn_z_raw
171KernelVersion:	2.6.35
172Contact:	linux-iio@vger.kernel.org
173Description:
174		Magnetic field along axis x, y or z (may be arbitrarily
175		assigned).  Data converted by application of offset
176		then scale to Gauss.
177
178What:		/sys/bus/iio/devices/iio:deviceX/in_accel_x_peak_raw
179What:		/sys/bus/iio/devices/iio:deviceX/in_accel_y_peak_raw
180What:		/sys/bus/iio/devices/iio:deviceX/in_accel_z_peak_raw
181KernelVersion:	2.6.36
182Contact:	linux-iio@vger.kernel.org
183Description:
184		Highest value since some reset condition.  These
185		attributes allow access to this and are otherwise
186		the direct equivalent of the <type>Y[_name]_raw attributes.
187
188What:		/sys/bus/iio/devices/iio:deviceX/in_accel_xyz_squared_peak_raw
189KernelVersion:	2.6.36
190Contact:	linux-iio@vger.kernel.org
191Description:
192		A computed peak value based on the sum squared magnitude of
193		the underlying value in the specified directions.
194
195What:		/sys/bus/iio/devices/iio:deviceX/in_pressureY_raw
196What:		/sys/bus/iio/devices/iio:deviceX/in_pressure_raw
197KernelVersion:	3.8
198Contact:	linux-iio@vger.kernel.org
199Description:
200		Raw pressure measurement from channel Y. Units after
201		application of scale and offset are kilopascal.
202
203What:		/sys/bus/iio/devices/iio:deviceX/in_humidityrelative_raw
204KernelVersion:	3.14
205Contact:	linux-iio@vger.kernel.org
206Description:
207		Raw humidity measurement of air. Units after application of
208		scale and offset are milli percent.
209
210What:		/sys/bus/iio/devices/iio:deviceX/in_humidityrelative_input
211KernelVersion:	3.14
212Contact:	linux-iio@vger.kernel.org
213Description:
214		Scaled humidity measurement in milli percent.
215
216What:		/sys/bus/iio/devices/iio:deviceX/in_X_mean_raw
217KernelVersion:	3.5
218Contact:	linux-iio@vger.kernel.org
219Description:
220		Averaged raw measurement from channel X. The number of values
221		used for averaging is device specific. The converting rules for
222		normal raw values also applies to the averaged raw values.
223
224What:		/sys/bus/iio/devices/iio:deviceX/in_accel_offset
225What:		/sys/bus/iio/devices/iio:deviceX/in_accel_x_offset
226What:		/sys/bus/iio/devices/iio:deviceX/in_accel_y_offset
227What:		/sys/bus/iio/devices/iio:deviceX/in_accel_z_offset
228What:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_offset
229What:		/sys/bus/iio/devices/iio:deviceX/in_voltage_offset
230What:		/sys/bus/iio/devices/iio:deviceX/in_tempY_offset
231What:		/sys/bus/iio/devices/iio:deviceX/in_temp_offset
232What:		/sys/bus/iio/devices/iio:deviceX/in_pressureY_offset
233What:		/sys/bus/iio/devices/iio:deviceX/in_pressure_offset
234KernelVersion:	2.6.35
235Contact:	linux-iio@vger.kernel.org
236Description:
237		If known for a device, offset to be added to <type>[Y]_raw prior
238		to scaling by <type>[Y]_scale in order to obtain value in the
239		<type> units as specified in <type>[Y]_raw documentation.
240		Not present if the offset is always 0 or unknown. If Y or
241		axis <x|y|z> is not present, then the offset applies to all
242		in channels of <type>.
243		May be writable if a variable offset can be applied on the
244		device. Note that this is different to calibbias which
245		is for devices (or drivers) that apply offsets to compensate
246		for variation between different instances of the part, typically
247		adjusted by using some hardware supported calibration procedure.
248		Calibbias is applied internally, offset is applied in userspace
249		to the _raw output.
250
251What:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_scale
252What:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale
253What:		/sys/bus/iio/devices/iio:deviceX/in_voltage_scale
254What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_scale
255What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale
256What:		/sys/bus/iio/devices/iio:deviceX/in_accel_scale
257What:		/sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale
258What:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_scale
259What:		/sys/bus/iio/devices/iio:deviceX/in_magn_scale
260What:		/sys/bus/iio/devices/iio:deviceX/in_magn_x_scale
261What:		/sys/bus/iio/devices/iio:deviceX/in_magn_y_scale
262What:		/sys/bus/iio/devices/iio:deviceX/in_magn_z_scale
263What:		/sys/bus/iio/devices/iio:deviceX/in_pressureY_scale
264What:		/sys/bus/iio/devices/iio:deviceX/in_pressure_scale
265KernelVersion:	2.6.35
266Contact:	linux-iio@vger.kernel.org
267Description:
268		If known for a device, scale to be applied to <type>Y[_name]_raw
269		post addition of <type>[Y][_name]_offset in order to obtain the
270		measured value in <type> units as specified in
271		<type>[Y][_name]_raw documentation.  If shared across all in
272		channels then Y and <x|y|z> are not present and the value is
273		called <type>[Y][_name]_scale. The peak modifier means this
274		value is applied to <type>Y[_name]_peak_raw values.
275
276What:		/sys/bus/iio/devices/iio:deviceX/in_accel_x_calibbias
277What:		/sys/bus/iio/devices/iio:deviceX/in_accel_y_calibbias
278What:		/sys/bus/iio/devices/iio:deviceX/in_accel_z_calibbias
279What:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibbias
280What:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibbias
281What:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibbias
282What:		/sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibbias
283What:		/sys/bus/iio/devices/iio:deviceX/in_proximity0_calibbias
284What:		/sys/bus/iio/devices/iio:deviceX/in_pressureY_calibbias
285What:		/sys/bus/iio/devices/iio:deviceX/in_pressure_calibbias
286KernelVersion:	2.6.35
287Contact:	linux-iio@vger.kernel.org
288Description:
289		Hardware applied calibration offset (assumed to fix production
290		inaccuracies).
291
292What		/sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale
293What		/sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_calibscale
294What		/sys/bus/iio/devices/iio:deviceX/in_voltage_calibscale
295What		/sys/bus/iio/devices/iio:deviceX/in_accel_x_calibscale
296What		/sys/bus/iio/devices/iio:deviceX/in_accel_y_calibscale
297What		/sys/bus/iio/devices/iio:deviceX/in_accel_z_calibscale
298What		/sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibscale
299What		/sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibscale
300What		/sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibscale
301what		/sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibscale
302what		/sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale
303What:		/sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale
304What:		/sys/bus/iio/devices/iio:deviceX/in_pressure_calibscale
305KernelVersion:	2.6.35
306Contact:	linux-iio@vger.kernel.org
307Description:
308		Hardware applied calibration scale factor (assumed to fix
309		production inaccuracies).  If shared across all channels,
310		<type>_calibscale is used.
311
312What:		/sys/bus/iio/devices/iio:deviceX/in_accel_scale_available
313What:		/sys/.../iio:deviceX/in_voltageX_scale_available
314What:		/sys/.../iio:deviceX/in_voltage-voltage_scale_available
315What:		/sys/.../iio:deviceX/out_voltageX_scale_available
316What:		/sys/.../iio:deviceX/out_altvoltageX_scale_available
317What:		/sys/.../iio:deviceX/in_capacitance_scale_available
318What:		/sys/.../iio:deviceX/in_pressure_scale_available
319What:		/sys/.../iio:deviceX/in_pressureY_scale_available
320KernelVersion:	2.6.35
321Contact:	linux-iio@vger.kernel.org
322Description:
323		If a discrete set of scale values is available, they
324		are listed in this attribute.
325
326What		/sys/bus/iio/devices/iio:deviceX/out_voltageY_hardwaregain
327KernelVersion:	2.6.35
328Contact:	linux-iio@vger.kernel.org
329Description:
330		Hardware applied gain factor. If shared across all channels,
331		<type>_hardwaregain is used.
332
333What:		/sys/.../in_accel_filter_low_pass_3db_frequency
334What:		/sys/.../in_magn_filter_low_pass_3db_frequency
335What:		/sys/.../in_anglvel_filter_low_pass_3db_frequency
336KernelVersion:	3.2
337Contact:	linux-iio@vger.kernel.org
338Description:
339		If a known or controllable low pass filter is applied
340		to the underlying data channel, then this parameter
341		gives the 3dB frequency of the filter in Hz.
342
343What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_raw
344What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw
345KernelVersion:	2.6.37
346Contact:	linux-iio@vger.kernel.org
347Description:
348		Raw (unscaled, no bias etc.) output voltage for
349		channel Y.  The number must always be specified and
350		unique if the output corresponds to a single channel.
351		While DAC like devices typically use out_voltage,
352		a continuous frequency generating device, such as
353		a DDS or PLL should use out_altvoltage.
354
355What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw
356What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw
357KernelVersion:	2.6.37
358Contact:	linux-iio@vger.kernel.org
359Description:
360		Raw (unscaled, no bias etc.) output voltage for an aggregate of
361		channel Y, channel Z, etc.  This interface is available in cases
362		where a single output sets the value for multiple channels
363		simultaneously.
364
365What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode
366What:		/sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode
367What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode
368What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode
369KernelVersion:	2.6.38
370Contact:	linux-iio@vger.kernel.org
371Description:
372		Specifies the output powerdown mode.
373		DAC output stage is disconnected from the amplifier and
374		1kohm_to_gnd: connected	to ground via an 1kOhm resistor,
375		6kohm_to_gnd: connected to ground via a 6kOhm resistor,
376		20kohm_to_gnd: connected to ground via a 20kOhm resistor,
377		100kohm_to_gnd: connected to ground via an 100kOhm resistor,
378		500kohm_to_gnd: connected to ground via a 500kOhm resistor,
379		three_state: left floating.
380		For a list of available output power down options read
381		outX_powerdown_mode_available. If Y is not present the
382		mode is shared across all outputs.
383
384What:		/sys/.../iio:deviceX/out_votlageY_powerdown_mode_available
385What:		/sys/.../iio:deviceX/out_voltage_powerdown_mode_available
386What:		/sys/.../iio:deviceX/out_altvotlageY_powerdown_mode_available
387What:		/sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available
388KernelVersion:	2.6.38
389Contact:	linux-iio@vger.kernel.org
390Description:
391		Lists all available output power down modes.
392		If Y is not present the mode is shared across all outputs.
393
394What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown
395What:		/sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown
396What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown
397What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown
398KernelVersion:	2.6.38
399Contact:	linux-iio@vger.kernel.org
400Description:
401		Writing 1 causes output Y to enter the power down mode specified
402		by the corresponding outY_powerdown_mode. DAC output stage is
403		disconnected from the amplifier. Clearing returns to normal
404		operation. Y may be suppressed if all outputs are controlled
405		together.
406
407What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency
408KernelVersion:	3.4.0
409Contact:	linux-iio@vger.kernel.org
410Description:
411		Output frequency for channel Y in Hz. The number must always be
412		specified and unique if the output corresponds to a single
413		channel.
414
415What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase
416KernelVersion:	3.4.0
417Contact:	linux-iio@vger.kernel.org
418Description:
419		Phase in radians of one frequency/clock output Y
420		(out_altvoltageY) relative to another frequency/clock output
421		(out_altvoltageZ) of the device X. The number must always be
422		specified and unique if the output corresponds to a single
423		channel.
424
425What:		/sys/bus/iio/devices/iio:deviceX/events
426KernelVersion:	2.6.35
427Contact:	linux-iio@vger.kernel.org
428Description:
429		Configuration of which hardware generated events are passed up
430		to user-space.
431
432What:		/sys/.../iio:deviceX/events/in_accel_x_thresh_rising_en
433What:		/sys/.../iio:deviceX/events/in_accel_x_thresh_falling_en
434What:		/sys/.../iio:deviceX/events/in_accel_y_thresh_rising_en
435What:		/sys/.../iio:deviceX/events/in_accel_y_thresh_falling_en
436What:		/sys/.../iio:deviceX/events/in_accel_z_thresh_rising_en
437What:		/sys/.../iio:deviceX/events/in_accel_z_thresh_falling_en
438What:		/sys/.../iio:deviceX/events/in_anglvel_x_thresh_rising_en
439What:		/sys/.../iio:deviceX/events/in_anglvel_x_thresh_falling_en
440What:		/sys/.../iio:deviceX/events/in_anglvel_y_thresh_rising_en
441What:		/sys/.../iio:deviceX/events/in_anglvel_y_thresh_falling_en
442What:		/sys/.../iio:deviceX/events/in_anglvel_z_thresh_rising_en
443What:		/sys/.../iio:deviceX/events/in_anglvel_z_thresh_falling_en
444What:		/sys/.../iio:deviceX/events/in_magn_x_thresh_rising_en
445What:		/sys/.../iio:deviceX/events/in_magn_x_thresh_falling_en
446What:		/sys/.../iio:deviceX/events/in_magn_y_thresh_rising_en
447What:		/sys/.../iio:deviceX/events/in_magn_y_thresh_falling_en
448What:		/sys/.../iio:deviceX/events/in_magn_z_thresh_rising_en
449What:		/sys/.../iio:deviceX/events/in_magn_z_thresh_falling_en
450What:		/sys/.../iio:deviceX/events/in_voltageY_supply_thresh_rising_en
451What:		/sys/.../iio:deviceX/events/in_voltageY_supply_thresh_falling_en
452What:		/sys/.../iio:deviceX/events/in_voltageY_thresh_rising_en
453What:		/sys/.../iio:deviceX/events/in_voltageY_thresh_falling_en
454What:		/sys/.../iio:deviceX/events/in_tempY_thresh_rising_en
455What:		/sys/.../iio:deviceX/events/in_tempY_thresh_falling_en
456KernelVersion:	2.6.37
457Contact:	linux-iio@vger.kernel.org
458Description:
459		Event generated when channel passes a threshold in the specified
460		(_rising|_falling) direction. If the direction is not specified,
461		then either the device will report an event which ever direction
462		a single threshold value is passed in (e.g.
463		<type>[Y][_name]_<raw|input>_thresh_value) or
464		<type>[Y][_name]_<raw|input>_thresh_rising_value and
465		<type>[Y][_name]_<raw|input>_thresh_falling_value may take
466		different values, but the device can only enable both thresholds
467		or neither.
468		Note the driver will assume the last p events requested are
469		to be enabled where p is how many it supports (which may vary
470		depending on the exact set requested. So if you want to be
471		sure you have set what you think you have, check the contents of
472		these attributes after everything is configured. Drivers may
473		have to buffer any parameters so that they are consistent when
474		a given event type is enabled at a future point (and not those for
475		whatever event was previously enabled).
476
477What:		/sys/.../iio:deviceX/events/in_accel_x_roc_rising_en
478What:		/sys/.../iio:deviceX/events/in_accel_x_roc_falling_en
479What:		/sys/.../iio:deviceX/events/in_accel_y_roc_rising_en
480What:		/sys/.../iio:deviceX/events/in_accel_y_roc_falling_en
481What:		/sys/.../iio:deviceX/events/in_accel_z_roc_rising_en
482What:		/sys/.../iio:deviceX/events/in_accel_z_roc_falling_en
483What:		/sys/.../iio:deviceX/events/in_anglvel_x_roc_rising_en
484What:		/sys/.../iio:deviceX/events/in_anglvel_x_roc_falling_en
485What:		/sys/.../iio:deviceX/events/in_anglvel_y_roc_rising_en
486What:		/sys/.../iio:deviceX/events/in_anglvel_y_roc_falling_en
487What:		/sys/.../iio:deviceX/events/in_anglvel_z_roc_rising_en
488What:		/sys/.../iio:deviceX/events/in_anglvel_z_roc_falling_en
489What:		/sys/.../iio:deviceX/events/in_magn_x_roc_rising_en
490What:		/sys/.../iio:deviceX/events/in_magn_x_roc_falling_en
491What:		/sys/.../iio:deviceX/events/in_magn_y_roc_rising_en
492What:		/sys/.../iio:deviceX/events/in_magn_y_roc_falling_en
493What:		/sys/.../iio:deviceX/events/in_magn_z_roc_rising_en
494What:		/sys/.../iio:deviceX/events/in_magn_z_roc_falling_en
495What:		/sys/.../iio:deviceX/events/in_voltageY_supply_roc_rising_en
496What:		/sys/.../iio:deviceX/events/in_voltageY_supply_roc_falling_en
497What:		/sys/.../iio:deviceX/events/in_voltageY_roc_rising_en
498What:		/sys/.../iio:deviceX/events/in_voltageY_roc_falling_en
499What:		/sys/.../iio:deviceX/events/in_tempY_roc_rising_en
500What:		/sys/.../iio:deviceX/events/in_tempY_roc_falling_en
501KernelVersion:	2.6.37
502Contact:	linux-iio@vger.kernel.org
503Description:
504		Event generated when channel passes a threshold on the rate of
505		change (1st differential) in the specified (_rising|_falling)
506		direction. If the direction is not specified, then either the
507		device will report an event which ever direction a single
508		threshold value is passed in (e.g.
509		<type>[Y][_name]_<raw|input>_roc_value) or
510		<type>[Y][_name]_<raw|input>_roc_rising_value and
511		<type>[Y][_name]_<raw|input>_roc_falling_value may take
512		different values, but the device can only enable both rate of
513		change thresholds or neither.
514		Note the driver will assume the last p events requested are
515		to be enabled where p is however many it supports (which may
516		vary depending on the exact set requested. So if you want to be
517		sure you have set what you think you have, check the contents of
518		these attributes after everything is configured. Drivers may
519		have to buffer any parameters so that they are consistent when
520		a given event type is enabled a future point (and not those for
521		whatever event was previously enabled).
522
523What:		/sys/.../events/in_accel_x_raw_thresh_rising_value
524What:		/sys/.../events/in_accel_x_raw_thresh_falling_value
525What:		/sys/.../events/in_accel_y_raw_thresh_rising_value
526What:		/sys/.../events/in_accel_y_raw_thresh_falling_value
527What:		/sys/.../events/in_accel_z_raw_thresh_rising_value
528What:		/sys/.../events/in_accel_z_raw_thresh_falling_value
529What:		/sys/.../events/in_anglvel_x_raw_thresh_rising_value
530What:		/sys/.../events/in_anglvel_x_raw_thresh_falling_value
531What:		/sys/.../events/in_anglvel_y_raw_thresh_rising_value
532What:		/sys/.../events/in_anglvel_y_raw_thresh_falling_value
533What:		/sys/.../events/in_anglvel_z_raw_thresh_rising_value
534What:		/sys/.../events/in_anglvel_z_raw_thresh_falling_value
535What:		/sys/.../events/in_magn_x_raw_thresh_rising_value
536What:		/sys/.../events/in_magn_x_raw_thresh_falling_value
537What:		/sys/.../events/in_magn_y_raw_thresh_rising_value
538What:		/sys/.../events/in_magn_y_raw_thresh_falling_value
539What:		/sys/.../events/in_magn_z_raw_thresh_rising_value
540What:		/sys/.../events/in_magn_z_raw_thresh_falling_value
541What:		/sys/.../events/in_voltageY_supply_raw_thresh_rising_value
542What:		/sys/.../events/in_voltageY_supply_raw_thresh_falling_value
543What:		/sys/.../events/in_voltageY_raw_thresh_rising_value
544What:		/sys/.../events/in_voltageY_raw_thresh_falling_value
545What:		/sys/.../events/in_tempY_raw_thresh_rising_value
546What:		/sys/.../events/in_tempY_raw_thresh_falling_value
547What:		/sys/.../events/in_illuminance0_thresh_falling_value
548what:		/sys/.../events/in_illuminance0_thresh_rising_value
549what:		/sys/.../events/in_proximity0_thresh_falling_value
550what:		/sys/.../events/in_proximity0_thresh_rising_value
551KernelVersion:	2.6.37
552Contact:	linux-iio@vger.kernel.org
553Description:
554		Specifies the value of threshold that the device is comparing
555		against for the events enabled by
556		<type>Y[_name]_thresh[_rising|falling]_en.
557		If separate attributes exist for the two directions, but
558		direction is not specified for this attribute, then a single
559		threshold value applies to both directions.
560		The raw or input element of the name indicates whether the
561		value is in raw device units or in processed units (as _raw
562		and _input do on sysfs direct channel read attributes).
563
564What:		/sys/.../events/in_accel_x_thresh_rising_hysteresis
565What:		/sys/.../events/in_accel_x_thresh_falling_hysteresis
566What:		/sys/.../events/in_accel_x_thresh_either_hysteresis
567What:		/sys/.../events/in_accel_y_thresh_rising_hysteresis
568What:		/sys/.../events/in_accel_y_thresh_falling_hysteresis
569What:		/sys/.../events/in_accel_y_thresh_either_hysteresis
570What:		/sys/.../events/in_accel_z_thresh_rising_hysteresis
571What:		/sys/.../events/in_accel_z_thresh_falling_hysteresis
572What:		/sys/.../events/in_accel_z_thresh_either_hysteresis
573What:		/sys/.../events/in_anglvel_x_thresh_rising_hysteresis
574What:		/sys/.../events/in_anglvel_x_thresh_falling_hysteresis
575What:		/sys/.../events/in_anglvel_x_thresh_either_hysteresis
576What:		/sys/.../events/in_anglvel_y_thresh_rising_hysteresis
577What:		/sys/.../events/in_anglvel_y_thresh_falling_hysteresis
578What:		/sys/.../events/in_anglvel_y_thresh_either_hysteresis
579What:		/sys/.../events/in_anglvel_z_thresh_rising_hysteresis
580What:		/sys/.../events/in_anglvel_z_thresh_falling_hysteresis
581What:		/sys/.../events/in_anglvel_z_thresh_either_hysteresis
582What:		/sys/.../events/in_magn_x_thresh_rising_hysteresis
583What:		/sys/.../events/in_magn_x_thresh_falling_hysteresis
584What:		/sys/.../events/in_magn_x_thresh_either_hysteresis
585What:		/sys/.../events/in_magn_y_thresh_rising_hysteresis
586What:		/sys/.../events/in_magn_y_thresh_falling_hysteresis
587What:		/sys/.../events/in_magn_y_thresh_either_hysteresis
588What:		/sys/.../events/in_magn_z_thresh_rising_hysteresis
589What:		/sys/.../events/in_magn_z_thresh_falling_hysteresis
590What:		/sys/.../events/in_magn_z_thresh_either_hysteresis
591What:		/sys/.../events/in_voltageY_thresh_rising_hysteresis
592What:		/sys/.../events/in_voltageY_thresh_falling_hysteresis
593What:		/sys/.../events/in_voltageY_thresh_either_hysteresis
594What:		/sys/.../events/in_tempY_thresh_rising_hysteresis
595What:		/sys/.../events/in_tempY_thresh_falling_hysteresis
596What:		/sys/.../events/in_tempY_thresh_either_hysteresis
597What:		/sys/.../events/in_illuminance0_thresh_falling_hysteresis
598what:		/sys/.../events/in_illuminance0_thresh_rising_hysteresis
599what:		/sys/.../events/in_illuminance0_thresh_either_hysteresis
600what:		/sys/.../events/in_proximity0_thresh_falling_hysteresis
601what:		/sys/.../events/in_proximity0_thresh_rising_hysteresis
602what:		/sys/.../events/in_proximity0_thresh_either_hysteresis
603KernelVersion:	3.13
604Contact:	linux-iio@vger.kernel.org
605Description:
606		Specifies the hysteresis of threshold that the device is comparing
607		against for the events enabled by
608		<type>Y[_name]_thresh[_(rising|falling)]_hysteresis.
609		If separate attributes exist for the two directions, but
610		direction is not specified for this attribute, then a single
611		hysteresis value applies to both directions.
612		For falling events the hysteresis is added to the _value attribute for
613		this event to get the upper threshold for when the event goes back to
614		normal, for rising events the hysteresis is subtracted from the _value
615		attribute. E.g. if in_voltage0_raw_thresh_rising_value is set to 1200
616		and in_voltage0_raw_thresh_rising_hysteresis is set to 50. The event
617		will get activated once in_voltage0_raw goes above 1200 and will become
618		deactived again once the value falls below 1150.
619
620What:		/sys/.../events/in_accel_x_raw_roc_rising_value
621What:		/sys/.../events/in_accel_x_raw_roc_falling_value
622What:		/sys/.../events/in_accel_y_raw_roc_rising_value
623What:		/sys/.../events/in_accel_y_raw_roc_falling_value
624What:		/sys/.../events/in_accel_z_raw_roc_rising_value
625What:		/sys/.../events/in_accel_z_raw_roc_falling_value
626What:		/sys/.../events/in_anglvel_x_raw_roc_rising_value
627What:		/sys/.../events/in_anglvel_x_raw_roc_falling_value
628What:		/sys/.../events/in_anglvel_y_raw_roc_rising_value
629What:		/sys/.../events/in_anglvel_y_raw_roc_falling_value
630What:		/sys/.../events/in_anglvel_z_raw_roc_rising_value
631What:		/sys/.../events/in_anglvel_z_raw_roc_falling_value
632What:		/sys/.../events/in_magn_x_raw_roc_rising_value
633What:		/sys/.../events/in_magn_x_raw_roc_falling_value
634What:		/sys/.../events/in_magn_y_raw_roc_rising_value
635What:		/sys/.../events/in_magn_y_raw_roc_falling_value
636What:		/sys/.../events/in_magn_z_raw_roc_rising_value
637What:		/sys/.../events/in_magn_z_raw_roc_falling_value
638What:		/sys/.../events/in_voltageY_supply_raw_roc_rising_value
639What:		/sys/.../events/in_voltageY_supply_raw_roc_falling_value
640What:		/sys/.../events/in_voltageY_raw_roc_rising_value
641What:		/sys/.../events/in_voltageY_raw_roc_falling_value
642What:		/sys/.../events/in_tempY_raw_roc_rising_value
643What:		/sys/.../events/in_tempY_raw_roc_falling_value
644KernelVersion:	2.6.37
645Contact:	linux-iio@vger.kernel.org
646Description:
647		Specifies the value of rate of change threshold that the
648		device is comparing against for the events enabled by
649		<type>[Y][_name]_roc[_rising|falling]_en.
650		If separate attributes exist for the two directions,
651		but direction is not specified for this attribute,
652		then a single threshold value applies to both directions.
653		The raw or input element of the name indicates whether the
654		value is in raw device units or in processed units (as _raw
655		and _input do on sysfs direct channel read attributes).
656
657What:		/sys/.../events/in_accel_x_thresh_rising_period
658What:		/sys/.../events/in_accel_x_thresh_falling_period
659hat:		/sys/.../events/in_accel_x_roc_rising_period
660What:		/sys/.../events/in_accel_x_roc_falling_period
661What:		/sys/.../events/in_accel_y_thresh_rising_period
662What:		/sys/.../events/in_accel_y_thresh_falling_period
663What:		/sys/.../events/in_accel_y_roc_rising_period
664What:		/sys/.../events/in_accel_y_roc_falling_period
665What:		/sys/.../events/in_accel_z_thresh_rising_period
666What:		/sys/.../events/in_accel_z_thresh_falling_period
667What:		/sys/.../events/in_accel_z_roc_rising_period
668What:		/sys/.../events/in_accel_z_roc_falling_period
669What:		/sys/.../events/in_anglvel_x_thresh_rising_period
670What:		/sys/.../events/in_anglvel_x_thresh_falling_period
671What:		/sys/.../events/in_anglvel_x_roc_rising_period
672What:		/sys/.../events/in_anglvel_x_roc_falling_period
673What:		/sys/.../events/in_anglvel_y_thresh_rising_period
674What:		/sys/.../events/in_anglvel_y_thresh_falling_period
675What:		/sys/.../events/in_anglvel_y_roc_rising_period
676What:		/sys/.../events/in_anglvel_y_roc_falling_period
677What:		/sys/.../events/in_anglvel_z_thresh_rising_period
678What:		/sys/.../events/in_anglvel_z_thresh_falling_period
679What:		/sys/.../events/in_anglvel_z_roc_rising_period
680What:		/sys/.../events/in_anglvel_z_roc_falling_period
681What:		/sys/.../events/in_magn_x_thresh_rising_period
682What:		/sys/.../events/in_magn_x_thresh_falling_period
683What:		/sys/.../events/in_magn_x_roc_rising_period
684What:		/sys/.../events/in_magn_x_roc_falling_period
685What:		/sys/.../events/in_magn_y_thresh_rising_period
686What:		/sys/.../events/in_magn_y_thresh_falling_period
687What:		/sys/.../events/in_magn_y_roc_rising_period
688What:		/sys/.../events/in_magn_y_roc_falling_period
689What:		/sys/.../events/in_magn_z_thresh_rising_period
690What:		/sys/.../events/in_magn_z_thresh_falling_period
691What:		/sys/.../events/in_magn_z_roc_rising_period
692What:		/sys/.../events/in_magn_z_roc_falling_period
693What:		/sys/.../events/in_voltageY_supply_thresh_rising_period
694What:		/sys/.../events/in_voltageY_supply_thresh_falling_period
695What:		/sys/.../events/in_voltageY_supply_roc_rising_period
696What:		/sys/.../events/in_voltageY_supply_roc_falling_period
697What:		/sys/.../events/in_voltageY_thresh_rising_period
698What:		/sys/.../events/in_voltageY_thresh_falling_period
699What:		/sys/.../events/in_voltageY_roc_rising_period
700What:		/sys/.../events/in_voltageY_roc_falling_period
701What:		/sys/.../events/in_tempY_thresh_rising_period
702What:		/sys/.../events/in_tempY_thresh_falling_period
703What:		/sys/.../events/in_tempY_roc_rising_period
704What:		/sys/.../events/in_tempY_roc_falling_period
705What:		/sys/.../events/in_accel_x&y&z_mag_falling_period
706What:		/sys/.../events/in_intensity0_thresh_period
707What:		/sys/.../events/in_proximity0_thresh_period
708KernelVersion:	2.6.37
709Contact:	linux-iio@vger.kernel.org
710Description:
711		Period of time (in seconds) for which the condition must be
712		met before an event is generated. If direction is not
713		specified then this period applies to both directions.
714
715What:		/sys/.../iio:deviceX/events/in_accel_mag_en
716What:		/sys/.../iio:deviceX/events/in_accel_mag_rising_en
717What:		/sys/.../iio:deviceX/events/in_accel_mag_falling_en
718What:		/sys/.../iio:deviceX/events/in_accel_x_mag_en
719What:		/sys/.../iio:deviceX/events/in_accel_x_mag_rising_en
720What:		/sys/.../iio:deviceX/events/in_accel_x_mag_falling_en
721What:		/sys/.../iio:deviceX/events/in_accel_y_mag_en
722What:		/sys/.../iio:deviceX/events/in_accel_y_mag_rising_en
723What:		/sys/.../iio:deviceX/events/in_accel_y_mag_falling_en
724What:		/sys/.../iio:deviceX/events/in_accel_z_mag_en
725What:		/sys/.../iio:deviceX/events/in_accel_z_mag_rising_en
726What:		/sys/.../iio:deviceX/events/in_accel_z_mag_falling_en
727What:		/sys/.../iio:deviceX/events/in_accel_x&y&z_mag_rising_en
728What:		/sys/.../iio:deviceX/events/in_accel_x&y&z_mag_falling_en
729KernelVersion:	2.6.37
730Contact:	linux-iio@vger.kernel.org
731Description:
732		Similar to in_accel_x_thresh[_rising|_falling]_en, but here the
733		magnitude of the channel is compared to the threshold, not its
734		signed value.
735
736What:		/sys/.../events/in_accel_raw_mag_value
737What:		/sys/.../events/in_accel_x_raw_mag_rising_value
738What:		/sys/.../events/in_accel_y_raw_mag_rising_value
739What:		/sys/.../events/in_accel_z_raw_mag_rising_value
740KernelVersion:	2.6.37
741Contact:	linux-iio@vger.kernel.org
742Description:
743		The value to which the magnitude of the channel is compared. If
744		number or direction is not specified, applies to all channels of
745		this type.
746
747What:		/sys/bus/iio/devices/iio:deviceX/trigger/current_trigger
748KernelVersion:	2.6.35
749Contact:	linux-iio@vger.kernel.org
750Description:
751		The name of the trigger source being used, as per string given
752		in /sys/class/iio/triggerY/name.
753
754What:		/sys/bus/iio/devices/iio:deviceX/buffer/length
755KernelVersion:	2.6.35
756Contact:	linux-iio@vger.kernel.org
757Description:
758		Number of scans contained by the buffer.
759
760What:		/sys/bus/iio/devices/iio:deviceX/buffer/bytes_per_datum
761KernelVersion:	2.6.37
762Contact:	linux-iio@vger.kernel.org
763Description:
764		Bytes per scan.  Due to alignment fun, the scan may be larger
765		than implied directly by the scan_element parameters.
766
767What:		/sys/bus/iio/devices/iio:deviceX/buffer/enable
768KernelVersion:	2.6.35
769Contact:	linux-iio@vger.kernel.org
770Description:
771		Actually start the buffer capture up.  Will start trigger
772		if first device and appropriate.
773
774What:		/sys/bus/iio/devices/iio:deviceX/scan_elements
775KernelVersion:	2.6.37
776Contact:	linux-iio@vger.kernel.org
777Description:
778		Directory containing interfaces for elements that will be
779		captured for a single triggered sample set in the buffer.
780
781What:		/sys/.../iio:deviceX/scan_elements/in_accel_x_en
782What:		/sys/.../iio:deviceX/scan_elements/in_accel_y_en
783What:		/sys/.../iio:deviceX/scan_elements/in_accel_z_en
784What:		/sys/.../iio:deviceX/scan_elements/in_anglvel_x_en
785What:		/sys/.../iio:deviceX/scan_elements/in_anglvel_y_en
786What:		/sys/.../iio:deviceX/scan_elements/in_anglvel_z_en
787What:		/sys/.../iio:deviceX/scan_elements/in_magn_x_en
788What:		/sys/.../iio:deviceX/scan_elements/in_magn_y_en
789What:		/sys/.../iio:deviceX/scan_elements/in_magn_z_en
790What:		/sys/.../iio:deviceX/scan_elements/in_timestamp_en
791What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_supply_en
792What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_en
793What:		/sys/.../iio:deviceX/scan_elements/in_voltageY-voltageZ_en
794What:		/sys/.../iio:deviceX/scan_elements/in_incli_x_en
795What:		/sys/.../iio:deviceX/scan_elements/in_incli_y_en
796What:		/sys/.../iio:deviceX/scan_elements/in_pressureY_en
797What:		/sys/.../iio:deviceX/scan_elements/in_pressure_en
798What:		/sys/.../iio:deviceX/scan_elements/in_rot_quaternion_en
799KernelVersion:	2.6.37
800Contact:	linux-iio@vger.kernel.org
801Description:
802		Scan element control for triggered data capture.
803
804What:		/sys/.../iio:deviceX/scan_elements/in_accel_type
805What:		/sys/.../iio:deviceX/scan_elements/in_anglvel_type
806What:		/sys/.../iio:deviceX/scan_elements/in_magn_type
807What:		/sys/.../iio:deviceX/scan_elements/in_incli_type
808What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_type
809What:		/sys/.../iio:deviceX/scan_elements/in_voltage_type
810What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_supply_type
811What:		/sys/.../iio:deviceX/scan_elements/in_timestamp_type
812What:		/sys/.../iio:deviceX/scan_elements/in_pressureY_type
813What:		/sys/.../iio:deviceX/scan_elements/in_pressure_type
814What:		/sys/.../iio:deviceX/scan_elements/in_rot_quaternion_type
815KernelVersion:	2.6.37
816Contact:	linux-iio@vger.kernel.org
817Description:
818		Description of the scan element data storage within the buffer
819		and hence the form in which it is read from user-space.
820		Form is [be|le]:[s|u]bits/storagebits[>>shift].
821		be or le specifies big or little endian. s or u specifies if
822		signed (2's complement) or unsigned. bits is the number of bits
823		of data and storagebits is the space (after padding) that it
824		occupies in the buffer. shift if specified, is the shift that
825		needs to be applied prior to masking out unused bits. Some
826		devices put their data in the middle of the transferred elements
827		with additional information on both sides.  Note that some
828		devices will have additional information in the unused bits
829		so to get a clean value, the bits value must be used to mask
830		the buffer output value appropriately.  The storagebits value
831		also specifies the data alignment.  So s48/64>>2 will be a
832		signed 48 bit integer stored in a 64 bit location aligned to
833		a 64 bit boundary. To obtain the clean value, shift right 2
834		and apply a mask to zero the top 16 bits of the result.
835		For other storage combinations this attribute will be extended
836		appropriately.
837
838What:		/sys/.../iio:deviceX/scan_elements/in_accel_type_available
839KernelVersion:	2.6.37
840Contact:	linux-iio@vger.kernel.org
841Description:
842		If the type parameter can take one of a small set of values,
843		this attribute lists them.
844
845What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_index
846What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_supply_index
847What:		/sys/.../iio:deviceX/scan_elements/in_accel_x_index
848What:		/sys/.../iio:deviceX/scan_elements/in_accel_y_index
849What:		/sys/.../iio:deviceX/scan_elements/in_accel_z_index
850What:		/sys/.../iio:deviceX/scan_elements/in_anglvel_x_index
851What:		/sys/.../iio:deviceX/scan_elements/in_anglvel_y_index
852What:		/sys/.../iio:deviceX/scan_elements/in_anglvel_z_index
853What:		/sys/.../iio:deviceX/scan_elements/in_magn_x_index
854What:		/sys/.../iio:deviceX/scan_elements/in_magn_y_index
855What:		/sys/.../iio:deviceX/scan_elements/in_magn_z_index
856What:		/sys/.../iio:deviceX/scan_elements/in_incli_x_index
857What:		/sys/.../iio:deviceX/scan_elements/in_incli_y_index
858What:		/sys/.../iio:deviceX/scan_elements/in_timestamp_index
859What:		/sys/.../iio:deviceX/scan_elements/in_pressureY_index
860What:		/sys/.../iio:deviceX/scan_elements/in_pressure_index
861What:		/sys/.../iio:deviceX/scan_elements/in_rot_quaternion_index
862KernelVersion:	2.6.37
863Contact:	linux-iio@vger.kernel.org
864Description:
865		A single positive integer specifying the position of this
866		scan element in the buffer. Note these are not dependent on
867		what is enabled and may not be contiguous. Thus for user-space
868		to establish the full layout these must be used in conjunction
869		with all _en attributes to establish which channels are present,
870		and the relevant _type attributes to establish the data storage
871		format.
872
873What:		/sys/.../iio:deviceX/in_anglvel_z_quadrature_correction_raw
874KernelVersion:	2.6.38
875Contact:	linux-iio@vger.kernel.org
876Description:
877		This attribute is used to read the amount of quadrature error
878		present in the device at a given time.
879
880What:		/sys/.../iio:deviceX/in_accelX_power_mode
881KernelVersion:	3.11
882Contact:	linux-iio@vger.kernel.org
883Description:
884		Specifies the chip power mode.
885		low_noise: reduce noise level from ADC,
886		low_power: enable low current consumption.
887		For a list of available output power modes read
888		in_accel_power_mode_available.
889
890What:		/sys/bus/iio/devices/iio:deviceX/store_eeprom
891KernelVersion:	3.4.0
892Contact:	linux-iio@vger.kernel.org
893Description:
894		Writing '1' stores the current device configuration into
895		on-chip EEPROM. After power-up or chip reset the device will
896		automatically load the saved configuration.
897
898What:		/sys/.../iio:deviceX/in_illuminanceY_input
899What:		/sys/.../iio:deviceX/in_illuminanceY_raw
900What:		/sys/.../iio:deviceX/in_illuminanceY_mean_raw
901KernelVersion:	3.4
902Contact:	linux-iio@vger.kernel.org
903Description:
904		Illuminance measurement, units after application of scale
905		and offset are lux.
906
907What:		/sys/.../iio:deviceX/in_intensityY_raw
908What:		/sys/.../iio:deviceX/in_intensityY_ir_raw
909What:		/sys/.../iio:deviceX/in_intensityY_both_raw
910KernelVersion:	3.4
911Contact:	linux-iio@vger.kernel.org
912Description:
913		Unit-less light intensity. Modifiers both and ir indicate
914		that measurements contains visible and infrared light
915		components or just infrared light, respectively.
916
917What:		/sys/.../iio:deviceX/in_intensity_red_integration_time
918What:		/sys/.../iio:deviceX/in_intensity_green_integration_time
919What:		/sys/.../iio:deviceX/in_intensity_blue_integration_time
920What:		/sys/.../iio:deviceX/in_intensity_clear_integration_time
921What:		/sys/.../iio:deviceX/in_illuminance_integration_time
922KernelVersion:	3.12
923Contact:	linux-iio@vger.kernel.org
924Description:
925		This attribute is used to get/set the integration time in
926		seconds.
927
928What:		/sys/bus/iio/devices/iio:deviceX/in_rot_quaternion_raw
929KernelVersion:	3.15
930Contact:	linux-iio@vger.kernel.org
931Description:
932		Raw value of quaternion components using a format
933		x y z w. Here x, y, and z component represents the axis about
934		which a rotation will occur and w component represents the
935		amount of rotation.
936