This patch introduces ABI documentation for new iio modifiers used for
reporting "linear acceleration" measures.
Signed-off-by: Andrea Merello <[email protected]>
---
Documentation/ABI/testing/sysfs-bus-iio | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index c551301b33f1..b2fb4d9abcd1 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -233,6 +233,15 @@ Description:
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_accel_linear_x_raw
+What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_y_raw
+What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_z_raw
+KernelVersion: 5.17
+Contact: [email protected]
+Description:
+ As per in_accel_X_raw attributes, but minus the gravity
+ acceleration.
+
What: /sys/bus/iio/devices/iio:deviceX/in_gravity_x_raw
What: /sys/bus/iio/devices/iio:deviceX/in_gravity_y_raw
What: /sys/bus/iio/devices/iio:deviceX/in_gravity_z_raw
--
2.17.1
On Thu, 17 Feb 2022 17:26:59 +0100
Andrea Merello <[email protected]> wrote:
> This patch introduces ABI documentation for new iio modifiers used for
> reporting "linear acceleration" measures.
>
> Signed-off-by: Andrea Merello <[email protected]>
> ---
> Documentation/ABI/testing/sysfs-bus-iio | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> index c551301b33f1..b2fb4d9abcd1 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio
> +++ b/Documentation/ABI/testing/sysfs-bus-iio
> @@ -233,6 +233,15 @@ Description:
> 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_accel_linear_x_raw
> +What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_y_raw
> +What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_z_raw
> +KernelVersion: 5.17
> +Contact: [email protected]
> +Description:
> + As per in_accel_X_raw attributes, but minus the gravity
> + acceleration.
As it looks like you are going to be doing a v4 given the stuff 0-day found
I'd prefer this as "minus the acceleration due to gravity" which from what
I recall tends to be what it is called in physics text books etc.
> +
> What: /sys/bus/iio/devices/iio:deviceX/in_gravity_x_raw
> What: /sys/bus/iio/devices/iio:deviceX/in_gravity_y_raw
> What: /sys/bus/iio/devices/iio:deviceX/in_gravity_z_raw