@@ -196,7 +196,7 @@ Description:
196196 Raw capacitance measurement from channel Y. Units after
197197 application of scale and offset are nanofarads.
198198
199- What: /sys/.../iio:deviceX/in_capacitanceY-in_capacitanceZ_raw
199+ What: /sys/.../iio:deviceX/in_capacitanceY-capacitanceZ_raw
200200KernelVersion: 3.2
201201Contact: linux-iio@vger.kernel.org
202202Description:
@@ -207,6 +207,25 @@ Description:
207207 is required is a consistent labeling. Units after application
208208 of scale and offset are nanofarads.
209209
210+ What: /sys/.../iio:deviceX/in_capacitanceY-capacitanceZ_zeropoint
211+ KernelVersion: 6.1
212+ Contact: linux-iio@vger.kernel.org
213+ Description:
214+ For differential channels, this an offset that is applied
215+ equally to both inputs. As the reading is of the difference
216+ between the two inputs, this should not be applied to the _raw
217+ reading by userspace (unlike _offset) and unlike calibbias
218+ it does not affect the differential value measured because
219+ the effect of _zeropoint cancels out across the two inputs
220+ that make up the differential pair. It's purpose is to bring
221+ the individual signals, before the differential is measured,
222+ within the measurement range of the device. The naming is
223+ chosen because if the separate inputs that make the
224+ differential pair are drawn on a graph in their
225+ _raw units, this is the value that the zero point on the
226+ measurement axis represents. It is expressed with the
227+ same scaling as _raw.
228+
210229What: /sys/bus/iio/devices/iio:deviceX/in_temp_raw
211230What: /sys/bus/iio/devices/iio:deviceX/in_tempX_raw
212231What: /sys/bus/iio/devices/iio:deviceX/in_temp_x_raw
@@ -241,6 +260,15 @@ Description:
241260 Has all of the equivalent parameters as per voltageY. Units
242261 after application of scale and offset are m/s^2.
243262
263+ What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_x_raw
264+ What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_y_raw
265+ What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_z_raw
266+ KernelVersion: 6.1
267+ Contact: linux-iio@vger.kernel.org
268+ Description:
269+ As per in_accel_X_raw attributes, but minus the
270+ acceleration due to gravity.
271+
244272What: /sys/bus/iio/devices/iio:deviceX/in_gravity_x_raw
245273What: /sys/bus/iio/devices/iio:deviceX/in_gravity_y_raw
246274What: /sys/bus/iio/devices/iio:deviceX/in_gravity_z_raw
@@ -2038,3 +2066,99 @@ Description:
20382066 Available range for the forced calibration value, expressed as:
20392067
20402068 - a range specified as "[min step max]"
2069+
2070+ What: /sys/bus/iio/devices/iio:deviceX/in_voltageX_sampling_frequency
2071+ What: /sys/bus/iio/devices/iio:deviceX/in_powerY_sampling_frequency
2072+ What: /sys/bus/iio/devices/iio:deviceX/in_currentZ_sampling_frequency
2073+ KernelVersion: 5.20
2074+ Contact: linux-iio@vger.kernel.org
2075+ Description:
2076+ Some devices have separate controls of sampling frequency for
2077+ individual channels. If multiple channels are enabled in a scan,
2078+ then the sampling_frequency of the scan may be computed from the
2079+ per channel sampling frequencies.
2080+
2081+ What: /sys/.../events/in_accel_gesture_singletap_en
2082+ What: /sys/.../events/in_accel_gesture_doubletap_en
2083+ KernelVersion: 6.1
2084+ Contact: linux-iio@vger.kernel.org
2085+ Description:
2086+ Device generates an event on a single or double tap.
2087+
2088+ What: /sys/.../events/in_accel_gesture_singletap_value
2089+ What: /sys/.../events/in_accel_gesture_doubletap_value
2090+ KernelVersion: 6.1
2091+ Contact: linux-iio@vger.kernel.org
2092+ Description:
2093+ Specifies the threshold value that the device is comparing
2094+ against to generate the tap gesture event. The lower
2095+ threshold value increases the sensitivity of tap detection.
2096+ Units and the exact meaning of value are device-specific.
2097+
2098+ What: /sys/.../events/in_accel_gesture_tap_value_available
2099+ KernelVersion: 6.1
2100+ Contact: linux-iio@vger.kernel.org
2101+ Description:
2102+ Lists all available threshold values which can be used to
2103+ modify the sensitivity of the tap detection.
2104+
2105+ What: /sys/.../events/in_accel_gesture_singletap_reset_timeout
2106+ What: /sys/.../events/in_accel_gesture_doubletap_reset_timeout
2107+ KernelVersion: 6.1
2108+ Contact: linux-iio@vger.kernel.org
2109+ Description:
2110+ Specifies the timeout value in seconds for the tap detector
2111+ to not to look for another tap event after the event as
2112+ occurred. Basically the minimum quiet time between the two
2113+ single-tap's or two double-tap's.
2114+
2115+ What: /sys/.../events/in_accel_gesture_tap_reset_timeout_available
2116+ KernelVersion: 6.1
2117+ Contact: linux-iio@vger.kernel.org
2118+ Description:
2119+ Lists all available tap reset timeout values. Units in seconds.
2120+
2121+ What: /sys/.../events/in_accel_gesture_doubletap_tap2_min_delay
2122+ KernelVersion: 6.1
2123+ Contact: linux-iio@vger.kernel.org
2124+ Description:
2125+ Specifies the minimum quiet time in seconds between the two
2126+ taps of a double tap.
2127+
2128+ What: /sys/.../events/in_accel_gesture_doubletap_tap2_min_delay_available
2129+ KernelVersion: 6.1
2130+ Contact: linux-iio@vger.kernel.org
2131+ Description:
2132+ Lists all available delay values between two taps in the double
2133+ tap. Units in seconds.
2134+
2135+ What: /sys/.../events/in_accel_gesture_tap_maxtomin_time
2136+ KernelVersion: 6.1
2137+ Contact: linux-iio@vger.kernel.org
2138+ Description:
2139+ Specifies the maximum time difference allowed between upper
2140+ and lower peak of tap to consider it as the valid tap event.
2141+ Units in seconds.
2142+
2143+ What: /sys/.../events/in_accel_gesture_tap_maxtomin_time_available
2144+ KernelVersion: 6.1
2145+ Contact: linux-iio@vger.kernel.org
2146+ Description:
2147+ Lists all available time values between upper peak to lower
2148+ peak. Units in seconds.
2149+
2150+ What: /sys/bus/iio/devices/iio:deviceX/in_rot_yaw_raw
2151+ What: /sys/bus/iio/devices/iio:deviceX/in_rot_pitch_raw
2152+ What: /sys/bus/iio/devices/iio:deviceX/in_rot_roll_raw
2153+ KernelVersion: 6.1
2154+ Contact: linux-iio@vger.kernel.org
2155+ Description:
2156+ Raw (unscaled) euler angles readings. Units after
2157+ application of scale are deg.
2158+
2159+ What: /sys/bus/iio/devices/iio:deviceX/serialnumber
2160+ KernelVersion: 6.1
2161+ Contact: linux-iio@vger.kernel.org
2162+ Description:
2163+ An example format is 16-bytes, 2-digits-per-byte, HEX-string
2164+ representing the sensor unique ID number.
0 commit comments