aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/Documentation/sysfs-bus-iio
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/iio/Documentation/sysfs-bus-iio')
-rw-r--r--drivers/staging/iio/Documentation/sysfs-bus-iio738
1 files changed, 378 insertions, 360 deletions
diff --git a/drivers/staging/iio/Documentation/sysfs-bus-iio b/drivers/staging/iio/Documentation/sysfs-bus-iio
index 467c49a47258..0d6823d19b61 100644
--- a/drivers/staging/iio/Documentation/sysfs-bus-iio
+++ b/drivers/staging/iio/Documentation/sysfs-bus-iio
@@ -1,17 +1,11 @@
-What: /sys/bus/iio/devices/deviceX
+What: /sys/bus/iio/devices/iio:deviceX
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
- Hardware chip or device accessed by on communication port.
+ Hardware chip or device accessed by one communication port.
Corresponds to a grouping of sensor channels. X is the IIO
index of the device.
-What: /sys/bus/iio/devices/device[n]/power_state
-KernelVersion: 2.6.37
-Contact: linux-iio@vger.kernel.org
-Description:
- This property gets/sets the device power state.
-
What: /sys/bus/iio/devices/triggerX
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
@@ -25,21 +19,22 @@ Description:
generalize well and hence are not documented in this file.
X is the IIO index of the trigger.
-What: /sys/bus/iio/devices/deviceX:buffer
+What: /sys/bus/iio/devices/iio:deviceX/buffer
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
- Link to /sys/class/iio/deviceX/deviceX:buffer. X indicates
- the device with which this buffer buffer is associated.
+ Directory of attributes relating to the buffer for the device.
-What: /sys/bus/iio/devices/deviceX/name
+What: /sys/bus/iio/devices/iio:deviceX/name
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Description of the physical chip / device for device X.
Typically a part number.
-What: /sys/bus/iio/devices/deviceX/sampling_frequency
+What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency
+What: /sys/bus/iio/devices/iio:deviceX/buffer/sampling_frequency
+What: /sys/bus/iio/devices/triggerX/sampling_frequency
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
@@ -50,42 +45,32 @@ Description:
effects datardy triggers, hardware buffers and the sysfs
direct access interfaces, it may be found in any of the
relevant directories. If it effects all of the above
- then it is to be found in the base device directory as here.
+ then it is to be found in the base device directory.
-What: /sys/bus/iio/devices/deviceX/sampling_frequency_available
+What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency_available
+What: /sys/.../iio:deviceX/buffer/sampling_frequency_available
+What: /sys/bus/iio/devices/triggerX/sampling_frequency_available
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
When the internal sampling clock can only take a small
discrete set of values, this file lists those available.
-What: /sys/bus/iio/devices/deviceX/range
-KernelVersion: 2.6.38
-Contact: linux-iio@vger.kernel.org
-Description:
- Hardware dependent ADC Full Scale Range in mVolt.
-
-What: /sys/bus/iio/devices/deviceX/range_available
-KernelVersion: 2.6.38
-Contact: linux-iio@vger.kernel.org
-Description:
- Hardware dependent supported vales for ADC Full Scale Range.
-
-What: /sys/bus/iio/devices/deviceX/oversampling_ratio
+What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio
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.
-What: /sys/bus/iio/devices/deviceX/oversampling_ratio_available
+What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio_available
KernelVersion: 2.6.38
Contact: linux-iio@vger.kernel.org
Description:
Hardware dependent values supported by the oversampling filter.
-What: /sys/bus/iio/devices/deviceX/inY_raw
-What: /sys/bus/iio/devices/deviceX/inY_supply_raw
+What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_raw
+What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_raw
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
@@ -93,9 +78,10 @@ Description:
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
- unique to allow association with event codes.
+ unique to allow association with event codes. Units after
+ application of scale and offset are microvolts.
-What: /sys/bus/iio/devices/deviceX/inY-inZ_raw
+What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_raw
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
@@ -103,52 +89,73 @@ Description:
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.
+ is required is a consistent labeling. Units after application
+ of scale and offset are microvolts.
-What: /sys/bus/iio/devices/deviceX/temp_raw
-What: /sys/bus/iio/devices/deviceX/temp_x_raw
-What: /sys/bus/iio/devices/deviceX/temp_y_raw
-What: /sys/bus/iio/devices/deviceX/temp_z_raw
+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
+ of scale and offset are nanofarads..
+
+What: /sys/bus/iio/devices/iio:deviceX/in_temp_raw
+What: /sys/bus/iio/devices/iio:deviceX/in_tempX_raw
+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
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Raw (unscaled no bias removal etc) temperature measurement.
It an axis is specified it generally means that the temperature
sensor is associated with one part of a compound device (e.g.
- a gyroscope axis).
+ a gyroscope axis). Units after application of scale and offset
+ are milli degrees Celsuis.
-What: /sys/bus/iio/devices/deviceX/tempX_input
+What: /sys/bus/iio/devices/iio:deviceX/in_tempX_input
KernelVersion: 2.6.38
Contact: linux-iio@vger.kernel.org
Description:
Scaled temperature measurement in milli degrees Celsius.
-What: /sys/bus/iio/devices/deviceX/accel_x_raw
-What: /sys/bus/iio/devices/deviceX/accel_y_raw
-What: /sys/bus/iio/devices/deviceX/accel_z_raw
+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
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Acceleration in direction x, y or z (may be arbitrarily assigned
- but should match other such assignments on device)
- channel m (not present if only one accelerometer channel at
- this orientation). Has all of the equivalent parameters as per
- inY. Units after application of scale and offset are m/s^2.
-
-What: /sys/bus/iio/devices/deviceX/gyro_x_raw
-What: /sys/bus/iio/devices/deviceX/gyro_y_raw
-What: /sys/bus/iio/devices/deviceX/gyro_z_raw
+ 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.
+
+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
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Angular velocity about axis x, y or z (may be arbitrarily
assigned) Data converted by application of offset then scale to
radians per second. Has all the equivalent parameters as
- per inY.
+ per voltageY. Units after application of scale and offset are
+ radians per second.
-What: /sys/bus/iio/devices/deviceX/incli_x_raw
-What: /sys/bus/iio/devices/deviceX/incli_y_raw
-What: /sys/bus/iio/devices/deviceX/incli_z_raw
+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
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
@@ -156,63 +163,69 @@ Description:
arbitrarily assigned). Data converted by application of offset
and scale to Degrees.
-What: /sys/bus/iio/devices/deviceX/magn_x_raw
-What: /sys/bus/iio/devices/deviceX/magn_y_raw
-What: /sys/bus/iio/devices/deviceX/magn_z_raw
+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
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Magnetic field along axis x, y or z (may be arbitrarily
- assigned) channel m (not present if only one magnetometer
- at this orientation). Data converted by application of
- offset then scale to Gauss. Has all the equivalent modifiers
- as per inY.
-
-What: /sys/bus/iio/devices/deviceX/accel_x_peak_raw
-What: /sys/bus/iio/devices/deviceX/accel_y_peak_raw
-What: /sys/bus/iio/devices/deviceX/accel_z_peak_raw
+ assigned). Data converted by application of offset
+ then scale to Gauss.
+
+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
KernelVersion: 2.6.36
Contact: linux-iio@vger.kernel.org
Description:
- Some devices provide a store of the highest value seen since
- some reset condition. These attributes allow access to this
- and are otherwise the direct equivalent of the
- <type>Y[_name]_raw attributes.
+ 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.
-What: /sys/bus/iio/devices/deviceX/accel_xyz_squared_peak_raw
+What: /sys/bus/iio/devices/iio:deviceX/in_accel_xyz_squared_peak_raw
KernelVersion: 2.6.36
Contact: linux-iio@vger.kernel.org
Description:
A computed peak value based on the sum squared magnitude of
the underlying value in the specified directions.
-What: /sys/bus/iio/devices/deviceX/accel_offset
-What: /sys/bus/iio/devices/deviceX/temp_offset
+What: /sys/bus/iio/devices/iio:deviceX/in_accel_offset
+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
+What: /sys/bus/iio/devices/iio:deviceX/in_temp_offset
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
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
<type> units as specified in <type>[y]_raw documentation.
- Not present if the offset is always 0 or unknown. If Y is not
- present, then the offset applies to all in channels of <type>.
+ 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>.
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.
-
-What: /sys/bus/iio/devices/deviceX/inY_scale
-What: /sys/bus/iio/devices/deviceX/inY_supply_scale
-What: /sys/bus/iio/devices/deviceX/in_scale
-What: /sys/bus/iio/devices/deviceX/outY_scale
-What: /sys/bus/iio/devices/deviceX/accel_scale
-What: /sys/bus/iio/devices/deviceX/accel_peak_scale
-What: /sys/bus/iio/devices/deviceX/gyro_scale
-What: /sys/bus/iio/devices/deviceX/magn_scale
-What: /sys/bus/iio/devices/deviceX/magn_x_scale
-What: /sys/bus/iio/devices/deviceX/magn_y_scale
-What: /sys/bus/iio/devices/deviceX/magn_z_scale
+ Calibbias is applied internally, offset is applied in userspace
+ to the _raw output.
+
+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
+What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale
+What: /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale
+What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_scale
+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
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
@@ -220,32 +233,31 @@ Description:
post addition of <type>[Y][_name]_offset in order to obtain the
measured value in <type> units as specified in
<type>[Y][_name]_raw documentation.. If shared across all in
- channels then Y is 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.
-
-What: /sys/bus/iio/devices/deviceX/accel_x_calibbias
-What: /sys/bus/iio/devices/deviceX/accel_y_calibbias
-What: /sys/bus/iio/devices/deviceX/accel_z_calibbias
-What: /sys/bus/iio/devices/deviceX/gyro_x_calibbias
-What: /sys/bus/iio/devices/deviceX/gyro_y_calibbias
-What: /sys/bus/iio/devices/deviceX/gyro_z_calibbias
+ 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.
+
+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
+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
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Hardware applied calibration offset. (assumed to fix production
- inaccuracies). If shared across all channels, <type>_calibbias
- is used.
-
-What /sys/bus/iio/devices/deviceX/inY_calibscale
-What /sys/bus/iio/devices/deviceX/inY_supply_calibscale
-What /sys/bus/iio/devices/deviceX/in_calibscale
-What /sys/bus/iio/devices/deviceX/accel_x_calibscale
-What /sys/bus/iio/devices/deviceX/accel_y_calibscale
-What /sys/bus/iio/devices/deviceX/accel_z_calibscale
-What /sys/bus/iio/devices/deviceX/gyro_x_calibscale
-What /sys/bus/iio/devices/deviceX/gyro_y_calibscale
-What /sys/bus/iio/devices/deviceX/gyro_z_calibscale
+ inaccuracies).
+
+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
+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
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
@@ -253,14 +265,18 @@ Description:
production inaccuracies). If shared across all channels,
<type>_calibscale is used.
-What: /sys/bus/iio/devices/deviceX/accel_scale_available
+What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale_available
+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
+What: /sys/.../iio:deviceX/in_capacitance_scale_available
KernelVersion: 2.635
Contact: linux-iio@vger.kernel.org
Description:
If a discrete set of scale values are available, they
are listed in this attribute.
-What: /sys/bus/iio/devices/deviceX/outY_raw
+What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
@@ -268,7 +284,7 @@ Description:
channel Y. The number must always be specified and
unique if the output corresponds to a single channel.
-What: /sys/bus/iio/devices/deviceX/outY&Z_raw
+What: /sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
@@ -277,8 +293,8 @@ Description:
where a single output sets the value for multiple channels
simultaneously.
-What: /sys/bus/iio/devices/deviceX/outY_powerdown_mode
-What: /sys/bus/iio/devices/deviceX/out_powerdown_mode
+What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode
+What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode
KernelVersion: 2.6.38
Contact: linux-iio@vger.kernel.org
Description:
@@ -291,16 +307,16 @@ Description:
outX_powerdown_mode_available. If Y is not present the
mode is shared across all outputs.
-What: /sys/bus/iio/devices/deviceX/outY_powerdown_mode_available
-What: /sys/bus/iio/devices/deviceX/out_powerdown_mode_available
+What: /sys/.../iio:deviceX/out_votlageY_powerdown_mode_available
+What: /sys/.../iio:deviceX/out_voltage_powerdown_mode_available
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.
-What: /sys/bus/iio/devices/deviceX/outY_powerdown
-What: /sys/bus/iio/devices/deviceX/out_powerdown
+What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown
+What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown
KernelVersion: 2.6.38
Contact: linux-iio@vger.kernel.org
Description:
@@ -309,55 +325,47 @@ Description:
normal operation. Y may be suppressed if all outputs are
controlled together.
-What: /sys/bus/iio/devices/deviceX/deviceX:eventY
+What: /sys/bus/iio/devices/iio:deviceX/events
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Configuration of which hardware generated events are passed up
to user-space.
-What: /sys/bus/iio/devices/deviceX:event/dev
-What: /sys/bus/iio/devices/deviceX:eventY/dev
-KernelVersion: 2.6.35
-Contact: linux-iio@vger.kernel.org
-Description:
- major:minor character device numbers for the event line Y of
- device X.
-
-What: /sys/.../deviceX:eventY/accel_x_thresh_rising_en
-What: /sys/.../deviceX:eventY/accel_x_thresh_falling_en
-What: /sys/.../deviceX:eventY/accel_y_thresh_rising_en
-What: /sys/.../deviceX:eventY/accel_y_thresh_falling_en
-What: /sys/.../deviceX:eventY/accel_z_thresh_rising_en
-What: /sys/.../deviceX:eventY/accel_z_thresh_falling_en
-What: /sys/.../deviceX:eventY/gyro_x_thresh_rising_en
-What: /sys/.../deviceX:eventY/gyro_x_thresh_falling_en
-What: /sys/.../deviceX:eventY/gyro_y_thresh_rising_en
-What: /sys/.../deviceX:eventY/gyro_y_thresh_falling_en
-What: /sys/.../deviceX:eventY/gyro_z_thresh_rising_en
-What: /sys/.../deviceX:eventY/gyro_z_thresh_falling_en
-What: /sys/.../deviceX:eventY/magn_x_thresh_rising_en
-What: /sys/.../deviceX:eventY/magn_x_thresh_falling_en
-What: /sys/.../deviceX:eventY/magn_y_thresh_rising_en
-What: /sys/.../deviceX:eventY/magn_y_thresh_falling_en
-What: /sys/.../deviceX:eventY/magn_z_thresh_rising_en
-What: /sys/.../deviceX:eventY/magn_z_thresh_falling_en
-What: /sys/.../deviceX:eventY/inZ_supply_thresh_rising_en
-What: /sys/.../deviceX:eventY/inZ_supply_thresh_falling_en
-What: /sys/.../deviceX:eventY/inZ_thresh_rising_en
-What: /sys/.../deviceX:eventY/inZ_thresh_falling_en
-What: /sys/.../deviceX:eventY/temp_thresh_rising_en
-What: /sys/.../deviceX:eventY/temp_thresh_falling_en
+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
+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
+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
+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
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
Event generated when channel passes a threshold 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 threshold value is called in (e.g.
- <type>[Z][_name]_<raw|input>_thresh_value) or
- <type>[Z][_name]_<raw|input>_thresh_rising_value and
- <type>[Z][_name]_<raw|input>_thresh_falling_value may take
+ 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
different values, but the device can only enable both thresholds
or neither.
Note the driver will assume the last p events requested are
@@ -369,30 +377,30 @@ Description:
a given event type is enabled a future point (and not those for
whatever event was previously enabled).
-What: /sys/.../deviceX:eventY/accel_x_roc_rising_en
-What: /sys/.../deviceX:eventY/accel_x_roc_falling_en
-What: /sys/.../deviceX:eventY/accel_y_roc_rising_en
-What: /sys/.../deviceX:eventY/accel_y_roc_falling_en
-What: /sys/.../deviceX:eventY/accel_z_roc_rising_en
-What: /sys/.../deviceX:eventY/accel_z_roc_falling_en
-What: /sys/.../deviceX:eventY/gyro_x_roc_rising_en
-What: /sys/.../deviceX:eventY/gyro_x_roc_falling_en
-What: /sys/.../deviceX:eventY/gyro_y_roc_rising_en
-What: /sys/.../deviceX:eventY/gyro_y_roc_falling_en
-What: /sys/.../deviceX:eventY/gyro_z_roc_rising_en
-What: /sys/.../deviceX:eventY/gyro_z_roc_falling_en
-What: /sys/.../deviceX:eventY/magn_x_roc_rising_en
-What: /sys/.../deviceX:eventY/magn_x_roc_falling_en
-What: /sys/.../deviceX:eventY/magn_y_roc_rising_en
-What: /sys/.../deviceX:eventY/magn_y_roc_falling_en
-What: /sys/.../deviceX:eventY/magn_z_roc_rising_en
-What: /sys/.../deviceX:eventY/magn_z_roc_falling_en
-What: /sys/.../deviceX:eventY/inZ_supply_roc_rising_en
-What: /sys/.../deviceX:eventY/inZ_supply_roc_falling_en
-What: /sys/.../deviceX:eventY/inZ_roc_rising_en
-What: /sys/.../deviceX:eventY/inZ_roc_falling_en
-What: /sys/.../deviceX:eventY/temp_roc_rising_en
-What: /sys/.../deviceX:eventY/temp_roc_falling_en
+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
+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
+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
+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
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
@@ -400,10 +408,10 @@ Description:
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
- threshold value is called in (e.g.
- <type>[Z][_name]_<raw|input>_roc_value) or
- <type>[Z][_name]_<raw|input>_roc_rising_value and
- <type>[Z][_name]_<raw|input>_roc_falling_value may take
+ 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
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
@@ -415,73 +423,73 @@ Description:
a given event type is enabled a future point (and not those for
whatever event was previously enabled).
-What: /sys/.../deviceX:eventY/accel_x_raw_thresh_rising_value
-What: /sys/.../deviceX:eventY/accel_x_raw_thresh_falling_value
-What: /sys/.../deviceX:eventY/accel_y_raw_thresh_rising_value
-What: /sys/.../deviceX:eventY/accel_y_raw_thresh_falling_value
-What: /sys/.../deviceX:eventY/accel_z_raw_thresh_rising_value
-What: /sys/.../deviceX:eventY/accel_z_raw_thresh_falling_value
-What: /sys/.../deviceX:eventY/gyro_x_raw_thresh_rising_value
-What: /sys/.../deviceX:eventY/gyro_x_raw_thresh_falling_value
-What: /sys/.../deviceX:eventY/gyro_y_raw_thresh_rising_value
-What: /sys/.../deviceX:eventY/gyro_y_raw_thresh_falling_value
-What: /sys/.../deviceX:eventY/gyro_z_raw_thresh_rising_value
-What: /sys/.../deviceX:eventY/gyro_z_raw_thresh_falling_value
-What: /sys/.../deviceX:eventY/magn_x_raw_thresh_rising_value
-What: /sys/.../deviceX:eventY/magn_x_raw_thresh_falling_value
-What: /sys/.../deviceX:eventY/magn_y_raw_thresh_rising_value
-What: /sys/.../deviceX:eventY/magn_y_raw_thresh_falling_value
-What: /sys/.../deviceX:eventY/magn_z_raw_thresh_rising_value
-What: /sys/.../deviceX:eventY/magn_z_raw_thresh_falling_value
-What: /sys/.../deviceX:eventY/inZ_supply_raw_thresh_rising_value
-What: /sys/.../deviceX:eventY/inZ_supply_raw_thresh_falling_value
-What: /sys/.../deviceX:eventY/inZ_raw_thresh_falling_value
-What: /sys/.../deviceX:eventY/inZ_raw_thresh_falling_value
-What: /sys/.../deviceX:eventY/temp_raw_thresh_falling_value
-What: /sys/.../deviceX:eventY/temp_raw_thresh_falling_value
+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
+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
+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
+What: /sys/.../events/in_voltageY_supply_raw_thresh_rising_value
+What: /sys/.../events/in_voltageY_supply_raw_thresh_falling_value
+What: /sys/.../events/in_voltageY_raw_thresh_falling_value
+What: /sys/.../events/in_voltageY_raw_thresh_falling_value
+What: /sys/.../events/in_tempY_raw_thresh_falling_value
+What: /sys/.../events/in_tempY_raw_thresh_falling_value
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
Specifies the value of threshold that the device is comparing
against for the events enabled by
- <type>Z[_name]_thresh[_rising|falling]_en.
- If separate attributes exist for the two directions, but
+ <type>Y[_name]_thresh[_rising|falling]_en.
+ 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).
-What: /sys/.../deviceX:eventY/accel_x_raw_roc_rising_value
-What: /sys/.../deviceX:eventY/accel_x_raw_roc_falling_value
-What: /sys/.../deviceX:eventY/accel_y_raw_roc_rising_value
-What: /sys/.../deviceX:eventY/accel_y_raw_roc_falling_value
-What: /sys/.../deviceX:eventY/accel_z_raw_roc_rising_value
-What: /sys/.../deviceX:eventY/accel_z_raw_roc_falling_value
-What: /sys/.../deviceX:eventY/gyro_x_raw_roc_rising_value
-What: /sys/.../deviceX:eventY/gyro_x_raw_roc_falling_value
-What: /sys/.../deviceX:eventY/gyro_y_raw_roc_rising_value
-What: /sys/.../deviceX:eventY/gyro_y_raw_roc_falling_value
-What: /sys/.../deviceX:eventY/gyro_z_raw_roc_rising_value
-What: /sys/.../deviceX:eventY/gyro_z_raw_roc_falling_value
-What: /sys/.../deviceX:eventY/magn_x_raw_roc_rising_value
-What: /sys/.../deviceX:eventY/magn_x_raw_roc_falling_value
-What: /sys/.../deviceX:eventY/magn_y_raw_roc_rising_value
-What: /sys/.../deviceX:eventY/magn_y_raw_roc_falling_value
-What: /sys/.../deviceX:eventY/magn_z_raw_roc_rising_value
-What: /sys/.../deviceX:eventY/magn_z_raw_roc_falling_value
-What: /sys/.../deviceX:eventY/inZ_supply_raw_roc_rising_value
-What: /sys/.../deviceX:eventY/inZ_supply_raw_roc_falling_value
-What: /sys/.../deviceX:eventY/inZ_raw_roc_falling_value
-What: /sys/.../deviceX:eventY/inZ_raw_roc_falling_value
-What: /sys/.../deviceX:eventY/temp_raw_roc_falling_value
-What: /sys/.../deviceX:eventY/temp_raw_roc_falling_value
+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
+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
+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
+What: /sys/.../events/in_voltageY_supply_raw_roc_rising_value
+What: /sys/.../events/in_voltageY_supply_raw_roc_falling_value
+What: /sys/.../events/in_voltageY_raw_roc_falling_value
+What: /sys/.../events/in_voltageY_raw_roc_falling_value
+What: /sys/.../events/in_tempY_raw_roc_falling_value
+What: /sys/.../events/in_tempY_raw_roc_falling_value
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
Specifies the value of rate of change threshold that the
device is comparing against for the events enabled by
- <type>[Z][_name]_roc[_rising|falling]_en.
+ <type>[Y][_name]_roc[_rising|falling]_en.
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.
@@ -489,55 +497,55 @@ Description:
value is in raw device units or in processed units (as _raw
and _input do on sysfs direct channel read attributes).
-What: /sys/.../deviceX:eventY/accel_x_thresh_rising_period
-What: /sys/.../deviceX:eventY/accel_x_thresh_falling_period
-hat: /sys/.../deviceX:eventY/accel_x_roc_rising_period
-What: /sys/.../deviceX:eventY/accel_x_roc_falling_period
-What: /sys/.../deviceX:eventY/accel_y_thresh_rising_period
-What: /sys/.../deviceX:eventY/accel_y_thresh_falling_period
-What: /sys/.../deviceX:eventY/accel_y_roc_rising_period
-What: /sys/.../deviceX:eventY/accel_y_roc_falling_period
-What: /sys/.../deviceX:eventY/accel_z_thresh_rising_period
-What: /sys/.../deviceX:eventY/accel_z_thresh_falling_period
-What: /sys/.../deviceX:eventY/accel_z_roc_rising_period
-What: /sys/.../deviceX:eventY/accel_z_roc_falling_period
-What: /sys/.../deviceX:eventY/gyro_x_thresh_rising_period
-What: /sys/.../deviceX:eventY/gyro_x_thresh_falling_period
-What: /sys/.../deviceX:eventY/gyro_x_roc_rising_period
-What: /sys/.../deviceX:eventY/gyro_x_roc_falling_period
-What: /sys/.../deviceX:eventY/gyro_y_thresh_rising_period
-What: /sys/.../deviceX:eventY/gyro_y_thresh_falling_period
-What: /sys/.../deviceX:eventY/gyro_y_roc_rising_period
-What: /sys/.../deviceX:eventY/gyro_y_roc_falling_period
-What: /sys/.../deviceX:eventY/gyro_z_thresh_rising_period
-What: /sys/.../deviceX:eventY/gyro_z_thresh_falling_period
-What: /sys/.../deviceX:eventY/gyro_z_roc_rising_period
-What: /sys/.../deviceX:eventY/gyro_z_roc_falling_period
-What: /sys/.../deviceX:eventY/magn_x_thresh_rising_period
-What: /sys/.../deviceX:eventY/magn_x_thresh_falling_period
-What: /sys/.../deviceX:eventY/magn_x_roc_rising_period
-What: /sys/.../deviceX:eventY/magn_x_roc_falling_period
-What: /sys/.../deviceX:eventY/magn_y_thresh_rising_period
-What: /sys/.../deviceX:eventY/magn_y_thresh_falling_period
-What: /sys/.../deviceX:eventY/magn_y_roc_rising_period
-What: /sys/.../deviceX:eventY/magn_y_roc_falling_period
-What: /sys/.../deviceX:eventY/magn_z_thresh_rising_period
-What: /sys/.../deviceX:eventY/magn_z_thresh_falling_period
-What: /sys/.../deviceX:eventY/magn_z_roc_rising_period
-What: /sys/.../deviceX:eventY/magn_z_roc_falling_period
-What: /sys/.../deviceX:eventY/inZ_supply_thresh_rising_period
-What: /sys/.../deviceX:eventY/inZ_supply_thresh_falling_period
-What: /sys/.../deviceX:eventY/inz_supply_roc_rising_period
-What: /sys/.../deviceX:eventY/inZ_supply_roc_falling_period
-What: /sys/.../deviceX:eventY/inZ_thresh_rising_period
-What: /sys/.../deviceX:eventY/inZ_thresh_falling_period
-What: /sys/.../deviceX:eventY/inZ_roc_rising_period
-What: /sys/.../deviceX:eventY/inZ_roc_falling_period
-What: /sys/.../deviceX:eventY/temp_thresh_rising_period
-What: /sys/.../deviceX:eventY/temp_thresh_falling_period
-What: /sys/.../deviceX:eventY/temp_roc_rising_period
-What: /sys/.../deviceX:eventY/temp_roc_falling_period
-What: /sys/.../deviceX:eventY/accel_x&y&z_mag_falling_period
+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
+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
+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
+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
+What: /sys/.../events/in_accel_x&y&z_mag_falling_period
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
@@ -545,31 +553,31 @@ Description:
met before an event is generated. If direction is not
specified then this period applies to both directions.
-What: /sys/.../deviceX:eventY/accel_mag_en
-What: /sys/.../deviceX:eventY/accel_mag_rising_en
-What: /sys/.../deviceX:eventY/accel_mag_falling_en
-What: /sys/.../deviceX:eventY/accel_x_mag_en
-What: /sys/.../deviceX:eventY/accel_x_mag_rising_en
-What: /sys/.../deviceX:eventY/accel_x_mag_falling_en
-What: /sys/.../deviceX:eventY/accel_y_mag_en
-What: /sys/.../deviceX:eventY/accel_y_mag_rising_en
-What: /sys/.../deviceX:eventY/accel_y_mag_falling_en
-What: /sys/.../deviceX:eventY/accel_z_mag_en
-What: /sys/.../deviceX:eventY/accel_z_mag_rising_en
-What: /sys/.../deviceX:eventY/accel_z_mag_falling_en
-What: /sys/.../deviceX:eventY/accel_x&y&z_mag_rising_en
-What: /sys/.../deviceX:eventY/accel_x&y&z_mag_falling_en
+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
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
- Similar to accel_x_thresh[_rising|_falling]_en, but here the
+ Similar to in_accel_x_thresh[_rising|_falling]_en, but here the
magnitude of the channel is compared to the threshold, not its
signed value.
-What: /sys/.../accel_raw_mag_value
-What: /sys/.../accel_x_raw_mag_rising_value
-What: /sys/.../accel_y_raw_mag_rising_value
-What: /sys/.../accel_z_raw_mag_rising_value
+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
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
@@ -577,86 +585,75 @@ Description:
number or direction is not specified, applies to all channels of
this type.
-What: /sys/bus/iio/devices/deviceX:buffer:event/dev
-KernelVersion: 2.6.35
-Contact: linux-iio@vger.kernel.org
-Description:
- Buffer for device X event character device major:minor numbers.
-
-What: /sys/bus/iio/devices/deviceX:buffer:access/dev
-KernelVersion: 2.6.35
-Contact: linux-iio@vger.kernel.org
-Description:
- Buffer for device X access character device major:minor numbers.
-
-What: /sys/bus/iio/devices/deviceX:buffer/trigger
+What: /sys/bus/iio/devices/iio:deviceX/trigger/current_trigger
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
The name of the trigger source being used, as per string given
in /sys/class/iio/triggerY/name.
-What: /sys/bus/iio/devices/deviceX:buffer/length
+What: /sys/bus/iio/devices/iio:deviceX/buffer/length
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Number of scans contained by the buffer.
-What: /sys/bus/iio/devices/deviceX:buffer/bytes_per_datum
+What: /sys/bus/iio/devices/iio:deviceX/buffer/bytes_per_datum
KernelVersion: 2.6.37
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.
-What: /sys/bus/iio/devices/deviceX:buffer/enable
+What: /sys/bus/iio/devices/iio:deviceX/buffer/enable
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.
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements
+What: /sys/bus/iio/devices/iio:deviceX/buffer/scan_elements
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
Directory containing interfaces for elements that will be
captured for a single triggered sample set in the buffer.
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/accel_x_en
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/accel_y_en
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/accel_z_en
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/gyro_x_en
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/gyro_y_en
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/gyro_z_en
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/magn_x_en
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/magn_y_en
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/magn_z_en
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/timestamp_en
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/inY_supply_en
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/inY_en
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/inY-inZ_en
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/incli_x_en
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/incli_y_en
+What: /sys/.../buffer/scan_elements/in_accel_x_en
+What: /sys/.../buffer/scan_elements/in_accel_y_en
+What: /sys/.../buffer/scan_elements/in_accel_z_en
+What: /sys/.../buffer/scan_elements/in_anglvel_x_en
+What: /sys/.../buffer/scan_elements/in_anglvel_y_en
+What: /sys/.../buffer/scan_elements/in_anglvel_z_en
+What: /sys/.../buffer/scan_elements/in_magn_x_en
+What: /sys/.../buffer/scan_elements/in_magn_y_en
+What: /sys/.../buffer/scan_elements/in_magn_z_en
+What: /sys/.../buffer/scan_elements/in_timestamp_en
+What: /sys/.../buffer/scan_elements/in_voltageY_supply_en
+What: /sys/.../buffer/scan_elements/in_voltageY_en
+What: /sys/.../buffer/scan_elements/in_voltageY-voltageZ_en
+What: /sys/.../buffer/scan_elements/in_incli_x_en
+What: /sys/.../buffer/scan_elements/in_incli_y_en
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
Scan element control for triggered data capture.
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/accel_type
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/gyro_type
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/magn_type
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/incli_type
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/inY_type
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/in-in_type
-What: /sys/.../deviceX:buffer/scan_elements/inY_supply_type
-What: /sys/.../deviceX:buffer/scan_elements/timestamp_type
+What: /sys/.../buffer/scan_elements/in_accel_type
+What: /sys/.../buffer/scan_elements/in_anglvel_type
+What: /sys/.../buffer/scan_elements/in_magn_type
+What: /sys/.../buffer/scan_elements/in_incli_type
+What: /sys/.../buffer/scan_elements/in_voltageY_type
+What: /sys/.../buffer/scan_elements/in_voltage-in_type
+What: /sys/.../buffer/scan_elements/in_voltageY_supply_type
+What: /sys/.../buffer/scan_elements/in_timestamp_type
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
Description of the scan element data storage within the buffer
and hence the form in which it is read from user-space.
- Form is [s|u]bits/storagebits[>>shift]. s or u specifies if
+ Form is [be|le]:[s|u]bits/storagebits[>>shift].
+ be or le specifies big or little endian. s or u specifies if
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
@@ -673,27 +670,27 @@ Description:
For other storage combinations this attribute will be extended
appropriately.
-What: /sys/.../deviceX:buffer/scan_elements/accel_type_available
+What: /sys/.../buffer/scan_elements/in_accel_type_available
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.
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/inY_index
-What: /sys/.../deviceX:buffer/scan_elements/inY_supply_index
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/accel_x_index
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/accel_y_index
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/accel_z_index
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/gyro_x_index
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/gyro_y_index
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/gyro_z_index
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/magn_x_index
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/magn_y_index
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/magn_z_index
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/incli_x_index
-What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/incli_y_index
-What: /sys/.../deviceX:buffer/scan_elements/timestamp_index
+What: /sys/.../buffer/scan_elements/in_voltageY_index
+What: /sys/.../buffer/scan_elements/in_voltageY_supply_index
+What: /sys/.../buffer/scan_elements/in_accel_x_index
+What: /sys/.../buffer/scan_elements/in_accel_y_index
+What: /sys/.../buffer/scan_elements/in_accel_z_index
+What: /sys/.../buffer/scan_elements/in_anglvel_x_index
+What: /sys/.../buffer/scan_elements/in_anglvel_y_index
+What: /sys/.../buffer/scan_elements/in_anglvel_z_index
+What: /sys/.../buffer/scan_elements/in_magn_x_index
+What: /sys/.../buffer/scan_elements/in_magn_y_index
+What: /sys/.../buffer/scan_elements/in_magn_z_index
+What: /sys/.../buffer/scan_elements/in_incli_x_index
+What: /sys/.../buffer/scan_elements/in_incli_y_index
+What: /sys/.../buffer/scan_elements/in_timestamp_index
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
@@ -705,9 +702,30 @@ Description:
and the relevant _type attributes to establish the data storage
format.
-What: /sys/bus/iio/devices/deviceX/gyro_z_quadrature_correction_raw
+What: /sys/.../iio:deviceX/in_anglvel_z_quadrature_correction_raw
KernelVersion: 2.6.38
-Contact: linux-iio@xxxxxxxxxxxxxxx
+Contact: linux-iio@vger.kernel.org
Description:
This attribute is used to read the amount of quadrature error
present in the device at a given time.
+
+What: /sys/.../iio:deviceX/ac_excitation_en
+KernelVersion: 3.1.0
+Contact: linux-iio@vger.kernel.org
+Description:
+ This attribute, if available, is used to enable the AC
+ excitation mode found on some converters. In ac excitation mode,
+ the polarity of the excitation voltage is reversed on
+ alternate cycles, to eliminate DC errors.
+
+What: /sys/.../iio:deviceX/bridge_switch_en
+KernelVersion: 3.1.0
+Contact: linux-iio@vger.kernel.org
+Description:
+ This attribute, if available, is used to close or open the
+ bridge power down switch found on some converters.
+ In bridge applications, such as strain gauges and load cells,
+ the bridge itself consumes the majority of the current in the
+ system. To minimize the current consumption of the system,
+ the bridge can be disconnected (when it is not being used
+ using the bridge_switch_en attribute.