[PATCH v4 2/3] iio:Documentation: Add documentation for label channel attribute

From: Cristian Pop
Date: Wed Sep 16 2020 - 10:35:59 EST


If a label is defined in the device tree for this channel add that to the
channel specific attributes. This is useful for userspace to be able to
identify an individual channel.

Signed-off-by: Cristian Pop <cristian.pop@xxxxxxxxxx>
---
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 d3e53a6d8331..f2a9a03b8af9 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -1697,6 +1697,15 @@ Description:

Raw counter device counters direction for channel Y.

+What: /sys/bus/iio/devices/iio:deviceX/channel_label
+KernelVersion: 5.8
+Contact: linux-iio@xxxxxxxxxxxxxxx
+Description:
+ Optional symbolic label to a device channel.
+ If a label is defined in the device tree for this channel add
+ that to the channel specific attributes. This is useful for
+ userspace to be able to identify an individual channel.
+
What: /sys/bus/iio/devices/iio:deviceX/in_phaseY_raw
KernelVersion: 4.18
Contact: linux-iio@xxxxxxxxxxxxxxx
--
2.17.1