lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b38d761e3d78d6121bd3f3de0908a156ad9ea277.1768759292.git.marcelo.schmitt1@gmail.com>
Date: Sun, 18 Jan 2026 15:20:03 -0300
From: Marcelo Schmitt <marcelo.schmitt1@...il.com>
To: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: jic23@...nel.org, Jonathan.Cameron@...wei.com, nuno.sa@...log.com,
	andy@...nel.org, dlechner@...libre.com, marcelo.schmitt1@...il.com
Subject: [RFC PATCH v1 2/9] iio: ABI: Accurately describe in_distance_input

There is only one driver (drivers/iio/accel/mma9553.c) that declares a
channel of type IIO_DISTANCE with an info_mask containing
IIO_CHAN_INFO_PROCESSED. Though, mma9553.c provides distance in meters (as
would be expected for the _input interface). Split in_distance_raw and
in_distance_input ABI documentation to provide accurate description for the
in_distance_input interface.

Fixes: 7cf78db585b1 ("iio: Add ABI documentation for illuminance raw and scale values in light")
Signed-off-by: Marcelo Schmitt <marcelo.schmitt1@...il.com>
---
Added a fix tag though not sure it's needed/desired since it might not be worth
to backport documentation?

 Documentation/ABI/testing/sysfs-bus-iio | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index aec39b8e3345..27251b65ea0e 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -1613,6 +1613,13 @@ Description:
 		user). Units after application of scale are Joules.
 
 What:		/sys/.../iio:deviceX/in_distance_input
+KernelVersion:	4.0
+Contact:	linux-iio@...r.kernel.org
+Description:
+		This attribute is used to read the measured distance (in meters)
+		to an object or the distance covered by the user since the last
+		reboot while activated.
+
 What:		/sys/.../iio:deviceX/in_distance_raw
 KernelVersion:	4.0
 Contact:	linux-iio@...r.kernel.org
-- 
2.51.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ