sysfs-bus-iio 49 KB

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