diff mbox series

[v7,10/14] iio: document "serialnumber" sysfs attribute

Message ID 20220907132205.28021-11-andrea.merello@iit.it
State Accepted
Commit e4ea07cf89a1208090f596ad69976b0596e990b3
Headers show
Series Add support for Bosch BNO055 IMU | expand

Commit Message

andrea.merello@iit.it Sept. 7, 2022, 1:22 p.m. UTC
From: Andrea Merello <andrea.merello@iit.it>

Add ABI documentation for the new "serialnumber" sysfs attribute. The
first user is the bno055 IIO driver.

Signed-off-by: Andrea Merello <andrea.merello@iit.it>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
---
 Documentation/ABI/testing/sysfs-bus-iio | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index f694a3653245..429c8cb2674c 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -2086,3 +2086,10 @@  Contact:	linux-iio@vger.kernel.org
 Description:
 		Raw (unscaled) euler angles readings. Units after
 		application of scale are deg.
+
+What:		/sys/bus/iio/devices/iio:deviceX/serialnumber
+KernelVersion:	6.1
+Contact:	linux-iio@vger.kernel.org
+Description:
+		An example format is 16-bytes, 2-digits-per-byte, HEX-string
+		representing the sensor unique ID number.