[v4 10/14] iio: document "serial_number" sysfs attribute

From: Andrea Merello
Date: Fri Apr 15 2022 - 09:01:15 EST


From: Andrea Merello <andrea.merello@xxxxxx>

This patch adds ABI documentation for the new "serial_number" sysfs
attribute. The first user is the bno055 IIO driver.

Signed-off-by: Andrea Merello <andrea.merello@xxxxxx>
---
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 2a6954ea1c71..3be613f64843 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -2048,3 +2048,10 @@ Contact: linux-iio@xxxxxxxxxxxxxxx
Description:
Raw (unscaled) euler angles readings. Units after
application of scale are deg.
+
+What: /sys/bus/iio/devices/iio:deviceX/serial_number
+KernelVersion: 5.19
+Contact: linux-iio@xxxxxxxxxxxxxxx
+Description:
+ An example format is 16-bytes, 2-digits-per-byte, HEX-string
+ representing the sensor unique ID number.
--
2.17.1