| 
									
										
										
										
											2011-08-30 12:32:49 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2011-08-12 16:55:38 +01:00
										 |  |  | 		Hardware chip or device accessed by one communication port. | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		Corresponds to a grouping of sensor channels. X is the IIO | 
					
						
							|  |  |  | 		index of the device. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | What:		/sys/bus/iio/devices/triggerX | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		An event driven driver of data capture to an in kernel buffer. | 
					
						
							|  |  |  | 		May be provided by a device driver that also has an IIO device | 
					
						
							|  |  |  | 		based on hardware generated events (e.g. data ready) or | 
					
						
							|  |  |  | 		provided by a separate driver for other hardware (e.g. | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		periodic timer, GPIO or high resolution timer). | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 		Contains trigger type specific elements. These do not | 
					
						
							|  |  |  | 		generalize well and hence are not documented in this file. | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		X is the IIO index of the trigger. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-08-30 12:32:49 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/buffer | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2011-08-30 12:32:49 +01:00
										 |  |  | 		Directory of attributes relating to the buffer for the device. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-08-30 12:32:49 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/name | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		Description of the physical chip / device for device X. | 
					
						
							|  |  |  | 		Typically a part number. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-08-30 12:32:49 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/sampling_frequency | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/buffer/sampling_frequency | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/triggerX/sampling_frequency | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Some devices have internal clocks.  This parameter sets the | 
					
						
							|  |  |  | 		resulting sampling frequency.  In many devices this | 
					
						
							| 
									
										
										
										
											2012-06-12 15:31:27 +02:00
										 |  |  | 		parameter has an effect on input filters etc. rather than | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 		simply controlling when the input is sampled.  As this | 
					
						
							| 
									
										
										
										
											2012-06-12 15:31:27 +02:00
										 |  |  | 		effects data ready triggers, hardware buffers and the sysfs | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 		direct access interfaces, it may be found in any of the | 
					
						
							|  |  |  | 		relevant directories.  If it effects all of the above | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | 		then it is to be found in the base device directory. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-08-30 12:32:49 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/sampling_frequency_available | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/buffer/sampling_frequency_available | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/triggerX/sampling_frequency_available | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		When the internal sampling clock can only take a small | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		discrete set of values, this file lists those available. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-08-30 12:32:49 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/oversampling_ratio | 
					
						
							| 
									
										
										
										
											2011-02-22 21:46:18 +01:00
										 |  |  | KernelVersion:	2.6.38 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Hardware dependent ADC oversampling. Controls the sampling ratio | 
					
						
							|  |  |  | 		of the digital filter if available. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-08-30 12:32:49 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/oversampling_ratio_available | 
					
						
							| 
									
										
										
										
											2011-02-22 21:46:18 +01:00
										 |  |  | KernelVersion:	2.6.38 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Hardware dependent values supported by the oversampling filter. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_raw | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_raw | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2012-06-12 15:31:27 +02:00
										 |  |  | 		Raw (unscaled no bias removal etc.) voltage measurement from | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		channel Y. In special cases where the channel does not | 
					
						
							|  |  |  | 		correspond to externally available input one of the named | 
					
						
							|  |  |  | 		versions may be used. The number must always be specified and | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | 		unique to allow association with event codes. Units after | 
					
						
							|  |  |  | 		application of scale and offset are microvolts. | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_raw | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		Raw (unscaled) differential voltage measurement equivalent to | 
					
						
							|  |  |  | 		channel Y - channel Z where these channel numbers apply to the | 
					
						
							|  |  |  | 		physically equivalent inputs when non differential readings are | 
					
						
							|  |  |  | 		separately available. In differential only parts, then all that | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | 		is required is a consistent labeling.  Units after application | 
					
						
							|  |  |  | 		of scale and offset are microvolts. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:52 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_capacitanceY_raw | 
					
						
							|  |  |  | KernelVersion:	3.2 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Raw capacitance measurement from channel Y. Units after | 
					
						
							|  |  |  | 		application of scale and offset are nanofarads. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/in_capacitanceY-in_capacitanceZ_raw | 
					
						
							|  |  |  | KernelVersion:	3.2 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Raw differential capacitance measurement equivalent to | 
					
						
							|  |  |  | 		channel Y - channel Z where these channel numbers apply to the | 
					
						
							|  |  |  | 		physically equivalent inputs when non differential readings are | 
					
						
							|  |  |  | 		separately available. In differential only parts, then all that | 
					
						
							|  |  |  | 		is required is a consistent labeling.  Units after application | 
					
						
							| 
									
										
										
										
											2012-04-25 15:54:57 +01:00
										 |  |  | 		of scale and offset are nanofarads. | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:52 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_temp_raw | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_tempX_raw | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_temp_x_raw | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_temp_y_raw | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_temp_z_raw | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2012-06-12 15:31:27 +02:00
										 |  |  | 		Raw (unscaled no bias removal etc.) temperature measurement. | 
					
						
							| 
									
										
										
										
											2012-04-25 15:54:57 +01:00
										 |  |  | 		If an axis is specified it generally means that the temperature | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		sensor is associated with one part of a compound device (e.g. | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | 		a gyroscope axis). Units after application of scale and offset | 
					
						
							| 
									
										
										
										
											2012-06-15 19:25:23 +02:00
										 |  |  | 		are milli degrees Celsius. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_tempX_input | 
					
						
							| 
									
										
										
										
											2011-02-24 12:32:45 +01:00
										 |  |  | KernelVersion:	2.6.38 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Scaled temperature measurement in milli degrees Celsius. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_accel_x_raw | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_accel_y_raw | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_accel_z_raw | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		Acceleration in direction x, y or z (may be arbitrarily assigned | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | 		but should match other such assignments on device). | 
					
						
							|  |  |  | 		Has all of the equivalent parameters as per voltageY. Units | 
					
						
							|  |  |  | 		after application of scale and offset are m/s^2. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-10-05 15:28:00 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_x_raw | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_y_raw | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_z_raw | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		Angular velocity about axis x, y or z (may be arbitrarily | 
					
						
							| 
									
										
										
										
											2012-06-12 15:31:27 +02:00
										 |  |  | 		assigned). Has all the equivalent parameters as	per voltageY. | 
					
						
							|  |  |  | 		Units after application of scale and offset are	radians per | 
					
						
							|  |  |  | 		second. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_incli_x_raw | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_incli_y_raw | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_incli_z_raw | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		Inclination raw reading about axis x, y or z (may be | 
					
						
							|  |  |  | 		arbitrarily assigned). Data converted by application of offset | 
					
						
							| 
									
										
										
										
											2012-06-12 15:31:27 +02:00
										 |  |  | 		and scale to degrees. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_magn_x_raw | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_magn_y_raw | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_magn_z_raw | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		Magnetic field along axis x, y or z (may be arbitrarily | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | 		assigned).  Data converted by application of offset | 
					
						
							|  |  |  | 		then scale to Gauss. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_accel_x_peak_raw | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_accel_y_peak_raw | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_accel_z_peak_raw | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | KernelVersion:	2.6.36 | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | 		Highest value since some reset condition.  These | 
					
						
							|  |  |  | 		attributes allow access to this and are otherwise | 
					
						
							|  |  |  | 		the direct equivalent of the <type>Y[_name]_raw attributes. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_accel_xyz_squared_peak_raw | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | KernelVersion:	2.6.36 | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		A computed peak value based on the sum squared magnitude of | 
					
						
							|  |  |  | 		the underlying value in the specified directions. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-11-20 13:36:00 +00:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_pressureY_raw | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_pressure_raw | 
					
						
							|  |  |  | KernelVersion:	3.8 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Raw pressure measurement from channel Y. Units after | 
					
						
							|  |  |  | 		application of scale and offset are kilopascal. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_accel_offset | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_accel_x_offset | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_accel_y_offset | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_accel_z_offset | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_offset | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_voltage_offset | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_tempY_offset | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_temp_offset | 
					
						
							| 
									
										
										
										
											2012-11-20 13:36:00 +00:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_pressureY_offset | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_pressure_offset | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		If known for a device, offset to be added to <type>[Y]_raw prior | 
					
						
							|  |  |  | 		to scaling by <type>[Y]_scale in order to obtain value in the | 
					
						
							| 
									
										
										
										
											2012-06-12 15:31:27 +02:00
										 |  |  | 		<type> units as specified in <type>[Y]_raw documentation. | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | 		Not present if the offset is always 0 or unknown. If Y or | 
					
						
							|  |  |  | 		axis <x|y|z> is not present, then the offset applies to all | 
					
						
							|  |  |  | 		in channels of <type>. | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		May be writable if a variable offset can be applied on the | 
					
						
							|  |  |  | 		device. Note that this is different to calibbias which | 
					
						
							|  |  |  | 		is for devices (or drivers) that apply offsets to compensate | 
					
						
							|  |  |  | 		for variation between different instances of the part, typically | 
					
						
							|  |  |  | 		adjusted by using some hardware supported calibration procedure. | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | 		Calibbias is applied internally, offset is applied in userspace | 
					
						
							|  |  |  | 		to the _raw output. | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_scale | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_voltage_scale | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_scale | 
					
						
							| 
									
										
										
										
											2012-05-21 14:30:31 +02:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_accel_scale | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale | 
					
						
							| 
									
										
										
										
											2011-10-05 15:28:00 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_scale | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_magn_scale | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_magn_x_scale | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_magn_y_scale | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_magn_z_scale | 
					
						
							| 
									
										
										
										
											2012-11-20 13:36:00 +00:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_pressureY_scale | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_pressure_scale | 
					
						
							| 
									
										
										
										
											2010-05-07 15:38:57 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		If known for a device, scale to be applied to <type>Y[_name]_raw | 
					
						
							|  |  |  | 		post addition of <type>[Y][_name]_offset in order to obtain the | 
					
						
							|  |  |  | 		measured value in <type> units as specified in | 
					
						
							| 
									
										
										
										
											2012-04-25 15:54:57 +01:00
										 |  |  | 		<type>[Y][_name]_raw documentation.  If shared across all in | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | 		channels then Y and <x|y|z> are not present and the value is | 
					
						
							|  |  |  | 		called <type>[Y][_name]_scale. The peak modifier means this | 
					
						
							|  |  |  | 		value is applied to <type>Y[_name]_peak_raw values. | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_accel_x_calibbias | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_accel_y_calibbias | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_accel_z_calibbias | 
					
						
							| 
									
										
										
										
											2011-10-05 15:28:00 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibbias | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibbias | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibbias | 
					
						
							| 
									
										
										
										
											2012-04-24 11:56:49 -05:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibbias | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_proximity0_calibbias | 
					
						
							| 
									
										
										
										
											2012-11-20 13:36:00 +00:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_pressureY_calibbias | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_pressure_calibbias | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2012-06-12 15:31:27 +02:00
										 |  |  | 		Hardware applied calibration offset (assumed to fix production | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | 		inaccuracies). | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What		/sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale | 
					
						
							|  |  |  | What		/sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_calibscale | 
					
						
							|  |  |  | What		/sys/bus/iio/devices/iio:deviceX/in_voltage_calibscale | 
					
						
							|  |  |  | What		/sys/bus/iio/devices/iio:deviceX/in_accel_x_calibscale | 
					
						
							|  |  |  | What		/sys/bus/iio/devices/iio:deviceX/in_accel_y_calibscale | 
					
						
							|  |  |  | What		/sys/bus/iio/devices/iio:deviceX/in_accel_z_calibscale | 
					
						
							| 
									
										
										
										
											2011-10-05 15:28:00 +01:00
										 |  |  | What		/sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibscale | 
					
						
							|  |  |  | What		/sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibscale | 
					
						
							|  |  |  | What		/sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibscale | 
					
						
							| 
									
										
										
										
											2012-04-24 11:56:49 -05:00
										 |  |  | what		/sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibscale | 
					
						
							|  |  |  | what		/sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale | 
					
						
							| 
									
										
										
										
											2012-11-20 13:36:00 +00:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_pressure_calibscale | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2012-06-12 15:31:27 +02:00
										 |  |  | 		Hardware applied calibration scale factor (assumed to fix | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		production inaccuracies).  If shared across all channels, | 
					
						
							|  |  |  | 		<type>_calibscale is used. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/in_accel_scale_available | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/in_voltageX_scale_available | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/in_voltage-voltage_scale_available | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/out_voltageX_scale_available | 
					
						
							| 
									
										
										
										
											2012-05-21 14:30:31 +02:00
										 |  |  | What:		/sys/.../iio:deviceX/out_altvoltageX_scale_available | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:52 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/in_capacitance_scale_available | 
					
						
							| 
									
										
										
										
											2012-11-20 13:36:00 +00:00
										 |  |  | What:		/sys/.../iio:deviceX/in_pressure_scale_available | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/in_pressureY_scale_available | 
					
						
							| 
									
										
										
										
											2012-07-01 12:20:11 +02:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2012-06-12 15:31:27 +02:00
										 |  |  | 		If a discrete set of scale values is available, they | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		are listed in this attribute. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-11 11:36:53 +02:00
										 |  |  | What		/sys/bus/iio/devices/iio:deviceX/out_voltageY_hardwaregain | 
					
						
							|  |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Hardware applied gain factor. If shared across all channels, | 
					
						
							|  |  |  | 		<type>_hardwaregain is used. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-11-27 11:39:14 +00:00
										 |  |  | What:		/sys/.../in_accel_filter_low_pass_3db_frequency | 
					
						
							|  |  |  | What:		/sys/.../in_magn_filter_low_pass_3db_frequency | 
					
						
							|  |  |  | What:		/sys/.../in_anglvel_filter_low_pass_3db_frequency | 
					
						
							|  |  |  | KernelVersion:	3.2 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		If a known or controllable low pass filter is applied | 
					
						
							|  |  |  | 		to the underlying data channel, then this parameter | 
					
						
							|  |  |  | 		gives the 3dB frequency of the filter in Hz. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_raw | 
					
						
							| 
									
										
										
										
											2012-05-21 14:30:31 +02:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw | 
					
						
							| 
									
										
										
										
											2011-01-13 17:43:29 +01:00
										 |  |  | KernelVersion:	2.6.37 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Raw (unscaled, no bias etc.) output voltage for | 
					
						
							|  |  |  | 		channel Y.  The number must always be specified and | 
					
						
							|  |  |  | 		unique if the output corresponds to a single channel. | 
					
						
							| 
									
										
										
										
											2012-05-21 14:30:31 +02:00
										 |  |  | 		While DAC like devices typically use out_voltage, | 
					
						
							|  |  |  | 		a continuous frequency generating device, such as | 
					
						
							|  |  |  | 		a DDS or PLL should use out_altvoltage. | 
					
						
							| 
									
										
										
										
											2011-01-13 17:43:29 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw | 
					
						
							| 
									
										
										
										
											2012-05-21 14:30:31 +02:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw | 
					
						
							| 
									
										
										
										
											2011-01-13 17:43:29 +01:00
										 |  |  | KernelVersion:	2.6.37 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Raw (unscaled, no bias etc.) output voltage for an aggregate of | 
					
						
							|  |  |  | 		channel Y, channel Z, etc.  This interface is available in cases | 
					
						
							|  |  |  | 		where a single output sets the value for multiple channels | 
					
						
							|  |  |  | 		simultaneously. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode | 
					
						
							| 
									
										
										
										
											2012-05-21 14:30:31 +02:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode | 
					
						
							| 
									
										
										
										
											2011-03-09 16:01:45 +01:00
										 |  |  | KernelVersion:	2.6.38 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Specifies the output powerdown mode. | 
					
						
							|  |  |  | 		DAC output stage is disconnected from the amplifier and | 
					
						
							| 
									
										
										
										
											2012-06-12 15:31:27 +02:00
										 |  |  | 		1kohm_to_gnd: connected	to ground via an 1kOhm resistor, | 
					
						
							|  |  |  | 		6kohm_to_gnd: connected to ground via a 6kOhm resistor, | 
					
						
							|  |  |  | 		20kohm_to_gnd: connected to ground via a 20kOhm resistor, | 
					
						
							|  |  |  | 		100kohm_to_gnd: connected to ground via an 100kOhm resistor, | 
					
						
							| 
									
										
										
										
											2013-06-23 22:30:00 +01:00
										 |  |  | 		500kohm_to_gnd: connected to ground via a 500kOhm resistor, | 
					
						
							| 
									
										
										
										
											2012-06-12 15:31:27 +02:00
										 |  |  | 		three_state: left floating. | 
					
						
							| 
									
										
										
										
											2011-03-09 16:01:45 +01:00
										 |  |  | 		For a list of available output power down options read | 
					
						
							|  |  |  | 		outX_powerdown_mode_available. If Y is not present the | 
					
						
							|  |  |  | 		mode is shared across all outputs. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/out_votlageY_powerdown_mode_available | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/out_voltage_powerdown_mode_available | 
					
						
							| 
									
										
										
										
											2012-05-21 14:30:31 +02:00
										 |  |  | What:		/sys/.../iio:deviceX/out_altvotlageY_powerdown_mode_available | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available | 
					
						
							| 
									
										
										
										
											2011-03-09 16:01:45 +01:00
										 |  |  | KernelVersion:	2.6.38 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Lists all available output power down modes. | 
					
						
							|  |  |  | 		If Y is not present the mode is shared across all outputs. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown | 
					
						
							| 
									
										
										
										
											2012-05-21 14:30:31 +02:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown | 
					
						
							| 
									
										
										
										
											2011-03-09 16:01:45 +01:00
										 |  |  | KernelVersion:	2.6.38 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Writing 1 causes output Y to enter the power down mode specified | 
					
						
							| 
									
										
										
										
											2012-06-12 15:31:27 +02:00
										 |  |  | 		by the corresponding outY_powerdown_mode. DAC output stage is | 
					
						
							|  |  |  | 		disconnected from the amplifier. Clearing returns to normal | 
					
						
							|  |  |  | 		operation. Y may be suppressed if all outputs are controlled | 
					
						
							|  |  |  | 		together. | 
					
						
							| 
									
										
										
										
											2011-03-09 16:01:45 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-21 14:30:31 +02:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency | 
					
						
							|  |  |  | KernelVersion:	3.4.0 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Output frequency for channel Y in Hz. The number must always be | 
					
						
							|  |  |  | 		specified and unique if the output corresponds to a single | 
					
						
							|  |  |  | 		channel. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase | 
					
						
							|  |  |  | KernelVersion:	3.4.0 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Phase in radians of one frequency/clock output Y | 
					
						
							|  |  |  | 		(out_altvoltageY) relative to another frequency/clock output | 
					
						
							|  |  |  | 		(out_altvoltageZ) of the device X. The number must always be | 
					
						
							|  |  |  | 		specified and unique if the output corresponds to a single | 
					
						
							|  |  |  | 		channel. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-08-30 12:32:49 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/events | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Configuration of which hardware generated events are passed up | 
					
						
							|  |  |  | 		to user-space. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/events/in_accel_x_thresh_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_x_thresh_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_y_thresh_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_y_thresh_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_z_thresh_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_z_thresh_falling_en | 
					
						
							| 
									
										
										
										
											2011-10-05 15:28:00 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/events/in_anglvel_x_thresh_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_anglvel_x_thresh_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_anglvel_y_thresh_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_anglvel_y_thresh_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_anglvel_z_thresh_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_anglvel_z_thresh_falling_en | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/events/in_magn_x_thresh_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_magn_x_thresh_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_magn_y_thresh_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_magn_y_thresh_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_magn_z_thresh_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_magn_z_thresh_falling_en | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/events/in_voltageY_supply_thresh_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_voltageY_supply_thresh_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_voltageY_thresh_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_voltageY_thresh_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_tempY_thresh_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_tempY_thresh_falling_en | 
					
						
							| 
									
										
										
										
											2010-10-08 12:14:12 +01:00
										 |  |  | KernelVersion:	2.6.37 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		Event generated when channel passes a threshold in the specified | 
					
						
							| 
									
										
										
										
											2010-10-08 12:14:12 +01:00
										 |  |  | 		(_rising|_falling) direction. If the direction is not specified, | 
					
						
							|  |  |  | 		then either the device will report an event which ever direction | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | 		a single threshold value is passed in (e.g. | 
					
						
							|  |  |  | 		<type>[Y][_name]_<raw|input>_thresh_value) or | 
					
						
							|  |  |  | 		<type>[Y][_name]_<raw|input>_thresh_rising_value and | 
					
						
							|  |  |  | 		<type>[Y][_name]_<raw|input>_thresh_falling_value may take | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		different values, but the device can only enable both thresholds | 
					
						
							|  |  |  | 		or neither. | 
					
						
							| 
									
										
										
										
											2010-10-08 12:14:12 +01:00
										 |  |  | 		Note the driver will assume the last p events requested are | 
					
						
							| 
									
										
										
										
											2012-06-12 15:31:27 +02:00
										 |  |  | 		to be enabled where p is how many it supports (which may vary | 
					
						
							|  |  |  | 		depending on the exact set requested. So if you want to be | 
					
						
							| 
									
										
										
										
											2010-10-08 12:14:12 +01:00
										 |  |  | 		sure you have set what you think you have, check the contents of | 
					
						
							|  |  |  | 		these attributes after everything is configured. Drivers may | 
					
						
							|  |  |  | 		have to buffer any parameters so that they are consistent when | 
					
						
							| 
									
										
										
										
											2012-06-12 15:31:27 +02:00
										 |  |  | 		a given event type is enabled at a future point (and not those for | 
					
						
							| 
									
										
										
										
											2010-10-08 12:14:12 +01:00
										 |  |  | 		whatever event was previously enabled). | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/events/in_accel_x_roc_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_x_roc_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_y_roc_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_y_roc_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_z_roc_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_z_roc_falling_en | 
					
						
							| 
									
										
										
										
											2011-10-05 15:28:00 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/events/in_anglvel_x_roc_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_anglvel_x_roc_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_anglvel_y_roc_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_anglvel_y_roc_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_anglvel_z_roc_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_anglvel_z_roc_falling_en | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/events/in_magn_x_roc_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_magn_x_roc_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_magn_y_roc_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_magn_y_roc_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_magn_z_roc_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_magn_z_roc_falling_en | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/events/in_voltageY_supply_roc_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_voltageY_supply_roc_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_voltageY_roc_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_voltageY_roc_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_tempY_roc_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_tempY_roc_falling_en | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | KernelVersion:	2.6.37 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Event generated when channel passes a threshold on the rate of | 
					
						
							|  |  |  | 		change (1st differential) in the specified (_rising|_falling) | 
					
						
							|  |  |  | 		direction. If the direction is not specified, then either the | 
					
						
							|  |  |  | 		device will report an event which ever direction a single | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | 		threshold value is passed in (e.g. | 
					
						
							|  |  |  | 		<type>[Y][_name]_<raw|input>_roc_value) or | 
					
						
							|  |  |  | 		<type>[Y][_name]_<raw|input>_roc_rising_value and | 
					
						
							|  |  |  | 		<type>[Y][_name]_<raw|input>_roc_falling_value may take | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		different values, but the device can only enable both rate of | 
					
						
							|  |  |  | 		change thresholds or neither. | 
					
						
							|  |  |  | 		Note the driver will assume the last p events requested are | 
					
						
							|  |  |  | 		to be enabled where p is however many it supports (which may | 
					
						
							|  |  |  | 		vary depending on the exact set requested. So if you want to be | 
					
						
							|  |  |  | 		sure you have set what you think you have, check the contents of | 
					
						
							|  |  |  | 		these attributes after everything is configured. Drivers may | 
					
						
							|  |  |  | 		have to buffer any parameters so that they are consistent when | 
					
						
							|  |  |  | 		a given event type is enabled a future point (and not those for | 
					
						
							|  |  |  | 		whatever event was previously enabled). | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/.../events/in_accel_x_raw_thresh_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_x_raw_thresh_falling_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_y_raw_thresh_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_y_raw_thresh_falling_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_z_raw_thresh_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_z_raw_thresh_falling_value | 
					
						
							| 
									
										
										
										
											2011-10-05 15:28:00 +01:00
										 |  |  | What:		/sys/.../events/in_anglvel_x_raw_thresh_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_x_raw_thresh_falling_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_y_raw_thresh_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_y_raw_thresh_falling_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_z_raw_thresh_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_z_raw_thresh_falling_value | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/.../events/in_magn_x_raw_thresh_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_x_raw_thresh_falling_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_y_raw_thresh_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_y_raw_thresh_falling_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_z_raw_thresh_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_z_raw_thresh_falling_value | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | What:		/sys/.../events/in_voltageY_supply_raw_thresh_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_voltageY_supply_raw_thresh_falling_value | 
					
						
							| 
									
										
										
										
											2012-04-13 10:24:19 +01:00
										 |  |  | What:		/sys/.../events/in_voltageY_raw_thresh_rising_value | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | What:		/sys/.../events/in_voltageY_raw_thresh_falling_value | 
					
						
							| 
									
										
										
										
											2012-04-13 10:24:19 +01:00
										 |  |  | What:		/sys/.../events/in_tempY_raw_thresh_rising_value | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | What:		/sys/.../events/in_tempY_raw_thresh_falling_value | 
					
						
							| 
									
										
										
										
											2012-04-24 11:56:49 -05:00
										 |  |  | What:		/sys/.../events/in_illuminance0_thresh_falling_value | 
					
						
							|  |  |  | what:		/sys/.../events/in_illuminance0_thresh_rising_value | 
					
						
							|  |  |  | what:		/sys/.../events/in_proximity0_thresh_falling_value | 
					
						
							|  |  |  | what:		/sys/.../events/in_proximity0_thresh_rising_value | 
					
						
							| 
									
										
										
										
											2010-10-08 12:14:12 +01:00
										 |  |  | KernelVersion:	2.6.37 | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2010-10-08 12:14:12 +01:00
										 |  |  | 		Specifies the value of threshold that the device is comparing | 
					
						
							|  |  |  | 		against for the events enabled by | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | 		<type>Y[_name]_thresh[_rising|falling]_en. | 
					
						
							|  |  |  | 		If separate attributes exist for the two directions, but | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		direction is not specified for this attribute, then a single | 
					
						
							|  |  |  | 		threshold value applies to both directions. | 
					
						
							| 
									
										
										
										
											2010-10-08 12:14:12 +01:00
										 |  |  | 		The raw or input element of the name indicates whether the | 
					
						
							|  |  |  | 		value is in raw device units or in processed units (as _raw | 
					
						
							|  |  |  | 		and _input do on sysfs direct channel read attributes). | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/.../events/in_accel_x_raw_roc_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_x_raw_roc_falling_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_y_raw_roc_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_y_raw_roc_falling_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_z_raw_roc_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_z_raw_roc_falling_value | 
					
						
							| 
									
										
										
										
											2011-10-05 15:28:00 +01:00
										 |  |  | What:		/sys/.../events/in_anglvel_x_raw_roc_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_x_raw_roc_falling_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_y_raw_roc_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_y_raw_roc_falling_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_z_raw_roc_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_z_raw_roc_falling_value | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/.../events/in_magn_x_raw_roc_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_x_raw_roc_falling_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_y_raw_roc_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_y_raw_roc_falling_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_z_raw_roc_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_z_raw_roc_falling_value | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | What:		/sys/.../events/in_voltageY_supply_raw_roc_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_voltageY_supply_raw_roc_falling_value | 
					
						
							| 
									
										
										
										
											2012-04-13 10:24:19 +01:00
										 |  |  | What:		/sys/.../events/in_voltageY_raw_roc_rising_value | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | What:		/sys/.../events/in_voltageY_raw_roc_falling_value | 
					
						
							| 
									
										
										
										
											2012-04-13 10:24:19 +01:00
										 |  |  | What:		/sys/.../events/in_tempY_raw_roc_rising_value | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | What:		/sys/.../events/in_tempY_raw_roc_falling_value | 
					
						
							| 
									
										
										
										
											2010-10-08 12:14:12 +01:00
										 |  |  | KernelVersion:	2.6.37 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		Specifies the value of rate of change threshold that the | 
					
						
							|  |  |  | 		device is comparing against for the events enabled by | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | 		<type>[Y][_name]_roc[_rising|falling]_en. | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		If separate attributes exist for the two directions, | 
					
						
							|  |  |  | 		but direction is not specified for this attribute, | 
					
						
							|  |  |  | 		then a single threshold value applies to both directions. | 
					
						
							|  |  |  | 		The raw or input element of the name indicates whether the | 
					
						
							|  |  |  | 		value is in raw device units or in processed units (as _raw | 
					
						
							|  |  |  | 		and _input do on sysfs direct channel read attributes). | 
					
						
							| 
									
										
										
										
											2010-10-08 12:14:12 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/.../events/in_accel_x_thresh_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_x_thresh_falling_period | 
					
						
							|  |  |  | hat:		/sys/.../events/in_accel_x_roc_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_x_roc_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_y_thresh_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_y_thresh_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_y_roc_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_y_roc_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_z_thresh_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_z_thresh_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_z_roc_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_z_roc_falling_period | 
					
						
							| 
									
										
										
										
											2011-10-05 15:28:00 +01:00
										 |  |  | What:		/sys/.../events/in_anglvel_x_thresh_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_x_thresh_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_x_roc_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_x_roc_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_y_thresh_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_y_thresh_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_y_roc_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_y_roc_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_z_thresh_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_z_thresh_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_z_roc_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_anglvel_z_roc_falling_period | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/.../events/in_magn_x_thresh_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_x_thresh_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_x_roc_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_x_roc_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_y_thresh_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_y_thresh_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_y_roc_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_y_roc_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_z_thresh_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_z_thresh_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_z_roc_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_magn_z_roc_falling_period | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | What:		/sys/.../events/in_voltageY_supply_thresh_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_voltageY_supply_thresh_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_voltageY_supply_roc_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_voltageY_supply_roc_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_voltageY_thresh_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_voltageY_thresh_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_voltageY_roc_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_voltageY_roc_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_tempY_thresh_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_tempY_thresh_falling_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_tempY_roc_rising_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_tempY_roc_falling_period | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/.../events/in_accel_x&y&z_mag_falling_period | 
					
						
							| 
									
										
										
										
											2012-04-24 11:56:49 -05:00
										 |  |  | What:		/sys/.../events/in_intensity0_thresh_period | 
					
						
							|  |  |  | What:		/sys/.../events/in_proximity0_thresh_period | 
					
						
							| 
									
										
										
										
											2010-10-08 12:14:12 +01:00
										 |  |  | KernelVersion:	2.6.37 | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		Period of time (in seconds) for which the condition must be | 
					
						
							|  |  |  | 		met before an event is generated. If direction is not | 
					
						
							| 
									
										
										
										
											2010-10-08 12:14:12 +01:00
										 |  |  | 		specified then this period applies to both directions. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/events/in_accel_mag_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_mag_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_mag_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_x_mag_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_x_mag_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_x_mag_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_y_mag_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_y_mag_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_y_mag_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_z_mag_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_z_mag_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_z_mag_falling_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_x&y&z_mag_rising_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/events/in_accel_x&y&z_mag_falling_en | 
					
						
							| 
									
										
										
										
											2010-10-08 12:14:12 +01:00
										 |  |  | KernelVersion:	2.6.37 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | 		Similar to in_accel_x_thresh[_rising|_falling]_en, but here the | 
					
						
							| 
									
										
										
										
											2010-10-08 12:14:12 +01:00
										 |  |  | 		magnitude of the channel is compared to the threshold, not its | 
					
						
							|  |  |  | 		signed value. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | What:		/sys/.../events/in_accel_raw_mag_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_x_raw_mag_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_y_raw_mag_rising_value | 
					
						
							|  |  |  | What:		/sys/.../events/in_accel_z_raw_mag_rising_value | 
					
						
							| 
									
										
										
										
											2010-10-08 12:14:12 +01:00
										 |  |  | KernelVersion:	2.6.37 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		The value to which the magnitude of the channel is compared. If | 
					
						
							|  |  |  | 		number or direction is not specified, applies to all channels of | 
					
						
							|  |  |  | 		this type. | 
					
						
							| 
									
										
										
										
											2010-10-08 12:14:12 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-08-30 12:32:49 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/trigger/current_trigger | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		The name of the trigger source being used, as per string given | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		in /sys/class/iio/triggerY/name. | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-08-30 12:32:49 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/buffer/length | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Number of scans contained by the buffer. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-08-30 12:32:49 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/buffer/bytes_per_datum | 
					
						
							| 
									
										
										
										
											2010-08-31 11:32:53 +02:00
										 |  |  | KernelVersion:	2.6.37 | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Bytes per scan.  Due to alignment fun, the scan may be larger | 
					
						
							|  |  |  | 		than implied directly by the scan_element parameters. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-08-30 12:32:49 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/buffer/enable | 
					
						
							| 
									
										
										
										
											2010-05-04 14:43:05 +01:00
										 |  |  | KernelVersion:	2.6.35 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Actually start the buffer capture up.  Will start trigger | 
					
						
							|  |  |  | 		if first device and appropriate. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-06-11 15:52:00 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/scan_elements | 
					
						
							| 
									
										
										
										
											2010-08-31 11:32:53 +02:00
										 |  |  | KernelVersion:	2.6.37 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2010-10-08 12:14:12 +01:00
										 |  |  | 		Directory containing interfaces for elements that will be | 
					
						
							|  |  |  | 		captured for a single triggered sample set in the buffer. | 
					
						
							| 
									
										
										
										
											2010-08-31 11:32:53 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-06-11 15:52:00 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_accel_x_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_accel_y_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_accel_z_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_anglvel_x_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_anglvel_y_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_anglvel_z_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_magn_x_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_magn_y_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_magn_z_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_timestamp_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_supply_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_voltageY-voltageZ_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_incli_x_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_incli_y_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_pressureY_en | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_pressure_en | 
					
						
							| 
									
										
										
										
											2010-08-31 11:32:53 +02:00
										 |  |  | KernelVersion:	2.6.37 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2010-09-21 14:41:08 +01:00
										 |  |  | 		Scan element control for triggered data capture. | 
					
						
							| 
									
										
										
										
											2010-08-31 11:32:53 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-06-11 15:52:00 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_accel_type | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_anglvel_type | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_magn_type | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_incli_type | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_type | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_voltage_type | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_supply_type | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_timestamp_type | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_pressureY_type | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_pressure_type | 
					
						
							| 
									
										
										
										
											2010-08-31 11:32:53 +02:00
										 |  |  | KernelVersion:	2.6.37 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							| 
									
										
										
										
											2010-09-21 14:41:08 +01:00
										 |  |  | 		Description of the scan element data storage within the buffer | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		and hence the form in which it is read from user-space. | 
					
						
							| 
									
										
										
										
											2011-09-21 11:15:51 +01:00
										 |  |  | 		Form is [be|le]:[s|u]bits/storagebits[>>shift]. | 
					
						
							|  |  |  | 		be or le specifies big or little endian. s or u specifies if | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		signed (2's complement) or unsigned. bits is the number of bits | 
					
						
							|  |  |  | 		of data and storagebits is the space (after padding) that it | 
					
						
							|  |  |  | 		occupies in the buffer. shift if specified, is the shift that | 
					
						
							|  |  |  | 		needs to be applied prior to masking out unused bits. Some | 
					
						
							|  |  |  | 		devices put their data in the middle of the transferred elements | 
					
						
							|  |  |  | 		with additional information on both sides.  Note that some | 
					
						
							|  |  |  | 		devices will have additional information in the unused bits | 
					
						
							|  |  |  | 		so to get a clean value, the bits value must be used to mask | 
					
						
							|  |  |  | 		the buffer output value appropriately.  The storagebits value | 
					
						
							|  |  |  | 		also specifies the data alignment.  So s48/64>>2 will be a | 
					
						
							|  |  |  | 		signed 48 bit integer stored in a 64 bit location aligned to | 
					
						
							| 
									
										
										
										
											2012-06-12 15:31:27 +02:00
										 |  |  | 		a 64 bit boundary. To obtain the clean value, shift right 2 | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		and apply a mask to zero the top 16 bits of the result. | 
					
						
							| 
									
										
										
										
											2010-09-21 14:41:08 +01:00
										 |  |  | 		For other storage combinations this attribute will be extended | 
					
						
							|  |  |  | 		appropriately. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-06-11 15:52:00 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_accel_type_available | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | KernelVersion:	2.6.37 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		If the type parameter can take one of a small set of values, | 
					
						
							|  |  |  | 		this attribute lists them. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-06-11 15:52:00 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_index | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_supply_index | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_accel_x_index | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_accel_y_index | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_accel_z_index | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_anglvel_x_index | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_anglvel_y_index | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_anglvel_z_index | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_magn_x_index | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_magn_y_index | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_magn_z_index | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_incli_x_index | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_incli_y_index | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_timestamp_index | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_pressureY_index | 
					
						
							|  |  |  | What:		/sys/.../iio:deviceX/scan_elements/in_pressure_index | 
					
						
							| 
									
										
										
										
											2010-09-21 14:41:08 +01:00
										 |  |  | KernelVersion:	2.6.37 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		A single positive integer specifying the position of this | 
					
						
							| 
									
										
										
										
											2010-11-22 23:31:16 +00:00
										 |  |  | 		scan element in the buffer. Note these are not dependent on | 
					
						
							|  |  |  | 		what is enabled and may not be contiguous. Thus for user-space | 
					
						
							| 
									
										
										
										
											2010-09-21 14:41:08 +01:00
										 |  |  | 		to establish the full layout these must be used in conjunction | 
					
						
							|  |  |  | 		with all _en attributes to establish which channels are present, | 
					
						
							|  |  |  | 		and the relevant _type attributes to establish the data storage | 
					
						
							|  |  |  | 		format. | 
					
						
							| 
									
										
										
										
											2011-04-06 11:42:48 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-10-05 15:28:00 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/in_anglvel_z_quadrature_correction_raw | 
					
						
							| 
									
										
										
										
											2011-04-06 11:42:48 +02:00
										 |  |  | KernelVersion:	2.6.38 | 
					
						
							| 
									
										
										
										
											2011-09-02 17:14:35 +01:00
										 |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							| 
									
										
										
										
											2011-04-06 11:42:48 +02:00
										 |  |  | Description: | 
					
						
							|  |  |  | 		This attribute is used to read the amount of quadrature error | 
					
						
							|  |  |  | 		present in the device at a given time. | 
					
						
							| 
									
										
										
										
											2013-06-23 22:30:00 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-08-28 12:01:00 +01:00
										 |  |  | What:		/sys/.../iio:deviceX/in_accelX_power_mode | 
					
						
							|  |  |  | KernelVersion:	3.11 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Specifies the chip power mode. | 
					
						
							|  |  |  | 		low_noise: reduce noise level from ADC, | 
					
						
							|  |  |  | 		low_power: enable low current consumption. | 
					
						
							|  |  |  | 		For a list of available output power modes read | 
					
						
							|  |  |  | 		in_accel_power_mode_available. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-06-23 22:30:00 +01:00
										 |  |  | What:		/sys/bus/iio/devices/iio:deviceX/store_eeprom | 
					
						
							|  |  |  | KernelVersion:	3.4.0 | 
					
						
							|  |  |  | Contact:	linux-iio@vger.kernel.org | 
					
						
							|  |  |  | Description: | 
					
						
							|  |  |  | 		Writing '1' stores the current device configuration into | 
					
						
							|  |  |  | 		on-chip EEPROM. After power-up or chip reset the device will | 
					
						
							|  |  |  | 		automatically load the saved configuration. |