xref: /linux/Documentation/ABI/testing/sysfs-bus-iio (revision df16c33a4028159d1ba8a7061c9fa950b58d1a61)
18af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX
28af2c75aSJonathan CameronKernelVersion:	2.6.35
38af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
48af2c75aSJonathan CameronDescription:
58af2c75aSJonathan Cameron		Hardware chip or device accessed by one communication port.
68af2c75aSJonathan Cameron		Corresponds to a grouping of sensor channels. X is the IIO
78af2c75aSJonathan Cameron		index of the device.
88af2c75aSJonathan Cameron
98af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/triggerX
108af2c75aSJonathan CameronKernelVersion:	2.6.35
118af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
128af2c75aSJonathan CameronDescription:
138af2c75aSJonathan Cameron		An event driven driver of data capture to an in kernel buffer.
148af2c75aSJonathan Cameron		May be provided by a device driver that also has an IIO device
158af2c75aSJonathan Cameron		based on hardware generated events (e.g. data ready) or
168af2c75aSJonathan Cameron		provided by a separate driver for other hardware (e.g.
178af2c75aSJonathan Cameron		periodic timer, GPIO or high resolution timer).
188af2c75aSJonathan Cameron		Contains trigger type specific elements. These do not
198af2c75aSJonathan Cameron		generalize well and hence are not documented in this file.
208af2c75aSJonathan Cameron		X is the IIO index of the trigger.
218af2c75aSJonathan Cameron
228af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/buffer
238af2c75aSJonathan CameronKernelVersion:	2.6.35
248af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
258af2c75aSJonathan CameronDescription:
268af2c75aSJonathan Cameron		Directory of attributes relating to the buffer for the device.
278af2c75aSJonathan Cameron
288af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/name
298af2c75aSJonathan CameronKernelVersion:	2.6.35
308af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
318af2c75aSJonathan CameronDescription:
328af2c75aSJonathan Cameron		Description of the physical chip / device for device X.
338af2c75aSJonathan Cameron		Typically a part number.
348af2c75aSJonathan Cameron
35b9a35893SLinus WalleijWhat:		/sys/bus/iio/devices/iio:deviceX/current_timestamp_clock
36bc2b7dabSGregor BoirieKernelVersion:	4.5
37bc2b7dabSGregor BoirieContact:	linux-iio@vger.kernel.org
38bc2b7dabSGregor BoirieDescription:
39bc2b7dabSGregor Boirie		String identifying current posix clock used to timestamp
40bc2b7dabSGregor Boirie		buffered samples and events for device X.
41bc2b7dabSGregor Boirie
428af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/sampling_frequency
438af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/buffer/sampling_frequency
448af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/triggerX/sampling_frequency
458af2c75aSJonathan CameronKernelVersion:	2.6.35
468af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
478af2c75aSJonathan CameronDescription:
488af2c75aSJonathan Cameron		Some devices have internal clocks.  This parameter sets the
498af2c75aSJonathan Cameron		resulting sampling frequency.  In many devices this
508b417d78SPeter Meerwald		parameter has an effect on input filters etc. rather than
518af2c75aSJonathan Cameron		simply controlling when the input is sampled.  As this
528b417d78SPeter Meerwald		effects data ready triggers, hardware buffers and the sysfs
538af2c75aSJonathan Cameron		direct access interfaces, it may be found in any of the
548af2c75aSJonathan Cameron		relevant directories.  If it effects all of the above
558af2c75aSJonathan Cameron		then it is to be found in the base device directory.
568af2c75aSJonathan Cameron
578af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/sampling_frequency_available
58a18ac954SBrian MasneyWhat:		/sys/bus/iio/devices/iio:deviceX/in_proximity_sampling_frequency_available
598af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/buffer/sampling_frequency_available
608af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/triggerX/sampling_frequency_available
618af2c75aSJonathan CameronKernelVersion:	2.6.35
628af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
638af2c75aSJonathan CameronDescription:
6426207c7eSFabien Lahoudere		When the internal sampling clock can only take a specific set of
6526207c7eSFabien Lahoudere		frequencies, we can specify the available values with:
6626207c7eSFabien Lahoudere		- a small discrete set of values like "0 2 4 6 8"
6726207c7eSFabien Lahoudere		- a range with minimum, step and maximum frequencies like
6826207c7eSFabien Lahoudere		  "[min step max]"
698af2c75aSJonathan Cameron
708af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/oversampling_ratio
718af2c75aSJonathan CameronKernelVersion:	2.6.38
728af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
738af2c75aSJonathan CameronDescription:
748af2c75aSJonathan Cameron		Hardware dependent ADC oversampling. Controls the sampling ratio
758af2c75aSJonathan Cameron		of the digital filter if available.
768af2c75aSJonathan Cameron
778af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/oversampling_ratio_available
788af2c75aSJonathan CameronKernelVersion:	2.6.38
798af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
808af2c75aSJonathan CameronDescription:
818af2c75aSJonathan Cameron		Hardware dependent values supported by the oversampling filter.
828af2c75aSJonathan Cameron
838af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_raw
848af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_raw
851ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_i_raw
861ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_q_raw
878af2c75aSJonathan CameronKernelVersion:	2.6.35
888af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
898af2c75aSJonathan CameronDescription:
908b417d78SPeter Meerwald		Raw (unscaled no bias removal etc.) voltage measurement from
918af2c75aSJonathan Cameron		channel Y. In special cases where the channel does not
928af2c75aSJonathan Cameron		correspond to externally available input one of the named
938af2c75aSJonathan Cameron		versions may be used. The number must always be specified and
948af2c75aSJonathan Cameron		unique to allow association with event codes. Units after
95c2b2db71SLars-Peter Clausen		application of scale and offset are millivolts.
968af2c75aSJonathan Cameron
971ce87f21SLars-Peter Clausen		Channels with 'i' and 'q' modifiers always exist in pairs and both
981ce87f21SLars-Peter Clausen		channels refer to the same signal. The 'i' channel contains the in-phase
991ce87f21SLars-Peter Clausen		component of the signal while the 'q' channel contains the quadrature
1001ce87f21SLars-Peter Clausen		component.
1011ce87f21SLars-Peter Clausen
1028af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_raw
1038af2c75aSJonathan CameronKernelVersion:	2.6.35
1048af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
1058af2c75aSJonathan CameronDescription:
1068af2c75aSJonathan Cameron		Raw (unscaled) differential voltage measurement equivalent to
1078af2c75aSJonathan Cameron		channel Y - channel Z where these channel numbers apply to the
1088af2c75aSJonathan Cameron		physically equivalent inputs when non differential readings are
1098af2c75aSJonathan Cameron		separately available. In differential only parts, then all that
1108af2c75aSJonathan Cameron		is required is a consistent labeling.  Units after application
111c2b2db71SLars-Peter Clausen		of scale and offset are millivolts.
1128af2c75aSJonathan Cameron
1137f1c2cbbSAdam ThomsonWhat:		/sys/bus/iio/devices/iio:deviceX/in_currentY_raw
1147f1c2cbbSAdam ThomsonWhat:		/sys/bus/iio/devices/iio:deviceX/in_currentY_supply_raw
1157f1c2cbbSAdam ThomsonKernelVersion:	3.17
1167f1c2cbbSAdam ThomsonContact:	linux-iio@vger.kernel.org
1177f1c2cbbSAdam ThomsonDescription:
1187f1c2cbbSAdam Thomson		Raw (unscaled no bias removal etc.) current measurement from
1197f1c2cbbSAdam Thomson		channel Y. In special cases where the channel does not
1207f1c2cbbSAdam Thomson		correspond to externally available input one of the named
1217f1c2cbbSAdam Thomson		versions may be used. The number must always be specified and
1227f1c2cbbSAdam Thomson		unique to allow association with event codes. Units after
1237f1c2cbbSAdam Thomson		application of scale and offset are milliamps.
1247f1c2cbbSAdam Thomson
1257c6d5c7eSStefan BrünsWhat:		/sys/bus/iio/devices/iio:deviceX/in_powerY_raw
1267c6d5c7eSStefan BrünsKernelVersion:	4.5
1277c6d5c7eSStefan BrünsContact:	linux-iio@vger.kernel.org
1287c6d5c7eSStefan BrünsDescription:
1297c6d5c7eSStefan Brüns		Raw (unscaled no bias removal etc.) power measurement from
1307c6d5c7eSStefan Brüns		channel Y. The number must always be specified and
1317c6d5c7eSStefan Brüns		unique to allow association with event codes. Units after
1327c6d5c7eSStefan Brüns		application of scale and offset are milliwatts.
1337c6d5c7eSStefan Brüns
1348af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_capacitanceY_raw
1358af2c75aSJonathan CameronKernelVersion:	3.2
1368af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
1378af2c75aSJonathan CameronDescription:
1388af2c75aSJonathan Cameron		Raw capacitance measurement from channel Y. Units after
1398af2c75aSJonathan Cameron		application of scale and offset are nanofarads.
1408af2c75aSJonathan Cameron
1418af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/in_capacitanceY-in_capacitanceZ_raw
1428af2c75aSJonathan CameronKernelVersion:	3.2
1438af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
1448af2c75aSJonathan CameronDescription:
1458af2c75aSJonathan Cameron		Raw differential capacitance measurement equivalent to
1468af2c75aSJonathan Cameron		channel Y - channel Z where these channel numbers apply to the
1478af2c75aSJonathan Cameron		physically equivalent inputs when non differential readings are
1488af2c75aSJonathan Cameron		separately available. In differential only parts, then all that
1498af2c75aSJonathan Cameron		is required is a consistent labeling.  Units after application
1508af2c75aSJonathan Cameron		of scale and offset are nanofarads.
1518af2c75aSJonathan Cameron
1528af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_temp_raw
1538af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_tempX_raw
1548af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_temp_x_raw
1558af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_temp_y_raw
156888c9c73SPeter MeerwaldWhat:		/sys/bus/iio/devices/iio:deviceX/in_temp_ambient_raw
157888c9c73SPeter MeerwaldWhat:		/sys/bus/iio/devices/iio:deviceX/in_temp_object_raw
1588af2c75aSJonathan CameronKernelVersion:	2.6.35
1598af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
1608af2c75aSJonathan CameronDescription:
1618b417d78SPeter Meerwald		Raw (unscaled no bias removal etc.) temperature measurement.
1628af2c75aSJonathan Cameron		If an axis is specified it generally means that the temperature
1638af2c75aSJonathan Cameron		sensor is associated with one part of a compound device (e.g.
164888c9c73SPeter Meerwald		a gyroscope axis). The ambient and object modifiers distinguish
165888c9c73SPeter Meerwald		between ambient (reference) and distant temperature for contact-
166888c9c73SPeter Meerwald		less measurements. Units after application of scale and offset
167cf655d2dSPeter Meerwald		are milli degrees Celsius.
1688af2c75aSJonathan Cameron
1698af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_tempX_input
1708af2c75aSJonathan CameronKernelVersion:	2.6.38
1718af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
1728af2c75aSJonathan CameronDescription:
1738af2c75aSJonathan Cameron		Scaled temperature measurement in milli degrees Celsius.
1748af2c75aSJonathan Cameron
1758af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_accel_x_raw
1768af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_accel_y_raw
1778af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_accel_z_raw
1788af2c75aSJonathan CameronKernelVersion:	2.6.35
1798af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
1808af2c75aSJonathan CameronDescription:
1818af2c75aSJonathan Cameron		Acceleration in direction x, y or z (may be arbitrarily assigned
1828af2c75aSJonathan Cameron		but should match other such assignments on device).
1838af2c75aSJonathan Cameron		Has all of the equivalent parameters as per voltageY. Units
1848af2c75aSJonathan Cameron		after application of scale and offset are m/s^2.
1858af2c75aSJonathan Cameron
186571299d0SSong HongyanWhat:		/sys/bus/iio/devices/iio:deviceX/in_gravity_x_raw
187571299d0SSong HongyanWhat:		/sys/bus/iio/devices/iio:deviceX/in_gravity_y_raw
188571299d0SSong HongyanWhat:		/sys/bus/iio/devices/iio:deviceX/in_gravity_z_raw
189571299d0SSong HongyanKernelVersion:	4.11
190571299d0SSong HongyanContact:	linux-iio@vger.kernel.org
191571299d0SSong HongyanDescription:
192571299d0SSong Hongyan		Gravity in direction x, y or z (may be arbitrarily assigned
193571299d0SSong Hongyan		but should match other such assignments on device).
194571299d0SSong Hongyan		Units after application of scale and offset are m/s^2.
195571299d0SSong Hongyan
196b3e5c2bdSDavid VeenstraWhat:		/sys/bus/iio/devices/iio:deviceX/in_angl_raw
197b3e5c2bdSDavid VeenstraKernelVersion:	4.17
198b3e5c2bdSDavid VeenstraContact:	linux-iio@vger.kernel.org
199b3e5c2bdSDavid VeenstraDescription:
200b3e5c2bdSDavid Veenstra		Angle of rotation. Units after application of scale and offset
201b3e5c2bdSDavid Veenstra		are radians.
202b3e5c2bdSDavid Veenstra
2033055a6cfSEugen HristevWhat:		/sys/bus/iio/devices/iio:deviceX/in_positionrelative_x_raw
2043055a6cfSEugen HristevWhat:		/sys/bus/iio/devices/iio:deviceX/in_positionrelative_y_raw
20521eab786SEugen HristevKernelVersion:	4.19
2063055a6cfSEugen HristevContact:	linux-iio@vger.kernel.org
2073055a6cfSEugen HristevDescription:
2083055a6cfSEugen Hristev		Relative position in direction x or y on a pad (may be
2093055a6cfSEugen Hristev		arbitrarily assigned but should match other such assignments on
2103055a6cfSEugen Hristev		device).
2113055a6cfSEugen Hristev		Units after application of scale and offset are milli percents
2123055a6cfSEugen Hristev		from the pad's size in both directions. Should be calibrated by
2133055a6cfSEugen Hristev		the consumer.
2143055a6cfSEugen Hristev
2158af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_x_raw
2168af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_y_raw
2178af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_z_raw
2188af2c75aSJonathan CameronKernelVersion:	2.6.35
2198af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
2208af2c75aSJonathan CameronDescription:
2218af2c75aSJonathan Cameron		Angular velocity about axis x, y or z (may be arbitrarily
2228b417d78SPeter Meerwald		assigned). Has all the equivalent parameters as	per voltageY.
2238b417d78SPeter Meerwald		Units after application of scale and offset are	radians per
2248b417d78SPeter Meerwald		second.
2258af2c75aSJonathan Cameron
2268af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_incli_x_raw
2278af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_incli_y_raw
2288af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_incli_z_raw
2298af2c75aSJonathan CameronKernelVersion:	2.6.35
2308af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
2318af2c75aSJonathan CameronDescription:
2328af2c75aSJonathan Cameron		Inclination raw reading about axis x, y or z (may be
2338af2c75aSJonathan Cameron		arbitrarily assigned). Data converted by application of offset
2348b417d78SPeter Meerwald		and scale to degrees.
2358af2c75aSJonathan Cameron
2368af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_magn_x_raw
2378af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_magn_y_raw
2388af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_magn_z_raw
2398af2c75aSJonathan CameronKernelVersion:	2.6.35
2408af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
2418af2c75aSJonathan CameronDescription:
2428af2c75aSJonathan Cameron		Magnetic field along axis x, y or z (may be arbitrarily
2438af2c75aSJonathan Cameron		assigned).  Data converted by application of offset
2448af2c75aSJonathan Cameron		then scale to Gauss.
2458af2c75aSJonathan Cameron
2468af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_accel_x_peak_raw
2478af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_accel_y_peak_raw
2488af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_accel_z_peak_raw
2498af2c75aSJonathan CameronKernelVersion:	2.6.36
2508af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
2518af2c75aSJonathan CameronDescription:
2528af2c75aSJonathan Cameron		Highest value since some reset condition.  These
2538af2c75aSJonathan Cameron		attributes allow access to this and are otherwise
2548af2c75aSJonathan Cameron		the direct equivalent of the <type>Y[_name]_raw attributes.
2558af2c75aSJonathan Cameron
2568af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_accel_xyz_squared_peak_raw
2578af2c75aSJonathan CameronKernelVersion:	2.6.36
2588af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
2598af2c75aSJonathan CameronDescription:
2608af2c75aSJonathan Cameron		A computed peak value based on the sum squared magnitude of
2618af2c75aSJonathan Cameron		the underlying value in the specified directions.
2628af2c75aSJonathan Cameron
263c4f0c693SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_pressureY_raw
264c4f0c693SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_pressure_raw
265c4f0c693SLars-Peter ClausenKernelVersion:	3.8
266c4f0c693SLars-Peter ClausenContact:	linux-iio@vger.kernel.org
267c4f0c693SLars-Peter ClausenDescription:
268c4f0c693SLars-Peter Clausen		Raw pressure measurement from channel Y. Units after
269c4f0c693SLars-Peter Clausen		application of scale and offset are kilopascal.
270c4f0c693SLars-Peter Clausen
271c22e15f3SVlad DogaruWhat:		/sys/bus/iio/devices/iio:deviceX/in_pressureY_input
272c22e15f3SVlad DogaruWhat:		/sys/bus/iio/devices/iio:deviceX/in_pressure_input
273c22e15f3SVlad DogaruKernelVersion:	3.8
274c22e15f3SVlad DogaruContact:	linux-iio@vger.kernel.org
275c22e15f3SVlad DogaruDescription:
276c22e15f3SVlad Dogaru		Scaled pressure measurement from channel Y, in kilopascal.
277c22e15f3SVlad Dogaru
278ac216aa2SHarald GeyerWhat:		/sys/bus/iio/devices/iio:deviceX/in_humidityrelative_raw
279ac216aa2SHarald GeyerKernelVersion:	3.14
280ac216aa2SHarald GeyerContact:	linux-iio@vger.kernel.org
281ac216aa2SHarald GeyerDescription:
282ac216aa2SHarald Geyer		Raw humidity measurement of air. Units after application of
283ac216aa2SHarald Geyer		scale and offset are milli percent.
284ac216aa2SHarald Geyer
285ac216aa2SHarald GeyerWhat:		/sys/bus/iio/devices/iio:deviceX/in_humidityrelative_input
286ac216aa2SHarald GeyerKernelVersion:	3.14
287ac216aa2SHarald GeyerContact:	linux-iio@vger.kernel.org
288ac216aa2SHarald GeyerDescription:
289ac216aa2SHarald Geyer		Scaled humidity measurement in milli percent.
290ac216aa2SHarald Geyer
291c0a6b7eeSSebastian ReichelWhat:		/sys/bus/iio/devices/iio:deviceX/in_X_mean_raw
292c0a6b7eeSSebastian ReichelKernelVersion:	3.5
293c0a6b7eeSSebastian ReichelContact:	linux-iio@vger.kernel.org
294c0a6b7eeSSebastian ReichelDescription:
295c0a6b7eeSSebastian Reichel		Averaged raw measurement from channel X. The number of values
296c0a6b7eeSSebastian Reichel		used for averaging is device specific. The converting rules for
297c0a6b7eeSSebastian Reichel		normal raw values also applies to the averaged raw values.
298c0a6b7eeSSebastian Reichel
2998af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_accel_offset
3008af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_accel_x_offset
3018af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_accel_y_offset
3028af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_accel_z_offset
3038af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_offset
3048af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltage_offset
3051ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_i_offset
3061ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_q_offset
3071ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltage_q_offset
3081ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltage_i_offset
3097f1c2cbbSAdam ThomsonWhat:		/sys/bus/iio/devices/iio:deviceX/in_currentY_offset
3107f1c2cbbSAdam ThomsonWhat:		/sys/bus/iio/devices/iio:deviceX/in_current_offset
3111ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_currentY_i_offset
3121ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_currentY_q_offset
3131ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_current_q_offset
3141ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_current_i_offset
3158af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_tempY_offset
3168af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_temp_offset
317c4f0c693SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_pressureY_offset
318c4f0c693SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_pressure_offset
3194d5ce6bbSRoberta DobrescuWhat:		/sys/bus/iio/devices/iio:deviceX/in_humidityrelative_offset
320d5d7c4afSDarshana PadmadasWhat:		/sys/bus/iio/devices/iio:deviceX/in_magn_offset
3218ea06893SHaneen MohammedWhat:		/sys/bus/iio/devices/iio:deviceX/in_rot_offset
322b3e5c2bdSDavid VeenstraWhat:		/sys/bus/iio/devices/iio:deviceX/in_angl_offset
3238af2c75aSJonathan CameronKernelVersion:	2.6.35
3248af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
3258af2c75aSJonathan CameronDescription:
3268af2c75aSJonathan Cameron		If known for a device, offset to be added to <type>[Y]_raw prior
3278af2c75aSJonathan Cameron		to scaling by <type>[Y]_scale in order to obtain value in the
3288b417d78SPeter Meerwald		<type> units as specified in <type>[Y]_raw documentation.
3298af2c75aSJonathan Cameron		Not present if the offset is always 0 or unknown. If Y or
3308af2c75aSJonathan Cameron		axis <x|y|z> is not present, then the offset applies to all
3318af2c75aSJonathan Cameron		in channels of <type>.
3328af2c75aSJonathan Cameron		May be writable if a variable offset can be applied on the
3338af2c75aSJonathan Cameron		device. Note that this is different to calibbias which
3348af2c75aSJonathan Cameron		is for devices (or drivers) that apply offsets to compensate
3358af2c75aSJonathan Cameron		for variation between different instances of the part, typically
3368af2c75aSJonathan Cameron		adjusted by using some hardware supported calibration procedure.
3378af2c75aSJonathan Cameron		Calibbias is applied internally, offset is applied in userspace
3388af2c75aSJonathan Cameron		to the _raw output.
3398af2c75aSJonathan Cameron
3408af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_scale
3411ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_i_scale
3421ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_q_scale
3438af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale
3448af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltage_scale
3451ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltage_i_scale
3461ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltage_q_scale
3474e4cd14eSDarshana PadmadasWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_scale
3488af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_scale
349d802bf6fSMichael HennerichWhat:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale
3507f1c2cbbSAdam ThomsonWhat:		/sys/bus/iio/devices/iio:deviceX/in_currentY_scale
3517f1c2cbbSAdam ThomsonWhat:		/sys/bus/iio/devices/iio:deviceX/in_currentY_supply_scale
3527f1c2cbbSAdam ThomsonWhat:		/sys/bus/iio/devices/iio:deviceX/in_current_scale
3531ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_currentY_i_scale
3541ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_currentY_q_scale
3551ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_current_i_scale
3561ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_current_q_scale
3578af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_accel_scale
3588af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale
3598af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_scale
36072c66644SIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_energy_scale
361cc3c9eecSIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_distance_scale
3628af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_magn_scale
3638af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_magn_x_scale
3648af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_magn_y_scale
3658af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_magn_z_scale
366b531db84SReyad AttiyatWhat:		/sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_scale
367b531db84SReyad AttiyatWhat:		/sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_scale
368b531db84SReyad AttiyatWhat:		/sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_scale
369b531db84SReyad AttiyatWhat:		/sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_scale
370c4f0c693SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_pressureY_scale
371c4f0c693SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_pressure_scale
3724d5ce6bbSRoberta DobrescuWhat:		/sys/bus/iio/devices/iio:deviceX/in_humidityrelative_scale
3735a1a9329SIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_scale
3747cf78db5SDarshana PadmadasWhat:		/sys/bus/iio/devices/iio:deviceX/in_illuminance_scale
3751a8f324aSWilliam Breathitt GrayWhat:		/sys/bus/iio/devices/iio:deviceX/in_countY_scale
376b3e5c2bdSDavid VeenstraWhat:		/sys/bus/iio/devices/iio:deviceX/in_angl_scale
3778af2c75aSJonathan CameronKernelVersion:	2.6.35
3788af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
3798af2c75aSJonathan CameronDescription:
3808af2c75aSJonathan Cameron		If known for a device, scale to be applied to <type>Y[_name]_raw
3818af2c75aSJonathan Cameron		post addition of <type>[Y][_name]_offset in order to obtain the
3828af2c75aSJonathan Cameron		measured value in <type> units as specified in
3838af2c75aSJonathan Cameron		<type>[Y][_name]_raw documentation.  If shared across all in
3848af2c75aSJonathan Cameron		channels then Y and <x|y|z> are not present and the value is
3858af2c75aSJonathan Cameron		called <type>[Y][_name]_scale. The peak modifier means this
3868af2c75aSJonathan Cameron		value is applied to <type>Y[_name]_peak_raw values.
3878af2c75aSJonathan Cameron
3888af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_accel_x_calibbias
3898af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_accel_y_calibbias
3908af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_accel_z_calibbias
3918af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibbias
3928af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibbias
3938af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibbias
3948af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibbias
3958af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_proximity0_calibbias
396c4f0c693SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_pressureY_calibbias
397c4f0c693SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_pressure_calibbias
3988af2c75aSJonathan CameronKernelVersion:	2.6.35
3998af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
4008af2c75aSJonathan CameronDescription:
4018b417d78SPeter Meerwald		Hardware applied calibration offset (assumed to fix production
4028af2c75aSJonathan Cameron		inaccuracies).
4038af2c75aSJonathan Cameron
4048af2c75aSJonathan CameronWhat		/sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale
4058af2c75aSJonathan CameronWhat		/sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_calibscale
4061ce87f21SLars-Peter ClausenWhat		/sys/bus/iio/devices/iio:deviceX/in_voltageY_i_calibscale
4071ce87f21SLars-Peter ClausenWhat		/sys/bus/iio/devices/iio:deviceX/in_voltageY_q_calibscale
4081ce87f21SLars-Peter ClausenWhat		/sys/bus/iio/devices/iio:deviceX/in_voltage_i_calibscale
4091ce87f21SLars-Peter ClausenWhat		/sys/bus/iio/devices/iio:deviceX/in_voltage_q_calibscale
4108af2c75aSJonathan CameronWhat		/sys/bus/iio/devices/iio:deviceX/in_voltage_calibscale
4118af2c75aSJonathan CameronWhat		/sys/bus/iio/devices/iio:deviceX/in_accel_x_calibscale
4128af2c75aSJonathan CameronWhat		/sys/bus/iio/devices/iio:deviceX/in_accel_y_calibscale
4138af2c75aSJonathan CameronWhat		/sys/bus/iio/devices/iio:deviceX/in_accel_z_calibscale
4148af2c75aSJonathan CameronWhat		/sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibscale
4158af2c75aSJonathan CameronWhat		/sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibscale
4168af2c75aSJonathan CameronWhat		/sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibscale
4178af2c75aSJonathan Cameronwhat		/sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibscale
4188af2c75aSJonathan Cameronwhat		/sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale
419c4f0c693SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale
420c4f0c693SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_pressure_calibscale
4217cf78db5SDarshana PadmadasWhat:		/sys/bus/iio/devices/iio:deviceX/in_illuminance_calibscale
4228af2c75aSJonathan CameronKernelVersion:	2.6.35
4238af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
4248af2c75aSJonathan CameronDescription:
4258b417d78SPeter Meerwald		Hardware applied calibration scale factor (assumed to fix
4268af2c75aSJonathan Cameron		production inaccuracies).  If shared across all channels,
4278af2c75aSJonathan Cameron		<type>_calibscale is used.
4288af2c75aSJonathan Cameron
42940cb7613SIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_activity_calibgender
43040cb7613SIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_energy_calibgender
43140cb7613SIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_distance_calibgender
43240cb7613SIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender
433e0631a31SIrina TirdeaKernelVersion:	4.0
43440cb7613SIrina TirdeaContact:	linux-iio@vger.kernel.org
43540cb7613SIrina TirdeaDescription:
43640cb7613SIrina Tirdea		Gender of the user (e.g.: male, female) used by some pedometers
43740cb7613SIrina Tirdea		to compute the stride length, distance, speed and activity
43840cb7613SIrina Tirdea		type.
43940cb7613SIrina Tirdea
44040cb7613SIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_activity_calibgender_available
44140cb7613SIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_energy_calibgender_available
44240cb7613SIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_distance_calibgender_available
44340cb7613SIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender_available
444e0631a31SIrina TirdeaKernelVersion:	4.0
44540cb7613SIrina TirdeaContact:	linux-iio@vger.kernel.org
44640cb7613SIrina TirdeaDescription:
44740cb7613SIrina Tirdea		Lists all available gender values (e.g.: male, female).
44840cb7613SIrina Tirdea
44940cb7613SIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_activity_calibheight
45040cb7613SIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_energy_calibheight
45140cb7613SIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_distance_calibheight
45240cb7613SIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_velocity_calibheight
453bcdf28fbSIrina TirdeaKernelVersion:	3.19
454bcdf28fbSIrina TirdeaContact:	linux-iio@vger.kernel.org
455bcdf28fbSIrina TirdeaDescription:
45681110933SIrina Tirdea		Height of the user (in meters) used by some pedometers
457bcdf28fbSIrina Tirdea		to compute the stride length, distance, speed and activity
458bcdf28fbSIrina Tirdea		type.
459bcdf28fbSIrina Tirdea
460d37f6836SIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_energy_calibweight
461e0631a31SIrina TirdeaKernelVersion:	4.0
462d37f6836SIrina TirdeaContact:	linux-iio@vger.kernel.org
463d37f6836SIrina TirdeaDescription:
464d37f6836SIrina Tirdea		Weight of the user (in kg). It is needed by some pedometers
465d37f6836SIrina Tirdea		to compute the calories burnt by the user.
466d37f6836SIrina Tirdea
4678af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/in_accel_scale_available
468ad37616eSAdriana ReusWhat:		/sys/.../iio:deviceX/in_anglvel_scale_available
469ad37616eSAdriana ReusWhat:		/sys/.../iio:deviceX/in_magn_scale_available
470ad37616eSAdriana ReusWhat:		/sys/.../iio:deviceX/in_illuminance_scale_available
471ad37616eSAdriana ReusWhat:		/sys/.../iio:deviceX/in_intensity_scale_available
472ad37616eSAdriana ReusWhat:		/sys/.../iio:deviceX/in_proximity_scale_available
4738af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/in_voltageX_scale_available
4748af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/in_voltage-voltage_scale_available
4758af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/out_voltageX_scale_available
476d802bf6fSMichael HennerichWhat:		/sys/.../iio:deviceX/out_altvoltageX_scale_available
4778af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/in_capacitance_scale_available
478c4f0c693SLars-Peter ClausenWhat:		/sys/.../iio:deviceX/in_pressure_scale_available
479c4f0c693SLars-Peter ClausenWhat:		/sys/.../iio:deviceX/in_pressureY_scale_available
480cf09fe9cSPeter MeerwaldKernelVersion:	2.6.35
4818af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
4828af2c75aSJonathan CameronDescription:
4838b417d78SPeter Meerwald		If a discrete set of scale values is available, they
4848af2c75aSJonathan Cameron		are listed in this attribute.
4858af2c75aSJonathan Cameron
486b65d6212SMichael HennerichWhat		/sys/bus/iio/devices/iio:deviceX/out_voltageY_hardwaregain
487ed56330dSRoberta DobrescuWhat:		/sys/bus/iio/devices/iio:deviceX/in_intensity_red_hardwaregain
488ed56330dSRoberta DobrescuWhat:		/sys/bus/iio/devices/iio:deviceX/in_intensity_green_hardwaregain
489ed56330dSRoberta DobrescuWhat:		/sys/bus/iio/devices/iio:deviceX/in_intensity_blue_hardwaregain
490ed56330dSRoberta DobrescuWhat:		/sys/bus/iio/devices/iio:deviceX/in_intensity_clear_hardwaregain
491b65d6212SMichael HennerichKernelVersion:	2.6.35
492b65d6212SMichael HennerichContact:	linux-iio@vger.kernel.org
493b65d6212SMichael HennerichDescription:
494b65d6212SMichael Hennerich		Hardware applied gain factor. If shared across all channels,
495b65d6212SMichael Hennerich		<type>_hardwaregain is used.
496b65d6212SMichael Hennerich
4978af2c75aSJonathan CameronWhat:		/sys/.../in_accel_filter_low_pass_3db_frequency
4988af2c75aSJonathan CameronWhat:		/sys/.../in_magn_filter_low_pass_3db_frequency
4998af2c75aSJonathan CameronWhat:		/sys/.../in_anglvel_filter_low_pass_3db_frequency
5008af2c75aSJonathan CameronKernelVersion:	3.2
5018af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
5028af2c75aSJonathan CameronDescription:
5038af2c75aSJonathan Cameron		If a known or controllable low pass filter is applied
5048af2c75aSJonathan Cameron		to the underlying data channel, then this parameter
5058af2c75aSJonathan Cameron		gives the 3dB frequency of the filter in Hz.
5068af2c75aSJonathan Cameron
5073f7f642bSMartin FuzzeyWhat:		/sys/.../in_accel_filter_high_pass_3db_frequency
5083f7f642bSMartin FuzzeyWhat:		/sys/.../in_anglvel_filter_high_pass_3db_frequency
5093f7f642bSMartin FuzzeyWhat:		/sys/.../in_magn_filter_high_pass_3db_frequency
5103f7f642bSMartin FuzzeyKernelVersion:	4.2
5113f7f642bSMartin FuzzeyContact:	linux-iio@vger.kernel.org
5123f7f642bSMartin FuzzeyDescription:
5133f7f642bSMartin Fuzzey		If a known or controllable high pass filter is applied
5143f7f642bSMartin Fuzzey		to the underlying data channel, then this parameter
5153f7f642bSMartin Fuzzey		gives the 3dB frequency of the filter in Hz.
5163f7f642bSMartin Fuzzey
5178af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_raw
518d802bf6fSMichael HennerichWhat:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw
5198af2c75aSJonathan CameronKernelVersion:	2.6.37
5208af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
5218af2c75aSJonathan CameronDescription:
5228af2c75aSJonathan Cameron		Raw (unscaled, no bias etc.) output voltage for
5238af2c75aSJonathan Cameron		channel Y.  The number must always be specified and
5248af2c75aSJonathan Cameron		unique if the output corresponds to a single channel.
525d802bf6fSMichael Hennerich		While DAC like devices typically use out_voltage,
526d802bf6fSMichael Hennerich		a continuous frequency generating device, such as
527d802bf6fSMichael Hennerich		a DDS or PLL should use out_altvoltage.
5288af2c75aSJonathan Cameron
5298af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw
530d802bf6fSMichael HennerichWhat:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw
5318af2c75aSJonathan CameronKernelVersion:	2.6.37
5328af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
5338af2c75aSJonathan CameronDescription:
5348af2c75aSJonathan Cameron		Raw (unscaled, no bias etc.) output voltage for an aggregate of
5358af2c75aSJonathan Cameron		channel Y, channel Z, etc.  This interface is available in cases
5368af2c75aSJonathan Cameron		where a single output sets the value for multiple channels
5378af2c75aSJonathan Cameron		simultaneously.
5388af2c75aSJonathan Cameron
5398af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode
5408af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode
541d802bf6fSMichael HennerichWhat:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode
542d802bf6fSMichael HennerichWhat:		/sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode
5438af2c75aSJonathan CameronKernelVersion:	2.6.38
5448af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
5458af2c75aSJonathan CameronDescription:
5468af2c75aSJonathan Cameron		Specifies the output powerdown mode.
5478af2c75aSJonathan Cameron		DAC output stage is disconnected from the amplifier and
5488b417d78SPeter Meerwald		1kohm_to_gnd: connected to ground via an 1kOhm resistor,
54961011264SLukas Wunner		2.5kohm_to_gnd: connected to ground via a 2.5kOhm resistor,
5508b417d78SPeter Meerwald		6kohm_to_gnd: connected to ground via a 6kOhm resistor,
5518b417d78SPeter Meerwald		20kohm_to_gnd: connected to ground via a 20kOhm resistor,
5528d144c96SMarc Andre		90kohm_to_gnd: connected to ground via a 90kOhm resistor,
5538b417d78SPeter Meerwald		100kohm_to_gnd: connected to ground via an 100kOhm resistor,
55435f73967SAkinobu Mita		125kohm_to_gnd: connected to ground via an 125kOhm resistor,
555bd53a414SPeter Meerwald		500kohm_to_gnd: connected to ground via a 500kOhm resistor,
55635f73967SAkinobu Mita		640kohm_to_gnd: connected to ground via a 640kOhm resistor,
5578b417d78SPeter Meerwald		three_state: left floating.
5588af2c75aSJonathan Cameron		For a list of available output power down options read
5598af2c75aSJonathan Cameron		outX_powerdown_mode_available. If Y is not present the
5608af2c75aSJonathan Cameron		mode is shared across all outputs.
5618af2c75aSJonathan Cameron
562bdb25b0aSVladimir BarinovWhat:		/sys/.../iio:deviceX/out_voltageY_powerdown_mode_available
5638af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/out_voltage_powerdown_mode_available
564bdb25b0aSVladimir BarinovWhat:		/sys/.../iio:deviceX/out_altvoltageY_powerdown_mode_available
565d802bf6fSMichael HennerichWhat:		/sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available
5668af2c75aSJonathan CameronKernelVersion:	2.6.38
5678af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
5688af2c75aSJonathan CameronDescription:
5698af2c75aSJonathan Cameron		Lists all available output power down modes.
5708af2c75aSJonathan Cameron		If Y is not present the mode is shared across all outputs.
5718af2c75aSJonathan Cameron
5728af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown
5738af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown
574d802bf6fSMichael HennerichWhat:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown
575d802bf6fSMichael HennerichWhat:		/sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown
5768af2c75aSJonathan CameronKernelVersion:	2.6.38
5778af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
5788af2c75aSJonathan CameronDescription:
5798af2c75aSJonathan Cameron		Writing 1 causes output Y to enter the power down mode specified
5808b417d78SPeter Meerwald		by the corresponding outY_powerdown_mode. DAC output stage is
5818b417d78SPeter Meerwald		disconnected from the amplifier. Clearing returns to normal
5828b417d78SPeter Meerwald		operation. Y may be suppressed if all outputs are controlled
5838b417d78SPeter Meerwald		together.
5848af2c75aSJonathan Cameron
585d802bf6fSMichael HennerichWhat:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency
586d802bf6fSMichael HennerichKernelVersion:	3.4.0
587d802bf6fSMichael HennerichContact:	linux-iio@vger.kernel.org
588d802bf6fSMichael HennerichDescription:
589d802bf6fSMichael Hennerich		Output frequency for channel Y in Hz. The number must always be
590d802bf6fSMichael Hennerich		specified and unique if the output corresponds to a single
591d802bf6fSMichael Hennerich		channel.
592d802bf6fSMichael Hennerich
593d802bf6fSMichael HennerichWhat:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase
594d802bf6fSMichael HennerichKernelVersion:	3.4.0
595d802bf6fSMichael HennerichContact:	linux-iio@vger.kernel.org
596d802bf6fSMichael HennerichDescription:
597d802bf6fSMichael Hennerich		Phase in radians of one frequency/clock output Y
598d802bf6fSMichael Hennerich		(out_altvoltageY) relative to another frequency/clock output
599d802bf6fSMichael Hennerich		(out_altvoltageZ) of the device X. The number must always be
600d802bf6fSMichael Hennerich		specified and unique if the output corresponds to a single
601d802bf6fSMichael Hennerich		channel.
602d802bf6fSMichael Hennerich
6038af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/events
6048af2c75aSJonathan CameronKernelVersion:	2.6.35
6058af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
6068af2c75aSJonathan CameronDescription:
6078af2c75aSJonathan Cameron		Configuration of which hardware generated events are passed up
6088af2c75aSJonathan Cameron		to user-space.
6098af2c75aSJonathan Cameron
6108af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_x_thresh_rising_en
6118af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_x_thresh_falling_en
6128af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_y_thresh_rising_en
6138af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_y_thresh_falling_en
6148af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_z_thresh_rising_en
6158af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_z_thresh_falling_en
6168af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_anglvel_x_thresh_rising_en
6178af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_anglvel_x_thresh_falling_en
6188af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_anglvel_y_thresh_rising_en
6198af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_anglvel_y_thresh_falling_en
6208af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_anglvel_z_thresh_rising_en
6218af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_anglvel_z_thresh_falling_en
6228af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_magn_x_thresh_rising_en
6238af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_magn_x_thresh_falling_en
6248af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_magn_y_thresh_rising_en
6258af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_magn_y_thresh_falling_en
6268af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_magn_z_thresh_rising_en
6278af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_magn_z_thresh_falling_en
628b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_rising_en
629b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_falling_en
630b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_rising_en
631b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_falling_en
632b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_en
633b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_en
634b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_rising_en
635b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_falling_en
6368af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_voltageY_supply_thresh_rising_en
6378af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_voltageY_supply_thresh_falling_en
6388af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_voltageY_thresh_rising_en
6398af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_voltageY_thresh_falling_en
64072aa29ceSVladimir BarinovWhat:		/sys/.../iio:deviceX/events/in_voltageY_thresh_either_en
6418af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_tempY_thresh_rising_en
6428af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_tempY_thresh_falling_en
6438af2c75aSJonathan CameronKernelVersion:	2.6.37
6448af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
6458af2c75aSJonathan CameronDescription:
6468af2c75aSJonathan Cameron		Event generated when channel passes a threshold in the specified
6478af2c75aSJonathan Cameron		(_rising|_falling) direction. If the direction is not specified,
6488af2c75aSJonathan Cameron		then either the device will report an event which ever direction
6498af2c75aSJonathan Cameron		a single threshold value is passed in (e.g.
6508af2c75aSJonathan Cameron		<type>[Y][_name]_<raw|input>_thresh_value) or
6518af2c75aSJonathan Cameron		<type>[Y][_name]_<raw|input>_thresh_rising_value and
6528af2c75aSJonathan Cameron		<type>[Y][_name]_<raw|input>_thresh_falling_value may take
6538af2c75aSJonathan Cameron		different values, but the device can only enable both thresholds
6548af2c75aSJonathan Cameron		or neither.
6558af2c75aSJonathan Cameron		Note the driver will assume the last p events requested are
6568b417d78SPeter Meerwald		to be enabled where p is how many it supports (which may vary
6578b417d78SPeter Meerwald		depending on the exact set requested. So if you want to be
6588af2c75aSJonathan Cameron		sure you have set what you think you have, check the contents of
6598af2c75aSJonathan Cameron		these attributes after everything is configured. Drivers may
6608af2c75aSJonathan Cameron		have to buffer any parameters so that they are consistent when
6618b417d78SPeter Meerwald		a given event type is enabled at a future point (and not those for
6628af2c75aSJonathan Cameron		whatever event was previously enabled).
6638af2c75aSJonathan Cameron
6648af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_x_roc_rising_en
6658af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_x_roc_falling_en
6668af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_y_roc_rising_en
6678af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_y_roc_falling_en
6688af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_z_roc_rising_en
6698af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_z_roc_falling_en
6708af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_anglvel_x_roc_rising_en
6718af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_anglvel_x_roc_falling_en
6728af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_anglvel_y_roc_rising_en
6738af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_anglvel_y_roc_falling_en
6748af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_anglvel_z_roc_rising_en
6758af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_anglvel_z_roc_falling_en
6768af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_magn_x_roc_rising_en
6778af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_magn_x_roc_falling_en
6788af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_magn_y_roc_rising_en
6798af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_magn_y_roc_falling_en
6808af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_magn_z_roc_rising_en
6818af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_magn_z_roc_falling_en
682b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_rising_en
683b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_falling_en
684b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/events/in_rot_from_north_true_roc_rising_en
685b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/events/in_rot_from_north_true_roc_falling_en
686b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_rising_en
687b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_falling_en
688b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_rising_en
689b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_falling_en
6908af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_voltageY_supply_roc_rising_en
6918af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_voltageY_supply_roc_falling_en
6928af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_voltageY_roc_rising_en
6938af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_voltageY_roc_falling_en
6948af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_tempY_roc_rising_en
6958af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_tempY_roc_falling_en
6968af2c75aSJonathan CameronKernelVersion:	2.6.37
6978af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
6988af2c75aSJonathan CameronDescription:
6998af2c75aSJonathan Cameron		Event generated when channel passes a threshold on the rate of
7008af2c75aSJonathan Cameron		change (1st differential) in the specified (_rising|_falling)
7018af2c75aSJonathan Cameron		direction. If the direction is not specified, then either the
7028af2c75aSJonathan Cameron		device will report an event which ever direction a single
7038af2c75aSJonathan Cameron		threshold value is passed in (e.g.
7048af2c75aSJonathan Cameron		<type>[Y][_name]_<raw|input>_roc_value) or
7058af2c75aSJonathan Cameron		<type>[Y][_name]_<raw|input>_roc_rising_value and
7068af2c75aSJonathan Cameron		<type>[Y][_name]_<raw|input>_roc_falling_value may take
7078af2c75aSJonathan Cameron		different values, but the device can only enable both rate of
7088af2c75aSJonathan Cameron		change thresholds or neither.
7098af2c75aSJonathan Cameron		Note the driver will assume the last p events requested are
7108af2c75aSJonathan Cameron		to be enabled where p is however many it supports (which may
7118af2c75aSJonathan Cameron		vary depending on the exact set requested. So if you want to be
7128af2c75aSJonathan Cameron		sure you have set what you think you have, check the contents of
7138af2c75aSJonathan Cameron		these attributes after everything is configured. Drivers may
7148af2c75aSJonathan Cameron		have to buffer any parameters so that they are consistent when
7158af2c75aSJonathan Cameron		a given event type is enabled a future point (and not those for
7168af2c75aSJonathan Cameron		whatever event was previously enabled).
7178af2c75aSJonathan Cameron
71840dbbfb5SHaneen MohammedWhat:		/sys/.../events/in_accel_thresh_rising_value
71940dbbfb5SHaneen MohammedWhat:		/sys/.../events/in_accel_thresh_falling_value
7208af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_x_raw_thresh_rising_value
7218af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_x_raw_thresh_falling_value
7228af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_y_raw_thresh_rising_value
7238af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_y_raw_thresh_falling_value
7248af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_z_raw_thresh_rising_value
7258af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_z_raw_thresh_falling_value
7268af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_x_raw_thresh_rising_value
7278af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_x_raw_thresh_falling_value
7288af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_y_raw_thresh_rising_value
7298af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_y_raw_thresh_falling_value
7308af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_z_raw_thresh_rising_value
7318af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_z_raw_thresh_falling_value
7328af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_x_raw_thresh_rising_value
7338af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_x_raw_thresh_falling_value
7348af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_y_raw_thresh_rising_value
7358af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_y_raw_thresh_falling_value
7368af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_z_raw_thresh_rising_value
7378af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_z_raw_thresh_falling_value
738b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_raw_thresh_rising_value
739b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_raw_thresh_falling_value
740b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_raw_thresh_rising_value
741b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_raw_thresh_falling_value
742b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_rising_value
743b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_falling_value
744b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_rising_value
745b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_falling_value
7468af2c75aSJonathan CameronWhat:		/sys/.../events/in_voltageY_supply_raw_thresh_rising_value
7478af2c75aSJonathan CameronWhat:		/sys/.../events/in_voltageY_supply_raw_thresh_falling_value
7488af2c75aSJonathan CameronWhat:		/sys/.../events/in_voltageY_raw_thresh_rising_value
7498af2c75aSJonathan CameronWhat:		/sys/.../events/in_voltageY_raw_thresh_falling_value
7508af2c75aSJonathan CameronWhat:		/sys/.../events/in_tempY_raw_thresh_rising_value
7518af2c75aSJonathan CameronWhat:		/sys/.../events/in_tempY_raw_thresh_falling_value
7528af2c75aSJonathan CameronWhat:		/sys/.../events/in_illuminance0_thresh_falling_value
7538af2c75aSJonathan Cameronwhat:		/sys/.../events/in_illuminance0_thresh_rising_value
7548af2c75aSJonathan Cameronwhat:		/sys/.../events/in_proximity0_thresh_falling_value
7558af2c75aSJonathan Cameronwhat:		/sys/.../events/in_proximity0_thresh_rising_value
75656a8e683SRishi GuptaWhat:		/sys/.../events/in_illuminance_thresh_rising_value
75756a8e683SRishi GuptaWhat:		/sys/.../events/in_illuminance_thresh_falling_value
7588af2c75aSJonathan CameronKernelVersion:	2.6.37
7598af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
7608af2c75aSJonathan CameronDescription:
7618af2c75aSJonathan Cameron		Specifies the value of threshold that the device is comparing
7628af2c75aSJonathan Cameron		against for the events enabled by
7638af2c75aSJonathan Cameron		<type>Y[_name]_thresh[_rising|falling]_en.
7648af2c75aSJonathan Cameron		If separate attributes exist for the two directions, but
7658af2c75aSJonathan Cameron		direction is not specified for this attribute, then a single
7668af2c75aSJonathan Cameron		threshold value applies to both directions.
7678af2c75aSJonathan Cameron		The raw or input element of the name indicates whether the
7688af2c75aSJonathan Cameron		value is in raw device units or in processed units (as _raw
7698af2c75aSJonathan Cameron		and _input do on sysfs direct channel read attributes).
7708af2c75aSJonathan Cameron
771d1bd4867SMartin FuzzeyWhat:		/sys/.../events/in_accel_scale
772d1bd4867SMartin FuzzeyWhat:		/sys/.../events/in_accel_peak_scale
773d1bd4867SMartin FuzzeyWhat:		/sys/.../events/in_anglvel_scale
774d1bd4867SMartin FuzzeyWhat:		/sys/.../events/in_magn_scale
775d1bd4867SMartin FuzzeyWhat:		/sys/.../events/in_rot_from_north_magnetic_scale
776d1bd4867SMartin FuzzeyWhat:		/sys/.../events/in_rot_from_north_true_scale
777d1bd4867SMartin FuzzeyWhat:		/sys/.../events/in_voltage_scale
778d1bd4867SMartin FuzzeyWhat:		/sys/.../events/in_voltage_supply_scale
779d1bd4867SMartin FuzzeyWhat:		/sys/.../events/in_temp_scale
780d1bd4867SMartin FuzzeyWhat:		/sys/.../events/in_illuminance_scale
781d1bd4867SMartin FuzzeyWhat:		/sys/.../events/in_proximity_scale
782d1bd4867SMartin FuzzeyKernelVersion:	3.21
783d1bd4867SMartin FuzzeyContact:	linux-iio@vger.kernel.org
784d1bd4867SMartin FuzzeyDescription:
785d1bd4867SMartin Fuzzey                Specifies the conversion factor from the standard units
786d1bd4867SMartin Fuzzey                to device specific units used to set the event trigger
787d1bd4867SMartin Fuzzey                threshold.
788d1bd4867SMartin Fuzzey
789ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_accel_x_thresh_rising_hysteresis
790ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_accel_x_thresh_falling_hysteresis
791ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_accel_x_thresh_either_hysteresis
792ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_accel_y_thresh_rising_hysteresis
793ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_accel_y_thresh_falling_hysteresis
794ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_accel_y_thresh_either_hysteresis
795ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_accel_z_thresh_rising_hysteresis
796ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_accel_z_thresh_falling_hysteresis
797ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_accel_z_thresh_either_hysteresis
798ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_anglvel_x_thresh_rising_hysteresis
799ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_anglvel_x_thresh_falling_hysteresis
800ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_anglvel_x_thresh_either_hysteresis
801ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_anglvel_y_thresh_rising_hysteresis
802ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_anglvel_y_thresh_falling_hysteresis
803ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_anglvel_y_thresh_either_hysteresis
804ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_anglvel_z_thresh_rising_hysteresis
805ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_anglvel_z_thresh_falling_hysteresis
806ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_anglvel_z_thresh_either_hysteresis
807ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_magn_x_thresh_rising_hysteresis
808ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_magn_x_thresh_falling_hysteresis
809ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_magn_x_thresh_either_hysteresis
810ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_magn_y_thresh_rising_hysteresis
811ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_magn_y_thresh_falling_hysteresis
812ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_magn_y_thresh_either_hysteresis
813ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_magn_z_thresh_rising_hysteresis
814ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_magn_z_thresh_falling_hysteresis
815ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_magn_z_thresh_either_hysteresis
816b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_thresh_rising_hysteresis
817b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_thresh_falling_hysteresis
818b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_thresh_either_hysteresis
819b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_thresh_rising_hysteresis
820b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_thresh_falling_hysteresis
821b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_thresh_either_hysteresis
822b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_hysteresis
823b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_hysteresis
824b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_either_hysteresis
825b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_hysteresis
826b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_hysteresis
827b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_tilt_comp_thresh_either_hysteresis
828ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_voltageY_thresh_rising_hysteresis
829ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_voltageY_thresh_falling_hysteresis
830ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_voltageY_thresh_either_hysteresis
831ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_tempY_thresh_rising_hysteresis
832ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_tempY_thresh_falling_hysteresis
833ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_tempY_thresh_either_hysteresis
834ec6670aeSLars-Peter ClausenWhat:		/sys/.../events/in_illuminance0_thresh_falling_hysteresis
835ec6670aeSLars-Peter Clausenwhat:		/sys/.../events/in_illuminance0_thresh_rising_hysteresis
836ec6670aeSLars-Peter Clausenwhat:		/sys/.../events/in_illuminance0_thresh_either_hysteresis
837ec6670aeSLars-Peter Clausenwhat:		/sys/.../events/in_proximity0_thresh_falling_hysteresis
838ec6670aeSLars-Peter Clausenwhat:		/sys/.../events/in_proximity0_thresh_rising_hysteresis
839ec6670aeSLars-Peter Clausenwhat:		/sys/.../events/in_proximity0_thresh_either_hysteresis
840ec6670aeSLars-Peter ClausenKernelVersion:	3.13
841ec6670aeSLars-Peter ClausenContact:	linux-iio@vger.kernel.org
842ec6670aeSLars-Peter ClausenDescription:
843ec6670aeSLars-Peter Clausen		Specifies the hysteresis of threshold that the device is comparing
844ec6670aeSLars-Peter Clausen		against for the events enabled by
845ec6670aeSLars-Peter Clausen		<type>Y[_name]_thresh[_(rising|falling)]_hysteresis.
846ec6670aeSLars-Peter Clausen		If separate attributes exist for the two directions, but
847ec6670aeSLars-Peter Clausen		direction is not specified for this attribute, then a single
848ec6670aeSLars-Peter Clausen		hysteresis value applies to both directions.
849ec6670aeSLars-Peter Clausen		For falling events the hysteresis is added to the _value attribute for
850ec6670aeSLars-Peter Clausen		this event to get the upper threshold for when the event goes back to
851ec6670aeSLars-Peter Clausen		normal, for rising events the hysteresis is subtracted from the _value
852ec6670aeSLars-Peter Clausen		attribute. E.g. if in_voltage0_raw_thresh_rising_value is set to 1200
853ec6670aeSLars-Peter Clausen		and in_voltage0_raw_thresh_rising_hysteresis is set to 50. The event
854ec6670aeSLars-Peter Clausen		will get activated once in_voltage0_raw goes above 1200 and will become
855f792e350SColin Ian King		deactivated again once the value falls below 1150.
856ec6670aeSLars-Peter Clausen
8578af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_x_raw_roc_rising_value
8588af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_x_raw_roc_falling_value
8598af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_y_raw_roc_rising_value
8608af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_y_raw_roc_falling_value
8618af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_z_raw_roc_rising_value
8628af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_z_raw_roc_falling_value
8638af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_x_raw_roc_rising_value
8648af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_x_raw_roc_falling_value
8658af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_y_raw_roc_rising_value
8668af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_y_raw_roc_falling_value
8678af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_z_raw_roc_rising_value
8688af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_z_raw_roc_falling_value
8698af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_x_raw_roc_rising_value
8708af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_x_raw_roc_falling_value
8718af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_y_raw_roc_rising_value
8728af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_y_raw_roc_falling_value
8738af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_z_raw_roc_rising_value
8748af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_z_raw_roc_falling_value
875b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_raw_roc_rising_value
876b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_raw_roc_falling_value
877b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_raw_roc_rising_value
878b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_raw_roc_falling_value
879b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_rising_value
880b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_falling_value
881b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_rising_value
882b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_falling_value
8838af2c75aSJonathan CameronWhat:		/sys/.../events/in_voltageY_supply_raw_roc_rising_value
8848af2c75aSJonathan CameronWhat:		/sys/.../events/in_voltageY_supply_raw_roc_falling_value
8858af2c75aSJonathan CameronWhat:		/sys/.../events/in_voltageY_raw_roc_rising_value
8868af2c75aSJonathan CameronWhat:		/sys/.../events/in_voltageY_raw_roc_falling_value
8878af2c75aSJonathan CameronWhat:		/sys/.../events/in_tempY_raw_roc_rising_value
8888af2c75aSJonathan CameronWhat:		/sys/.../events/in_tempY_raw_roc_falling_value
8898af2c75aSJonathan CameronKernelVersion:	2.6.37
8908af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
8918af2c75aSJonathan CameronDescription:
8928af2c75aSJonathan Cameron		Specifies the value of rate of change threshold that the
8938af2c75aSJonathan Cameron		device is comparing against for the events enabled by
8948af2c75aSJonathan Cameron		<type>[Y][_name]_roc[_rising|falling]_en.
8958af2c75aSJonathan Cameron		If separate attributes exist for the two directions,
8968af2c75aSJonathan Cameron		but direction is not specified for this attribute,
8978af2c75aSJonathan Cameron		then a single threshold value applies to both directions.
8988af2c75aSJonathan Cameron		The raw or input element of the name indicates whether the
8998af2c75aSJonathan Cameron		value is in raw device units or in processed units (as _raw
9008af2c75aSJonathan Cameron		and _input do on sysfs direct channel read attributes).
9018af2c75aSJonathan Cameron
9028af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_x_thresh_rising_period
9038af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_x_thresh_falling_period
9045798cd23SMartin KepplingerWhat:		/sys/.../events/in_accel_x_roc_rising_period
9058af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_x_roc_falling_period
9068af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_y_thresh_rising_period
9078af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_y_thresh_falling_period
9088af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_y_roc_rising_period
9098af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_y_roc_falling_period
9108af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_z_thresh_rising_period
9118af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_z_thresh_falling_period
9128af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_z_roc_rising_period
9138af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_z_roc_falling_period
9148af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_x_thresh_rising_period
9158af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_x_thresh_falling_period
9168af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_x_roc_rising_period
9178af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_x_roc_falling_period
9188af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_y_thresh_rising_period
9198af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_y_thresh_falling_period
9208af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_y_roc_rising_period
9218af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_y_roc_falling_period
9228af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_z_thresh_rising_period
9238af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_z_thresh_falling_period
9248af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_z_roc_rising_period
9258af2c75aSJonathan CameronWhat:		/sys/.../events/in_anglvel_z_roc_falling_period
9268af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_x_thresh_rising_period
9278af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_x_thresh_falling_period
9288af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_x_roc_rising_period
9298af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_x_roc_falling_period
9308af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_y_thresh_rising_period
9318af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_y_thresh_falling_period
9328af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_y_roc_rising_period
9338af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_y_roc_falling_period
9348af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_z_thresh_rising_period
9358af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_z_thresh_falling_period
9368af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_z_roc_rising_period
9378af2c75aSJonathan CameronWhat:		/sys/.../events/in_magn_z_roc_falling_period
938b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_thresh_rising_period
939b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_thresh_falling_period
940b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_roc_rising_period
941b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_roc_falling_period
942b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_thresh_rising_period
943b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_thresh_falling_period
944b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_roc_rising_period
945b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_roc_falling_period
946b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_period
947b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_period
948b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_rising_period
949b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_falling_period
950b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_period
951b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_period
952b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_tilt_comp_roc_rising_period
953b531db84SReyad AttiyatWhat:		/sys/.../events/in_rot_from_north_true_tilt_comp_roc_falling_period
9548af2c75aSJonathan CameronWhat:		/sys/.../events/in_voltageY_supply_thresh_rising_period
9558af2c75aSJonathan CameronWhat:		/sys/.../events/in_voltageY_supply_thresh_falling_period
9568af2c75aSJonathan CameronWhat:		/sys/.../events/in_voltageY_supply_roc_rising_period
9578af2c75aSJonathan CameronWhat:		/sys/.../events/in_voltageY_supply_roc_falling_period
9588af2c75aSJonathan CameronWhat:		/sys/.../events/in_voltageY_thresh_rising_period
9598af2c75aSJonathan CameronWhat:		/sys/.../events/in_voltageY_thresh_falling_period
9608af2c75aSJonathan CameronWhat:		/sys/.../events/in_voltageY_roc_rising_period
9618af2c75aSJonathan CameronWhat:		/sys/.../events/in_voltageY_roc_falling_period
9628af2c75aSJonathan CameronWhat:		/sys/.../events/in_tempY_thresh_rising_period
9638af2c75aSJonathan CameronWhat:		/sys/.../events/in_tempY_thresh_falling_period
9648af2c75aSJonathan CameronWhat:		/sys/.../events/in_tempY_roc_rising_period
9658af2c75aSJonathan CameronWhat:		/sys/.../events/in_tempY_roc_falling_period
9668af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_x&y&z_mag_falling_period
9678af2c75aSJonathan CameronWhat:		/sys/.../events/in_intensity0_thresh_period
9688af2c75aSJonathan CameronWhat:		/sys/.../events/in_proximity0_thresh_period
96940cb7613SIrina TirdeaWhat:		/sys/.../events/in_activity_still_thresh_rising_period
97040cb7613SIrina TirdeaWhat:		/sys/.../events/in_activity_still_thresh_falling_period
97140cb7613SIrina TirdeaWhat:		/sys/.../events/in_activity_walking_thresh_rising_period
97240cb7613SIrina TirdeaWhat:		/sys/.../events/in_activity_walking_thresh_falling_period
97340cb7613SIrina TirdeaWhat:		/sys/.../events/in_activity_jogging_thresh_rising_period
97440cb7613SIrina TirdeaWhat:		/sys/.../events/in_activity_jogging_thresh_falling_period
97540cb7613SIrina TirdeaWhat:		/sys/.../events/in_activity_running_thresh_rising_period
97640cb7613SIrina TirdeaWhat:		/sys/.../events/in_activity_running_thresh_falling_period
97756a8e683SRishi GuptaWhat:		/sys/.../events/in_illuminance_thresh_either_period
9788af2c75aSJonathan CameronKernelVersion:	2.6.37
9798af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
9808af2c75aSJonathan CameronDescription:
9818af2c75aSJonathan Cameron		Period of time (in seconds) for which the condition must be
9828af2c75aSJonathan Cameron		met before an event is generated. If direction is not
9838af2c75aSJonathan Cameron		specified then this period applies to both directions.
9848af2c75aSJonathan Cameron
9853f7f642bSMartin FuzzeyWhat:		/sys/.../events/in_accel_thresh_rising_low_pass_filter_3db
9863f7f642bSMartin FuzzeyWhat:		/sys/.../events/in_anglvel_thresh_rising_low_pass_filter_3db
9873f7f642bSMartin FuzzeyWhat:		/sys/.../events/in_magn_thresh_rising_low_pass_filter_3db
9883f7f642bSMartin FuzzeyKernelVersion:	4.2
9893f7f642bSMartin FuzzeyContact:	linux-iio@vger.kernel.org
9903f7f642bSMartin FuzzeyDescription:
9913f7f642bSMartin Fuzzey		If a low pass filter can be applied to the event generation
9923f7f642bSMartin Fuzzey		this property gives its 3db frequency in Hz.
9933f7f642bSMartin Fuzzey		A value of zero disables the filter.
9943f7f642bSMartin Fuzzey
9953f7f642bSMartin FuzzeyWhat:		/sys/.../events/in_accel_thresh_rising_high_pass_filter_3db
9963f7f642bSMartin FuzzeyWhat:		/sys/.../events/in_anglvel_thresh_rising_high_pass_filter_3db
9973f7f642bSMartin FuzzeyWhat:		/sys/.../events/in_magn_thresh_rising_high_pass_filter_3db
9983f7f642bSMartin FuzzeyKernelVersion:	4.2
9993f7f642bSMartin FuzzeyContact:	linux-iio@vger.kernel.org
10003f7f642bSMartin FuzzeyDescription:
10013f7f642bSMartin Fuzzey		If a high pass filter can be applied to the event generation
10023f7f642bSMartin Fuzzey		this property gives its 3db frequency in Hz.
10033f7f642bSMartin Fuzzey		A value of zero disables the filter.
10043f7f642bSMartin Fuzzey
100555aebeb9SDaniel BalutaWhat:		/sys/.../events/in_activity_still_thresh_rising_en
100655aebeb9SDaniel BalutaWhat:		/sys/.../events/in_activity_still_thresh_falling_en
100755aebeb9SDaniel BalutaWhat:		/sys/.../events/in_activity_walking_thresh_rising_en
100855aebeb9SDaniel BalutaWhat:		/sys/.../events/in_activity_walking_thresh_falling_en
100955aebeb9SDaniel BalutaWhat:		/sys/.../events/in_activity_jogging_thresh_rising_en
101055aebeb9SDaniel BalutaWhat:		/sys/.../events/in_activity_jogging_thresh_falling_en
101155aebeb9SDaniel BalutaWhat:		/sys/.../events/in_activity_running_thresh_rising_en
101255aebeb9SDaniel BalutaWhat:		/sys/.../events/in_activity_running_thresh_falling_en
101355aebeb9SDaniel BalutaKernelVersion:	3.19
101455aebeb9SDaniel BalutaContact:	linux-iio@vger.kernel.org
101555aebeb9SDaniel BalutaDescription:
101655aebeb9SDaniel Baluta		Enables or disables activitity events. Depending on direction
101755aebeb9SDaniel Baluta		an event is generated when sensor ENTERS or LEAVES a given state.
101855aebeb9SDaniel Baluta
101955aebeb9SDaniel BalutaWhat:		/sys/.../events/in_activity_still_thresh_rising_value
102055aebeb9SDaniel BalutaWhat:		/sys/.../events/in_activity_still_thresh_falling_value
102155aebeb9SDaniel BalutaWhat:		/sys/.../events/in_activity_walking_thresh_rising_value
102255aebeb9SDaniel BalutaWhat:		/sys/.../events/in_activity_walking_thresh_falling_value
102355aebeb9SDaniel BalutaWhat:		/sys/.../events/in_activity_jogging_thresh_rising_value
102455aebeb9SDaniel BalutaWhat:		/sys/.../events/in_activity_jogging_thresh_falling_value
102555aebeb9SDaniel BalutaWhat:		/sys/.../events/in_activity_running_thresh_rising_value
102655aebeb9SDaniel BalutaWhat:		/sys/.../events/in_activity_running_thresh_falling_value
102755aebeb9SDaniel BalutaKernelVersion:	3.19
102855aebeb9SDaniel BalutaContact:	linux-iio@vger.kernel.org
102955aebeb9SDaniel BalutaDescription:
103055aebeb9SDaniel Baluta		Confidence value (in units as percentage) to be used
103155aebeb9SDaniel Baluta		for deciding when an event should be generated. E.g for
103255aebeb9SDaniel Baluta		running: If the confidence value reported by the sensor
103355aebeb9SDaniel Baluta		is greater than in_activity_running_thresh_rising_value
103455aebeb9SDaniel Baluta		then the sensor ENTERS running state. Conversely, if the
103555aebeb9SDaniel Baluta		confidence value reported by the sensor is lower than
103655aebeb9SDaniel Baluta		in_activity_running_thresh_falling_value then the sensor
103755aebeb9SDaniel Baluta		is LEAVING running state.
103855aebeb9SDaniel Baluta
10398af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_mag_en
10408af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_mag_rising_en
10418af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_mag_falling_en
10428af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_x_mag_en
10438af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_x_mag_rising_en
10448af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_x_mag_falling_en
10458af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_y_mag_en
10468af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_y_mag_rising_en
10478af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_y_mag_falling_en
10488af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_z_mag_en
10498af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_z_mag_rising_en
10508af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_z_mag_falling_en
10518af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_x&y&z_mag_rising_en
10528af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/events/in_accel_x&y&z_mag_falling_en
10538af2c75aSJonathan CameronKernelVersion:	2.6.37
10548af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
10558af2c75aSJonathan CameronDescription:
10568af2c75aSJonathan Cameron		Similar to in_accel_x_thresh[_rising|_falling]_en, but here the
10578af2c75aSJonathan Cameron		magnitude of the channel is compared to the threshold, not its
10588af2c75aSJonathan Cameron		signed value.
10598af2c75aSJonathan Cameron
10608af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_raw_mag_value
10618af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_x_raw_mag_rising_value
10628af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_y_raw_mag_rising_value
10638af2c75aSJonathan CameronWhat:		/sys/.../events/in_accel_z_raw_mag_rising_value
10648af2c75aSJonathan CameronKernelVersion:	2.6.37
10658af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
10668af2c75aSJonathan CameronDescription:
10678af2c75aSJonathan Cameron		The value to which the magnitude of the channel is compared. If
10688af2c75aSJonathan Cameron		number or direction is not specified, applies to all channels of
10698af2c75aSJonathan Cameron		this type.
10708af2c75aSJonathan Cameron
107127be8423SIrina TirdeaWhat:		/sys/.../events/in_steps_change_en
1072e0631a31SIrina TirdeaKernelVersion:	4.0
1073a88bfe78SIrina TirdeaContact:	linux-iio@vger.kernel.org
1074a88bfe78SIrina TirdeaDescription:
107527be8423SIrina Tirdea		Event generated when channel passes a threshold on the absolute
107627be8423SIrina Tirdea		change in value. E.g. for steps: a step change event is
107727be8423SIrina Tirdea		generated each time the user takes N steps, where N is set using
107827be8423SIrina Tirdea		in_steps_change_value.
107927be8423SIrina Tirdea
108027be8423SIrina TirdeaWhat:		/sys/.../events/in_steps_change_value
1081e0631a31SIrina TirdeaKernelVersion:	4.0
108227be8423SIrina TirdeaContact:	linux-iio@vger.kernel.org
108327be8423SIrina TirdeaDescription:
108427be8423SIrina Tirdea		Specifies the value of change threshold that the
108527be8423SIrina Tirdea		device is comparing against for the events enabled by
108627be8423SIrina Tirdea		<type>[Y][_name]_roc[_rising|falling|]_en. E.g. for steps:
108727be8423SIrina Tirdea		if set to 3, a step change event will be generated every 3
108827be8423SIrina Tirdea		steps.
1089a88bfe78SIrina Tirdea
10908af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/trigger/current_trigger
10918af2c75aSJonathan CameronKernelVersion:	2.6.35
10928af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
10938af2c75aSJonathan CameronDescription:
10948af2c75aSJonathan Cameron		The name of the trigger source being used, as per string given
10958af2c75aSJonathan Cameron		in /sys/class/iio/triggerY/name.
10968af2c75aSJonathan Cameron
10978af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/buffer/length
10988af2c75aSJonathan CameronKernelVersion:	2.6.35
10998af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
11008af2c75aSJonathan CameronDescription:
11018af2c75aSJonathan Cameron		Number of scans contained by the buffer.
11028af2c75aSJonathan Cameron
11038af2c75aSJonathan CameronWhat:		/sys/bus/iio/devices/iio:deviceX/buffer/enable
11048af2c75aSJonathan CameronKernelVersion:	2.6.35
11058af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
11068af2c75aSJonathan CameronDescription:
11078af2c75aSJonathan Cameron		Actually start the buffer capture up.  Will start trigger
11088af2c75aSJonathan Cameron		if first device and appropriate.
11098af2c75aSJonathan Cameron
1110ab52a958SAlexandre RelangeWhat:		/sys/bus/iio/devices/iio:deviceX/scan_elements
11118af2c75aSJonathan CameronKernelVersion:	2.6.37
11128af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
11138af2c75aSJonathan CameronDescription:
11148af2c75aSJonathan Cameron		Directory containing interfaces for elements that will be
11158af2c75aSJonathan Cameron		captured for a single triggered sample set in the buffer.
11168af2c75aSJonathan Cameron
1117ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_accel_x_en
1118ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_accel_y_en
1119ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_accel_z_en
1120ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_anglvel_x_en
1121ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_anglvel_y_en
1122ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_anglvel_z_en
1123ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_magn_x_en
1124ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_magn_y_en
1125ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_magn_z_en
1126b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_en
1127b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_en
1128b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_tilt_comp_en
1129b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_tilt_comp_en
1130ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_timestamp_en
1131ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_voltageY_supply_en
1132ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_voltageY_en
1133ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_voltageY-voltageZ_en
11341ce87f21SLars-Peter ClausenWhat:		/sys/.../iio:deviceX/scan_elements/in_voltageY_i_en
11351ce87f21SLars-Peter ClausenWhat:		/sys/.../iio:deviceX/scan_elements/in_voltageY_q_en
11361ce87f21SLars-Peter ClausenWhat:		/sys/.../iio:deviceX/scan_elements/in_voltage_i_en
11371ce87f21SLars-Peter ClausenWhat:		/sys/.../iio:deviceX/scan_elements/in_voltage_q_en
1138ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_incli_x_en
1139ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_incli_y_en
1140ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_pressureY_en
1141ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_pressure_en
1142b4a2d475SSrinivas PandruvadaWhat:		/sys/.../iio:deviceX/scan_elements/in_rot_quaternion_en
11431fad034cSHaneen MohammedWhat:		/sys/.../iio:deviceX/scan_elements/in_proximity_en
11448af2c75aSJonathan CameronKernelVersion:	2.6.37
11458af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
11468af2c75aSJonathan CameronDescription:
11478af2c75aSJonathan Cameron		Scan element control for triggered data capture.
11488af2c75aSJonathan Cameron
1149ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_accel_type
1150ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_anglvel_type
1151ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_magn_type
1152ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_incli_type
1153ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_voltageY_type
1154ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_voltage_type
1155ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_voltageY_supply_type
11561ce87f21SLars-Peter ClausenWhat:		/sys/.../iio:deviceX/scan_elements/in_voltageY_i_type
11571ce87f21SLars-Peter ClausenWhat:		/sys/.../iio:deviceX/scan_elements/in_voltageY_q_type
11581ce87f21SLars-Peter ClausenWhat:		/sys/.../iio:deviceX/scan_elements/in_voltage_i_type
11591ce87f21SLars-Peter ClausenWhat:		/sys/.../iio:deviceX/scan_elements/in_voltage_q_type
1160ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_timestamp_type
1161ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_pressureY_type
1162ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_pressure_type
1163b4a2d475SSrinivas PandruvadaWhat:		/sys/.../iio:deviceX/scan_elements/in_rot_quaternion_type
11641fad034cSHaneen MohammedWhat:		/sys/.../iio:deviceX/scan_elements/in_proximity_type
11658af2c75aSJonathan CameronKernelVersion:	2.6.37
11668af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
11678af2c75aSJonathan CameronDescription:
11688af2c75aSJonathan Cameron		Description of the scan element data storage within the buffer
11698af2c75aSJonathan Cameron		and hence the form in which it is read from user-space.
11708af2c75aSJonathan Cameron		Form is [be|le]:[s|u]bits/storagebits[>>shift].
11718af2c75aSJonathan Cameron		be or le specifies big or little endian. s or u specifies if
11728af2c75aSJonathan Cameron		signed (2's complement) or unsigned. bits is the number of bits
11738af2c75aSJonathan Cameron		of data and storagebits is the space (after padding) that it
11748af2c75aSJonathan Cameron		occupies in the buffer. shift if specified, is the shift that
11758af2c75aSJonathan Cameron		needs to be applied prior to masking out unused bits. Some
11768af2c75aSJonathan Cameron		devices put their data in the middle of the transferred elements
11778af2c75aSJonathan Cameron		with additional information on both sides.  Note that some
11788af2c75aSJonathan Cameron		devices will have additional information in the unused bits
11798af2c75aSJonathan Cameron		so to get a clean value, the bits value must be used to mask
11808af2c75aSJonathan Cameron		the buffer output value appropriately.  The storagebits value
11818af2c75aSJonathan Cameron		also specifies the data alignment.  So s48/64>>2 will be a
11828af2c75aSJonathan Cameron		signed 48 bit integer stored in a 64 bit location aligned to
11838b417d78SPeter Meerwald		a 64 bit boundary. To obtain the clean value, shift right 2
11848af2c75aSJonathan Cameron		and apply a mask to zero the top 16 bits of the result.
11858af2c75aSJonathan Cameron		For other storage combinations this attribute will be extended
11868af2c75aSJonathan Cameron		appropriately.
11878af2c75aSJonathan Cameron
1188ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_accel_type_available
11898af2c75aSJonathan CameronKernelVersion:	2.6.37
11908af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
11918af2c75aSJonathan CameronDescription:
11928af2c75aSJonathan Cameron		If the type parameter can take one of a small set of values,
11938af2c75aSJonathan Cameron		this attribute lists them.
11948af2c75aSJonathan Cameron
1195ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_voltageY_index
1196ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_voltageY_supply_index
11971ce87f21SLars-Peter ClausenWhat:		/sys/.../iio:deviceX/scan_elements/in_voltageY_i_index
11981ce87f21SLars-Peter ClausenWhat:		/sys/.../iio:deviceX/scan_elements/in_voltageY_q_index
11991ce87f21SLars-Peter ClausenWhat:		/sys/.../iio:deviceX/scan_elements/in_voltage_i_index
12001ce87f21SLars-Peter ClausenWhat:		/sys/.../iio:deviceX/scan_elements/in_voltage_q_index
1201ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_accel_x_index
1202ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_accel_y_index
1203ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_accel_z_index
1204ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_anglvel_x_index
1205ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_anglvel_y_index
1206ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_anglvel_z_index
1207ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_magn_x_index
1208ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_magn_y_index
1209ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_magn_z_index
1210b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_index
1211b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_index
1212b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_tilt_comp_index
1213b531db84SReyad AttiyatWhat:		/sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_tilt_comp_index
1214ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_incli_x_index
1215ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_incli_y_index
1216ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_timestamp_index
1217ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_pressureY_index
1218ab52a958SAlexandre RelangeWhat:		/sys/.../iio:deviceX/scan_elements/in_pressure_index
1219b4a2d475SSrinivas PandruvadaWhat:		/sys/.../iio:deviceX/scan_elements/in_rot_quaternion_index
12201fad034cSHaneen MohammedWhat:		/sys/.../iio:deviceX/scan_elements/in_proximity_index
12218af2c75aSJonathan CameronKernelVersion:	2.6.37
12228af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
12238af2c75aSJonathan CameronDescription:
12248af2c75aSJonathan Cameron		A single positive integer specifying the position of this
12258af2c75aSJonathan Cameron		scan element in the buffer. Note these are not dependent on
12268af2c75aSJonathan Cameron		what is enabled and may not be contiguous. Thus for user-space
12278af2c75aSJonathan Cameron		to establish the full layout these must be used in conjunction
12288af2c75aSJonathan Cameron		with all _en attributes to establish which channels are present,
12298af2c75aSJonathan Cameron		and the relevant _type attributes to establish the data storage
12308af2c75aSJonathan Cameron		format.
12318af2c75aSJonathan Cameron
123255aebeb9SDaniel BalutaWhat:		/sys/.../iio:deviceX/in_activity_still_input
123355aebeb9SDaniel BalutaWhat:		/sys/.../iio:deviceX/in_activity_walking_input
123455aebeb9SDaniel BalutaWhat:		/sys/.../iio:deviceX/in_activity_jogging_input
123555aebeb9SDaniel BalutaWhat:		/sys/.../iio:deviceX/in_activity_running_input
123655aebeb9SDaniel BalutaKernelVersion:	3.19
123755aebeb9SDaniel BalutaContact:	linux-iio@vger.kernel.org
123855aebeb9SDaniel BalutaDescription:
123955aebeb9SDaniel Baluta		This attribute is used to read the confidence for an activity
124055aebeb9SDaniel Baluta		expressed in units as percentage.
124155aebeb9SDaniel Baluta
12428af2c75aSJonathan CameronWhat:		/sys/.../iio:deviceX/in_anglvel_z_quadrature_correction_raw
12438af2c75aSJonathan CameronKernelVersion:	2.6.38
12448af2c75aSJonathan CameronContact:	linux-iio@vger.kernel.org
12458af2c75aSJonathan CameronDescription:
12468af2c75aSJonathan Cameron		This attribute is used to read the amount of quadrature error
12478af2c75aSJonathan Cameron		present in the device at a given time.
1248f7883d12SPeter Meerwald
124963fa65d3SOleksandr KravchenkoWhat:		/sys/.../iio:deviceX/in_accelX_power_mode
125063fa65d3SOleksandr KravchenkoKernelVersion:	3.11
125163fa65d3SOleksandr KravchenkoContact:	linux-iio@vger.kernel.org
125263fa65d3SOleksandr KravchenkoDescription:
125363fa65d3SOleksandr Kravchenko		Specifies the chip power mode.
125463fa65d3SOleksandr Kravchenko		low_noise: reduce noise level from ADC,
125563fa65d3SOleksandr Kravchenko		low_power: enable low current consumption.
125663fa65d3SOleksandr Kravchenko		For a list of available output power modes read
125763fa65d3SOleksandr Kravchenko		in_accel_power_mode_available.
125863fa65d3SOleksandr Kravchenko
125972c66644SIrina TirdeaWhat:		/sys/.../iio:deviceX/in_energy_input
126072c66644SIrina TirdeaWhat:		/sys/.../iio:deviceX/in_energy_raw
1261e0631a31SIrina TirdeaKernelVersion:	4.0
126272c66644SIrina TirdeaContact:	linux-iio@vger.kernel.org
126372c66644SIrina TirdeaDescription:
126472c66644SIrina Tirdea		This attribute is used to read the energy value reported by the
126572c66644SIrina Tirdea		device (e.g.: human activity sensors report energy burnt by the
126672c66644SIrina Tirdea		user). Units after application of scale are Joules.
126772c66644SIrina Tirdea
1268cc3c9eecSIrina TirdeaWhat:		/sys/.../iio:deviceX/in_distance_input
1269cc3c9eecSIrina TirdeaWhat:		/sys/.../iio:deviceX/in_distance_raw
1270e0631a31SIrina TirdeaKernelVersion:	4.0
1271cc3c9eecSIrina TirdeaContact:	linux-iio@vger.kernel.org
1272cc3c9eecSIrina TirdeaDescription:
1273d35d43d7SPeter Meerwald-Stadler		This attribute is used to read the measured distance to an object
1274d35d43d7SPeter Meerwald-Stadler		or the distance covered by the user since the last reboot while
1275d35d43d7SPeter Meerwald-Stadler		activated. Units after application of scale are meters.
1276cc3c9eecSIrina Tirdea
1277f7883d12SPeter MeerwaldWhat:		/sys/bus/iio/devices/iio:deviceX/store_eeprom
1278f7883d12SPeter MeerwaldKernelVersion:	3.4.0
1279f7883d12SPeter MeerwaldContact:	linux-iio@vger.kernel.org
1280f7883d12SPeter MeerwaldDescription:
1281f7883d12SPeter Meerwald		Writing '1' stores the current device configuration into
1282f7883d12SPeter Meerwald		on-chip EEPROM. After power-up or chip reset the device will
1283f7883d12SPeter Meerwald		automatically load the saved configuration.
1284899d90bdSPeter Meerwald
12856c0690ecSPeter MeerwaldWhat:		/sys/.../iio:deviceX/in_proximity_raw
12866c0690ecSPeter MeerwaldWhat:		/sys/.../iio:deviceX/in_proximity_input
12876c0690ecSPeter MeerwaldWhat:		/sys/.../iio:deviceX/in_proximityY_raw
12886c0690ecSPeter MeerwaldKernelVersion:	3.4
12896c0690ecSPeter MeerwaldContact:	linux-iio@vger.kernel.org
12906c0690ecSPeter MeerwaldDescription:
12916c0690ecSPeter Meerwald		Proximity measurement indicating that some
12924fbcfa09SPeter Meerwald		object is near the sensor, usually by observing
12936c0690ecSPeter Meerwald		reflectivity of infrared or ultrasound emitted.
12946c0690ecSPeter Meerwald		Often these sensors are unit less and as such conversion
1295bdc10d57SDaniel Baluta		to SI units is not possible. Higher proximity measurements
1296a9c99c76SEnric Balletbo i Serra		indicate closer objects, and vice versa. Units after
1297a9c99c76SEnric Balletbo i Serra		application of scale and offset are meters.
12986c0690ecSPeter Meerwald
12997cf78db5SDarshana PadmadasWhat:		/sys/.../iio:deviceX/in_illuminance_input
13007cf78db5SDarshana PadmadasWhat:		/sys/.../iio:deviceX/in_illuminance_raw
1301994265f1SPeter MeerwaldWhat:		/sys/.../iio:deviceX/in_illuminanceY_input
1302994265f1SPeter MeerwaldWhat:		/sys/.../iio:deviceX/in_illuminanceY_raw
1303994265f1SPeter MeerwaldWhat:		/sys/.../iio:deviceX/in_illuminanceY_mean_raw
13047cf78db5SDarshana PadmadasWhat:		/sys/.../iio:deviceX/in_illuminance_ir_raw
13057cf78db5SDarshana PadmadasWhat:		/sys/.../iio:deviceX/in_illuminance_clear_raw
1306994265f1SPeter MeerwaldKernelVersion:	3.4
1307994265f1SPeter MeerwaldContact:	linux-iio@vger.kernel.org
1308994265f1SPeter MeerwaldDescription:
1309994265f1SPeter Meerwald		Illuminance measurement, units after application of scale
1310994265f1SPeter Meerwald		and offset are lux.
1311994265f1SPeter Meerwald
1312065b055dSPeter MeerwaldWhat:		/sys/.../iio:deviceX/in_intensityY_raw
1313065b055dSPeter MeerwaldWhat:		/sys/.../iio:deviceX/in_intensityY_ir_raw
1314065b055dSPeter MeerwaldWhat:		/sys/.../iio:deviceX/in_intensityY_both_raw
13152c5ff1f9SPeter Meerwald-StadlerWhat:		/sys/.../iio:deviceX/in_intensityY_uv_raw
1316c0e4e0fdSMaxime Roussin-BélangerWhat:		/sys/.../iio:deviceX/in_intensityY_duv_raw
1317065b055dSPeter MeerwaldKernelVersion:	3.4
1318065b055dSPeter MeerwaldContact:	linux-iio@vger.kernel.org
1319065b055dSPeter MeerwaldDescription:
1320065b055dSPeter Meerwald		Unit-less light intensity. Modifiers both and ir indicate
1321f44cd758SPeter Meerwald-Stadler		that measurements contain visible and infrared light
1322c0e4e0fdSMaxime Roussin-Bélanger		components or just infrared light, respectively. Modifier
1323c0e4e0fdSMaxime Roussin-Bélanger		uv indicates that measurements contain ultraviolet light
1324c0e4e0fdSMaxime Roussin-Bélanger		components. Modifier duv indicates that measurements
1325c0e4e0fdSMaxime Roussin-Bélanger		contain deep ultraviolet light components.
1326065b055dSPeter Meerwald
1327d409404cSPeter Meerwald-StadlerWhat:		/sys/.../iio:deviceX/in_uvindex_input
1328d409404cSPeter Meerwald-StadlerKernelVersion:	4.6
1329d409404cSPeter Meerwald-StadlerContact:	linux-iio@vger.kernel.org
1330d409404cSPeter Meerwald-StadlerDescription:
1331d409404cSPeter Meerwald-Stadler		UV light intensity index measuring the human skin's response to
1332d409404cSPeter Meerwald-Stadler		different wavelength of sunlight weighted according to the
1333d409404cSPeter Meerwald-Stadler		standardised CIE Erythemal Action Spectrum. UV index values range
1334d409404cSPeter Meerwald-Stadler		from 0 (low) to >=11 (extreme).
1335d409404cSPeter Meerwald-Stadler
1336899d90bdSPeter MeerwaldWhat:		/sys/.../iio:deviceX/in_intensity_red_integration_time
1337899d90bdSPeter MeerwaldWhat:		/sys/.../iio:deviceX/in_intensity_green_integration_time
1338899d90bdSPeter MeerwaldWhat:		/sys/.../iio:deviceX/in_intensity_blue_integration_time
1339899d90bdSPeter MeerwaldWhat:		/sys/.../iio:deviceX/in_intensity_clear_integration_time
1340899d90bdSPeter MeerwaldWhat:		/sys/.../iio:deviceX/in_illuminance_integration_time
1341899d90bdSPeter MeerwaldKernelVersion:	3.12
1342899d90bdSPeter MeerwaldContact:	linux-iio@vger.kernel.org
1343899d90bdSPeter MeerwaldDescription:
1344899d90bdSPeter Meerwald		This attribute is used to get/set the integration time in
1345899d90bdSPeter Meerwald		seconds.
1346b4a2d475SSrinivas Pandruvada
134740cb7613SIrina TirdeaWhat:		/sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_integration_time
1348e0631a31SIrina TirdeaKernelVersion:	4.0
134940cb7613SIrina TirdeaContact:	linux-iio@vger.kernel.org
135040cb7613SIrina TirdeaDescription:
135140cb7613SIrina Tirdea		Number of seconds in which to compute speed.
135240cb7613SIrina Tirdea
1353b4a2d475SSrinivas PandruvadaWhat:		/sys/bus/iio/devices/iio:deviceX/in_rot_quaternion_raw
1354b4a2d475SSrinivas PandruvadaKernelVersion:	3.15
1355b4a2d475SSrinivas PandruvadaContact:	linux-iio@vger.kernel.org
1356b4a2d475SSrinivas PandruvadaDescription:
1357b4a2d475SSrinivas Pandruvada		Raw value of quaternion components using a format
1358b4a2d475SSrinivas Pandruvada		x y z w. Here x, y, and z component represents the axis about
1359b4a2d475SSrinivas Pandruvada		which a rotation will occur and w component represents the
1360b4a2d475SSrinivas Pandruvada		amount of rotation.
1361b531db84SReyad Attiyat
1362b531db84SReyad AttiyatWhat:		/sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_raw
1363b531db84SReyad AttiyatWhat:		/sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_raw
1364b531db84SReyad AttiyatWhat:		/sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_raw
1365b531db84SReyad AttiyatWhat:		/sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_raw
1366b531db84SReyad AttiyatKernelVersion:	3.15
1367b531db84SReyad AttiyatContact:	linux-iio@vger.kernel.org
1368b531db84SReyad AttiyatDescription:
1369b531db84SReyad Attiyat		Raw value of rotation from true/magnetic north measured with
1370b531db84SReyad Attiyat		or without compensation from tilt sensors.
1371c20d4dffSJacob Pan
1372c20d4dffSJacob PanWhat:		/sys/bus/iio/devices/iio:deviceX/in_currentX_raw
13731ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_currentX_i_raw
13741ce87f21SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/in_currentX_q_raw
1375c20d4dffSJacob PanKernelVersion:	3.18
1376c20d4dffSJacob PanContact:	linux-iio@vger.kernel.org
1377c20d4dffSJacob PanDescription:
1378c20d4dffSJacob Pan		Raw current measurement from channel X. Units are in milliamps
1379c20d4dffSJacob Pan		after application of scale and offset. If no offset or scale is
1380c20d4dffSJacob Pan		present, output should be considered as processed with the
1381c20d4dffSJacob Pan		unit in milliamps.
1382a88bfe78SIrina Tirdea
13831ce87f21SLars-Peter Clausen		Channels with 'i' and 'q' modifiers always exist in pairs and both
13841ce87f21SLars-Peter Clausen		channels refer to the same signal. The 'i' channel contains the in-phase
13851ce87f21SLars-Peter Clausen		component of the signal while the 'q' channel contains the quadrature
13861ce87f21SLars-Peter Clausen		component.
13871ce87f21SLars-Peter Clausen
138840cb7613SIrina TirdeaWhat:		/sys/.../iio:deviceX/in_energy_en
138940cb7613SIrina TirdeaWhat:		/sys/.../iio:deviceX/in_distance_en
139040cb7613SIrina TirdeaWhat:		/sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_en
1391a88bfe78SIrina TirdeaWhat:		/sys/.../iio:deviceX/in_steps_en
1392a88bfe78SIrina TirdeaKernelVersion:	3.19
1393a88bfe78SIrina TirdeaContact:	linux-iio@vger.kernel.org
1394a88bfe78SIrina TirdeaDescription:
139540cb7613SIrina Tirdea		Activates a device feature that runs in firmware/hardware.
139640cb7613SIrina Tirdea		E.g. for steps: the pedometer saves power while not used;
139740cb7613SIrina Tirdea		when activated, it will count the steps taken by the user in
139840cb7613SIrina Tirdea		firmware and export them through in_steps_input.
1399a88bfe78SIrina Tirdea
1400a88bfe78SIrina TirdeaWhat:		/sys/.../iio:deviceX/in_steps_input
1401a88bfe78SIrina TirdeaKernelVersion:	3.19
1402a88bfe78SIrina TirdeaContact:	linux-iio@vger.kernel.org
1403a88bfe78SIrina TirdeaDescription:
1404a88bfe78SIrina Tirdea		This attribute is used to read the number of steps taken by the user
1405a88bfe78SIrina Tirdea		since the last reboot while activated.
14065a1a9329SIrina Tirdea
14075a1a9329SIrina TirdeaWhat:		/sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_input
14085a1a9329SIrina TirdeaWhat:		/sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_raw
14095a1a9329SIrina TirdeaKernelVersion:	3.19
14105a1a9329SIrina TirdeaContact:	linux-iio@vger.kernel.org
14115a1a9329SIrina TirdeaDescription:
14125a1a9329SIrina Tirdea		This attribute is used to read the current speed value of the
14135a1a9329SIrina Tirdea		user (which is the norm or magnitude of the velocity vector).
14145a1a9329SIrina Tirdea		Units after application of scale are m/s.
14152f0ecb7cSIrina Tirdea
14162f0ecb7cSIrina TirdeaWhat:		/sys/.../iio:deviceX/in_steps_debounce_count
1417e0631a31SIrina TirdeaKernelVersion:	4.0
14182f0ecb7cSIrina TirdeaContact:	linux-iio@vger.kernel.org
14192f0ecb7cSIrina TirdeaDescription:
14202f0ecb7cSIrina Tirdea		Specifies the number of steps that must occur within
14212f0ecb7cSIrina Tirdea		in_steps_filter_debounce_time for the pedometer to decide the
14222f0ecb7cSIrina Tirdea		consumer is making steps.
14232f0ecb7cSIrina Tirdea
14242f0ecb7cSIrina TirdeaWhat:		/sys/.../iio:deviceX/in_steps_debounce_time
1425e0631a31SIrina TirdeaKernelVersion:	4.0
14262f0ecb7cSIrina TirdeaContact:	linux-iio@vger.kernel.org
14272f0ecb7cSIrina TirdeaDescription:
14282f0ecb7cSIrina Tirdea		Specifies number of seconds in which we compute the steps
14292f0ecb7cSIrina Tirdea		that occur in order to decide if the consumer is making steps.
143037d34556SJosselin Costanzi
143137d34556SJosselin CostanziWhat:		/sys/bus/iio/devices/iio:deviceX/buffer/watermark
143237d34556SJosselin CostanziKernelVersion:	4.2
143337d34556SJosselin CostanziContact:	linux-iio@vger.kernel.org
143437d34556SJosselin CostanziDescription:
143537d34556SJosselin Costanzi		A single positive integer specifying the maximum number of scan
143637d34556SJosselin Costanzi		elements to wait for.
143737d34556SJosselin Costanzi		Poll will block until the watermark is reached.
143837d34556SJosselin Costanzi		Blocking read will wait until the minimum between the requested
143937d34556SJosselin Costanzi		read amount or the low water mark is available.
144037d34556SJosselin Costanzi		Non-blocking read will retrieve the available samples from the
144137d34556SJosselin Costanzi		buffer even if there are less samples then watermark level. This
144237d34556SJosselin Costanzi		allows the application to block on poll with a timeout and read
144337d34556SJosselin Costanzi		the available samples after the timeout expires and thus have a
144437d34556SJosselin Costanzi		maximum delay guarantee.
1445f4f4673bSOctavian Purdila
1446350f6c75SMatt ForneroWhat:		/sys/bus/iio/devices/iio:deviceX/buffer/data_available
1447350f6c75SMatt ForneroKernelVersion: 4.16
1448350f6c75SMatt ForneroContact:	linux-iio@vger.kernel.org
1449350f6c75SMatt ForneroDescription:
1450350f6c75SMatt Fornero		A read-only value indicating the bytes of data available in the
1451350f6c75SMatt Fornero		buffer. In the case of an output buffer, this indicates the
1452350f6c75SMatt Fornero		amount of empty space available to write data to. In the case of
1453350f6c75SMatt Fornero		an input buffer, this indicates the amount of data available for
1454350f6c75SMatt Fornero		reading.
1455350f6c75SMatt Fornero
1456f4f4673bSOctavian PurdilaWhat:		/sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_enabled
1457f4f4673bSOctavian PurdilaKernelVersion: 4.2
1458f4f4673bSOctavian PurdilaContact:	linux-iio@vger.kernel.org
1459f4f4673bSOctavian PurdilaDescription:
1460f4f4673bSOctavian Purdila		A read-only boolean value that indicates if the hardware fifo is
1461f4f4673bSOctavian Purdila		currently enabled or disabled. If the device does not have a
1462f4f4673bSOctavian Purdila		hardware fifo this entry is not present.
1463f4f4673bSOctavian Purdila		The hardware fifo is enabled when the buffer is enabled if the
1464f4f4673bSOctavian Purdila		current hardware fifo watermark level is set and other current
1465f4f4673bSOctavian Purdila		device settings allows it (e.g. if a trigger is set that samples
1466f4f4673bSOctavian Purdila		data differently that the hardware fifo does then hardware fifo
1467f4f4673bSOctavian Purdila		will not enabled).
1468f4f4673bSOctavian Purdila		If the hardware fifo is enabled and the level of the hardware
1469f4f4673bSOctavian Purdila		fifo reaches the hardware fifo watermark level the device will
1470f4f4673bSOctavian Purdila		flush its hardware fifo to the device buffer. Doing a non
1471f4f4673bSOctavian Purdila		blocking read on the device when no samples are present in the
1472f4f4673bSOctavian Purdila		device buffer will also force a flush.
1473f4f4673bSOctavian Purdila		When the hardware fifo is enabled there is no need to use a
1474f4f4673bSOctavian Purdila		trigger to use buffer mode since the watermark settings
1475f4f4673bSOctavian Purdila		guarantees that the hardware fifo is flushed to the device
1476f4f4673bSOctavian Purdila		buffer.
1477f4f4673bSOctavian Purdila
1478138bc796SSrinivas PandruvadaWhat:		/sys/bus/iio/devices/iio:device*/buffer/hwfifo_timeout
1479138bc796SSrinivas PandruvadaKernelVersion:	4.12
1480138bc796SSrinivas PandruvadaContact:	linux-iio@vger.kernel.org
1481138bc796SSrinivas PandruvadaDescription:
1482138bc796SSrinivas Pandruvada		A read/write property to provide capability to delay reporting of
1483138bc796SSrinivas Pandruvada		samples till a timeout is reached. This allows host processors to
1484138bc796SSrinivas Pandruvada		sleep, while the sensor is storing samples in its internal fifo.
1485138bc796SSrinivas Pandruvada		The maximum timeout in seconds can be specified by setting
1486138bc796SSrinivas Pandruvada		hwfifo_timeout.The current delay can be read by reading
1487138bc796SSrinivas Pandruvada		hwfifo_timeout. A value of 0 means that there is no timeout.
1488138bc796SSrinivas Pandruvada
1489f4f4673bSOctavian PurdilaWhat:		/sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark
1490f4f4673bSOctavian PurdilaKernelVersion: 4.2
1491f4f4673bSOctavian PurdilaContact:	linux-iio@vger.kernel.org
1492f4f4673bSOctavian PurdilaDescription:
1493f4f4673bSOctavian Purdila		Read-only entry that contains a single integer specifying the
1494f4f4673bSOctavian Purdila		current watermark level for the hardware fifo. If the device
1495f4f4673bSOctavian Purdila		does not have a hardware fifo this entry is not present.
1496f4f4673bSOctavian Purdila		The watermark level for the hardware fifo is set by the driver
1497f4f4673bSOctavian Purdila		based on the value set by the user in buffer/watermark but
1498f4f4673bSOctavian Purdila		taking into account hardware limitations (e.g. most hardware
1499f4f4673bSOctavian Purdila		buffers are limited to 32-64 samples, some hardware buffers
1500f4f4673bSOctavian Purdila		watermarks are fixed or have minimum levels).  A value of 0
1501f4f4673bSOctavian Purdila		means that the hardware watermark is unset.
1502f4f4673bSOctavian Purdila
1503f4f4673bSOctavian PurdilaWhat:		/sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_min
1504f4f4673bSOctavian PurdilaKernelVersion: 4.2
1505f4f4673bSOctavian PurdilaContact:       linux-iio@vger.kernel.org
1506f4f4673bSOctavian PurdilaDescription:
1507f4f4673bSOctavian Purdila		A single positive integer specifying the minimum watermark level
1508f4f4673bSOctavian Purdila		for the hardware fifo of this device. If the device does not
1509f4f4673bSOctavian Purdila		have a hardware fifo this entry is not present.
1510f4f4673bSOctavian Purdila		If the user sets buffer/watermark to a value less than this one,
1511f4f4673bSOctavian Purdila		then the hardware watermark will remain unset.
1512f4f4673bSOctavian Purdila
1513f4f4673bSOctavian PurdilaWhat:	       /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_max
1514f4f4673bSOctavian PurdilaKernelVersion: 4.2
1515f4f4673bSOctavian PurdilaContact:       linux-iio@vger.kernel.org
1516f4f4673bSOctavian PurdilaDescription:
1517f4f4673bSOctavian Purdila		A single positive integer specifying the maximum watermark level
1518f4f4673bSOctavian Purdila		for the hardware fifo of this device. If the device does not
1519f4f4673bSOctavian Purdila		have a hardware fifo this entry is not present.
1520f4f4673bSOctavian Purdila		If the user sets buffer/watermark to a value greater than this
1521f4f4673bSOctavian Purdila		one, then the hardware watermark will be capped at this value.
1522f4f4673bSOctavian Purdila
1523f4f4673bSOctavian PurdilaWhat:	       /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_available
1524f4f4673bSOctavian PurdilaKernelVersion: 4.2
1525f4f4673bSOctavian PurdilaContact:       linux-iio@vger.kernel.org
1526f4f4673bSOctavian PurdilaDescription:
1527f4f4673bSOctavian Purdila		A list of positive integers specifying the available watermark
1528f4f4673bSOctavian Purdila		levels for the hardware fifo. This entry is optional and if it
1529f4f4673bSOctavian Purdila		is not present it means that all the values between
1530f4f4673bSOctavian Purdila		hwfifo_watermark_min and hwfifo_watermark_max are supported.
1531f4f4673bSOctavian Purdila		If the user sets buffer/watermark to a value greater than
1532f4f4673bSOctavian Purdila		hwfifo_watermak_min but not equal to any of the values in this
1533f4f4673bSOctavian Purdila		list, the driver will chose an appropriate value for the
1534f4f4673bSOctavian Purdila		hardware fifo watermark level.
1535c8a85854SVianney le Clément de Saint-Marcq
1536c8a85854SVianney le Clément de Saint-MarcqWhat:		/sys/bus/iio/devices/iio:deviceX/in_temp_calibemissivity
1537c8a85854SVianney le Clément de Saint-MarcqWhat:		/sys/bus/iio/devices/iio:deviceX/in_tempX_calibemissivity
1538c8a85854SVianney le Clément de Saint-MarcqWhat:		/sys/bus/iio/devices/iio:deviceX/in_temp_object_calibemissivity
1539c8a85854SVianney le Clément de Saint-MarcqWhat:		/sys/bus/iio/devices/iio:deviceX/in_tempX_object_calibemissivity
1540c8a85854SVianney le Clément de Saint-MarcqKernelVersion:	4.1
1541c8a85854SVianney le Clément de Saint-MarcqContact:	linux-iio@vger.kernel.org
1542c8a85854SVianney le Clément de Saint-MarcqDescription:
1543c8a85854SVianney le Clément de Saint-Marcq		The emissivity ratio of the surface in the field of view of the
1544c8a85854SVianney le Clément de Saint-Marcq		contactless temperature sensor.  Emissivity varies from 0 to 1,
1545c8a85854SVianney le Clément de Saint-Marcq		with 1 being the emissivity of a black body.
1546faaa4495SIrina Tirdea
1547faaa4495SIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_magn_x_oversampling_ratio
1548faaa4495SIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_magn_y_oversampling_ratio
1549faaa4495SIrina TirdeaWhat:		/sys/bus/iio/devices/iio:deviceX/in_magn_z_oversampling_ratio
1550faaa4495SIrina TirdeaKernelVersion:	4.2
1551faaa4495SIrina TirdeaContact:	linux-iio@vger.kernel.org
1552faaa4495SIrina TirdeaDescription:
1553faaa4495SIrina Tirdea		Hardware applied number of measurements for acquiring one
1554faaa4495SIrina Tirdea		data point. The HW will do <type>[_name]_oversampling_ratio
1555faaa4495SIrina Tirdea		measurements and return the average value as output data. Each
1556faaa4495SIrina Tirdea		value resulted from <type>[_name]_oversampling_ratio measurements
1557faaa4495SIrina Tirdea		is considered as one sample for <type>[_name]_sampling_frequency.
15588ff6b3bcSMatt Ranostay
15598ff6b3bcSMatt RanostayWhat:		/sys/bus/iio/devices/iio:deviceX/in_concentration_raw
15608ff6b3bcSMatt RanostayWhat:		/sys/bus/iio/devices/iio:deviceX/in_concentrationX_raw
15618ff6b3bcSMatt RanostayWhat:		/sys/bus/iio/devices/iio:deviceX/in_concentration_co2_raw
15628ff6b3bcSMatt RanostayWhat:		/sys/bus/iio/devices/iio:deviceX/in_concentrationX_co2_raw
1563b170f7d4SAndreas BrauchliWhat:		/sys/bus/iio/devices/iio:deviceX/in_concentration_ethanol_raw
1564b170f7d4SAndreas BrauchliWhat:		/sys/bus/iio/devices/iio:deviceX/in_concentrationX_ethanol_raw
1565b170f7d4SAndreas BrauchliWhat:		/sys/bus/iio/devices/iio:deviceX/in_concentration_h2_raw
1566b170f7d4SAndreas BrauchliWhat:		/sys/bus/iio/devices/iio:deviceX/in_concentrationX_h2_raw
15678ff6b3bcSMatt RanostayWhat:		/sys/bus/iio/devices/iio:deviceX/in_concentration_voc_raw
15688ff6b3bcSMatt RanostayWhat:		/sys/bus/iio/devices/iio:deviceX/in_concentrationX_voc_raw
15698ff6b3bcSMatt RanostayKernelVersion:	4.3
15708ff6b3bcSMatt RanostayContact:	linux-iio@vger.kernel.org
15718ff6b3bcSMatt RanostayDescription:
1572*df16c33aSTomasz Duszynski		Raw (unscaled no offset etc.) reading of a substance. Units
1573*df16c33aSTomasz Duszynski		after application of scale and offset are percents.
1574d38d5469SMatt Ranostay
1575d38d5469SMatt RanostayWhat:		/sys/bus/iio/devices/iio:deviceX/in_resistance_raw
1576d38d5469SMatt RanostayWhat:		/sys/bus/iio/devices/iio:deviceX/in_resistanceX_raw
1577b15aef8dSPeter RosinWhat:		/sys/bus/iio/devices/iio:deviceX/out_resistance_raw
1578b15aef8dSPeter RosinWhat:		/sys/bus/iio/devices/iio:deviceX/out_resistanceX_raw
1579d38d5469SMatt RanostayKernelVersion:	4.3
1580d38d5469SMatt RanostayContact:	linux-iio@vger.kernel.org
1581d38d5469SMatt RanostayDescription:
1582d38d5469SMatt Ranostay		Raw (unscaled no offset etc.) resistance reading that can be processed
1583d38d5469SMatt Ranostay		into an ohm value.
15842b5c53d2SLudovic Tancerel
15852b5c53d2SLudovic TancerelWhat:		/sys/bus/iio/devices/iio:deviceX/heater_enable
15862b5c53d2SLudovic TancerelKernelVersion:	4.1.0
15872b5c53d2SLudovic TancerelContact:	linux-iio@vger.kernel.org
15882b5c53d2SLudovic TancerelDescription:
15892b5c53d2SLudovic Tancerel		'1' (enable) or '0' (disable) specifying the enable
15902b5c53d2SLudovic Tancerel		of heater function. Same reading values apply
15912b5c53d2SLudovic Tancerel		This ABI is especially applicable for humidity sensors
15922b5c53d2SLudovic Tancerel		to heatup the device and get rid of any condensation
15932b5c53d2SLudovic Tancerel		in some humidity environment
1594ecb3a7ccSMatt Ranostay
1595ecb3a7ccSMatt RanostayWhat:		/sys/bus/iio/devices/iio:deviceX/in_ph_raw
1596ecb3a7ccSMatt RanostayKernelVersion:	4.5
1597ecb3a7ccSMatt RanostayContact:	linux-iio@vger.kernel.org
1598ecb3a7ccSMatt RanostayDescription:
1599ecb3a7ccSMatt Ranostay		Raw (unscaled no offset etc.) pH reading of a substance as a negative
1600ecb3a7ccSMatt Ranostay		base-10 logarithm of hydrodium ions in a litre of water.
1601dfc57732SGregor Boirie
1602dfc57732SGregor BoirieWhat:           /sys/bus/iio/devices/iio:deviceX/mount_matrix
1603dfc57732SGregor BoirieWhat:           /sys/bus/iio/devices/iio:deviceX/in_mount_matrix
1604dfc57732SGregor BoirieWhat:           /sys/bus/iio/devices/iio:deviceX/out_mount_matrix
1605eb379846SGregor BoirieWhat:           /sys/bus/iio/devices/iio:deviceX/in_anglvel_mount_matrix
1606eb379846SGregor BoirieWhat:           /sys/bus/iio/devices/iio:deviceX/in_accel_mount_matrix
1607dfc57732SGregor BoirieKernelVersion:  4.6
1608dfc57732SGregor BoirieContact:        linux-iio@vger.kernel.org
1609dfc57732SGregor BoirieDescription:
1610dfc57732SGregor Boirie		Mounting matrix for IIO sensors. This is a rotation matrix which
1611dfc57732SGregor Boirie		informs userspace about sensor chip's placement relative to the
1612dfc57732SGregor Boirie		main hardware it is mounted on.
1613dfc57732SGregor Boirie		Main hardware placement is defined according to the local
1614dfc57732SGregor Boirie		reference frame related to the physical quantity the sensor
1615dfc57732SGregor Boirie		measures.
1616dfc57732SGregor Boirie		Given that the rotation matrix is defined in a board specific
1617dfc57732SGregor Boirie		way (platform data and / or device-tree), the main hardware
1618dfc57732SGregor Boirie		reference frame definition is left to the implementor's choice
1619dfc57732SGregor Boirie		(see below for a magnetometer example).
1620dfc57732SGregor Boirie		Applications should apply this rotation matrix to samples so
1621dfc57732SGregor Boirie		that when main hardware reference frame is aligned onto local
1622dfc57732SGregor Boirie		reference frame, then sensor chip reference frame is also
1623dfc57732SGregor Boirie		perfectly aligned with it.
1624dfc57732SGregor Boirie		Matrix is a 3x3 unitary matrix and typically looks like
1625dfc57732SGregor Boirie		[0, 1, 0; 1, 0, 0; 0, 0, -1]. Identity matrix
1626dfc57732SGregor Boirie		[1, 0, 0; 0, 1, 0; 0, 0, 1] means sensor chip and main hardware
1627dfc57732SGregor Boirie		are perfectly aligned with each other.
1628dfc57732SGregor Boirie
1629dfc57732SGregor Boirie		For example, a mounting matrix for a magnetometer sensor informs
1630dfc57732SGregor Boirie		userspace about sensor chip's ORIENTATION relative to the main
1631dfc57732SGregor Boirie		hardware.
1632dfc57732SGregor Boirie		More specifically, main hardware orientation is defined with
1633dfc57732SGregor Boirie		respect to the LOCAL EARTH GEOMAGNETIC REFERENCE FRAME where :
1634dfc57732SGregor Boirie		* Y is in the ground plane and positive towards magnetic North ;
1635dfc57732SGregor Boirie		* X is in the ground plane, perpendicular to the North axis and
1636dfc57732SGregor Boirie		  positive towards the East ;
1637dfc57732SGregor Boirie		* Z is perpendicular to the ground plane and positive upwards.
1638dfc57732SGregor Boirie
1639dfc57732SGregor Boirie		An implementor might consider that for a hand-held device, a
1640dfc57732SGregor Boirie		'natural' orientation would be 'front facing camera at the top'.
1641dfc57732SGregor Boirie		The main hardware reference frame could then be described as :
1642dfc57732SGregor Boirie		* Y is in the plane of the screen and is positive towards the
1643dfc57732SGregor Boirie		  top of the screen ;
1644dfc57732SGregor Boirie		* X is in the plane of the screen, perpendicular to Y axis, and
1645dfc57732SGregor Boirie		  positive towards the right hand side of the screen ;
1646dfc57732SGregor Boirie		* Z is perpendicular to the screen plane and positive out of the
1647dfc57732SGregor Boirie		  screen.
1648dfc57732SGregor Boirie		Another example for a quadrotor UAV might be :
1649dfc57732SGregor Boirie		* Y is in the plane of the propellers and positive towards the
1650dfc57732SGregor Boirie		  front-view camera;
1651dfc57732SGregor Boirie		* X is in the plane of the propellers, perpendicular to Y axis,
1652dfc57732SGregor Boirie		  and positive towards the starboard side of the UAV ;
1653dfc57732SGregor Boirie		* Z is perpendicular to propellers plane and positive upwards.
16544b9d2090SMatt Ranostay
16554b9d2090SMatt RanostayWhat:		/sys/bus/iio/devices/iio:deviceX/in_electricalconductivity_raw
16564b9d2090SMatt RanostayKernelVersion:	4.8
16574b9d2090SMatt RanostayContact:	linux-iio@vger.kernel.org
16584b9d2090SMatt RanostayDescription:
16594b9d2090SMatt Ranostay		Raw (unscaled no offset etc.) electric conductivity reading that
16604b9d2090SMatt Ranostay		can be processed to siemens per meter.
16611a8f324aSWilliam Breathitt Gray
16621a8f324aSWilliam Breathitt GrayWhat:		/sys/bus/iio/devices/iio:deviceX/in_countY_raw
16637527a6edSWilliam Breathitt GrayKernelVersion:	4.10
16641a8f324aSWilliam Breathitt GrayContact:	linux-iio@vger.kernel.org
16651a8f324aSWilliam Breathitt GrayDescription:
16664bb00e93SWilliam Breathitt Gray		This interface is deprecated; please use the Counter subsystem.
16674bb00e93SWilliam Breathitt Gray
16681a8f324aSWilliam Breathitt Gray		Raw counter device counts from channel Y. For quadrature
16691a8f324aSWilliam Breathitt Gray		counters, multiplication by an available [Y]_scale results in
16701a8f324aSWilliam Breathitt Gray		the counts of a single quadrature signal phase from channel Y.
16711a8f324aSWilliam Breathitt Gray
16721a8f324aSWilliam Breathitt GrayWhat:		/sys/bus/iio/devices/iio:deviceX/in_indexY_raw
16737527a6edSWilliam Breathitt GrayKernelVersion:	4.10
16741a8f324aSWilliam Breathitt GrayContact:	linux-iio@vger.kernel.org
16751a8f324aSWilliam Breathitt GrayDescription:
16764bb00e93SWilliam Breathitt Gray		This interface is deprecated; please use the Counter subsystem.
16774bb00e93SWilliam Breathitt Gray
16781a8f324aSWilliam Breathitt Gray		Raw counter device index value from channel Y. This attribute
16791a8f324aSWilliam Breathitt Gray		provides an absolute positional reference (e.g. a pulse once per
16801a8f324aSWilliam Breathitt Gray		revolution) which may be used to home positional systems as
16811a8f324aSWilliam Breathitt Gray		required.
1682521dbebfSBenjamin Gaignard
1683521dbebfSBenjamin GaignardWhat:		/sys/bus/iio/devices/iio:deviceX/in_count_count_direction_available
1684521dbebfSBenjamin GaignardKernelVersion:	4.12
1685521dbebfSBenjamin GaignardContact:	linux-iio@vger.kernel.org
1686521dbebfSBenjamin GaignardDescription:
16874bb00e93SWilliam Breathitt Gray		This interface is deprecated; please use the Counter subsystem.
16884bb00e93SWilliam Breathitt Gray
1689521dbebfSBenjamin Gaignard		A list of possible counting directions which are:
1690521dbebfSBenjamin Gaignard		- "up"	: counter device is increasing.
1691521dbebfSBenjamin Gaignard		- "down": counter device is decreasing.
1692521dbebfSBenjamin Gaignard
1693521dbebfSBenjamin GaignardWhat:		/sys/bus/iio/devices/iio:deviceX/in_countY_count_direction
1694521dbebfSBenjamin GaignardKernelVersion:	4.12
1695521dbebfSBenjamin GaignardContact:	linux-iio@vger.kernel.org
1696521dbebfSBenjamin GaignardDescription:
16974bb00e93SWilliam Breathitt Gray		This interface is deprecated; please use the Counter subsystem.
16984bb00e93SWilliam Breathitt Gray
1699521dbebfSBenjamin Gaignard		Raw counter device counters direction for channel Y.
1700c73314e6SMathieu Othacehe
1701c73314e6SMathieu OthaceheWhat:		/sys/bus/iio/devices/iio:deviceX/in_phaseY_raw
1702c73314e6SMathieu OthaceheKernelVersion:	4.18
1703c73314e6SMathieu OthaceheContact:	linux-iio@vger.kernel.org
1704c73314e6SMathieu OthaceheDescription:
1705c73314e6SMathieu Othacehe		Raw (unscaled) phase difference reading from channel Y
1706c73314e6SMathieu Othacehe		that can be processed to radians.
170717abc9ecSTomasz Duszynski
170817abc9ecSTomasz DuszynskiWhat:		/sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm1_input
170917abc9ecSTomasz DuszynskiWhat:		/sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm1_input
171017abc9ecSTomasz DuszynskiWhat:		/sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm2p5_input
171117abc9ecSTomasz DuszynskiWhat:		/sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm2p5_input
171217abc9ecSTomasz DuszynskiWhat:		/sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm4_input
171317abc9ecSTomasz DuszynskiWhat:		/sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm4_input
171417abc9ecSTomasz DuszynskiWhat:		/sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm10_input
171517abc9ecSTomasz DuszynskiWhat:		/sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm10_input
171617abc9ecSTomasz DuszynskiKernelVersion:	4.22
171717abc9ecSTomasz DuszynskiContact:	linux-iio@vger.kernel.org
171817abc9ecSTomasz DuszynskiDescription:
171917abc9ecSTomasz Duszynski		Mass concentration reading of particulate matter in ug / m3.
172017abc9ecSTomasz Duszynski		pmX consists of particles with aerodynamic diameter less or
172117abc9ecSTomasz Duszynski		equal to X micrometers.
172256a8e683SRishi Gupta
172356a8e683SRishi GuptaWhat:		/sys/bus/iio/devices/iio:deviceX/events/in_illuminance_period_available
172456a8e683SRishi GuptaDate:		November 2019
172556a8e683SRishi GuptaKernelVersion:	5.4
172656a8e683SRishi GuptaContact:	linux-iio@vger.kernel.org
172756a8e683SRishi GuptaDescription:
172856a8e683SRishi Gupta		List of valid periods (in seconds) for which the light intensity
172956a8e683SRishi Gupta		must be above the threshold level before interrupt is asserted.
17303f6bba19SAndrea Merello
17313f6bba19SAndrea MerelloWhat:		/sys/bus/iio/devices/iio:deviceX/in_filter_notch_center_frequency
17323f6bba19SAndrea MerelloKernelVersion:	5.5
17333f6bba19SAndrea MerelloContact:	linux-iio@vger.kernel.org
17343f6bba19SAndrea MerelloDescription:
17353f6bba19SAndrea Merello		Center frequency in Hz for a notch filter. Used i.e. for line
17363f6bba19SAndrea Merello		noise suppression.
173783b9af6fSAndrea Merello
173883b9af6fSAndrea MerelloWhat:		/sys/bus/iio/devices/iio:deviceX/in_temp_thermocouple_type
173983b9af6fSAndrea MerelloKernelVersion:	5.5
174083b9af6fSAndrea MerelloContact:	linux-iio@vger.kernel.org
174183b9af6fSAndrea MerelloDescription:
174283b9af6fSAndrea Merello		One of the following thermocouple types: B, E, J, K, N, R, S, T.
1743