If a label is defined 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....@analog.com>
---
Changes in v7:
 - Specify affected only channels which we are implementing in this patch
   set. 
 Documentation/ABI/testing/sysfs-bus-iio | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-bus-iio 
b/Documentation/ABI/testing/sysfs-bus-iio
index a9d51810a3ba..4a72ee43dee8 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -1715,6 +1715,16 @@ Description:
 
                Raw counter device counters direction for channel Y.
 
+What:          /sys/bus/iio/devices/iio:deviceX/in_voltageY_label
+What:          /sys/bus/iio/devices/iio:deviceX/out_voltageY_label
+KernelVersion: 5.8
+Contact:       linux-...@vger.kernel.org
+Description:
+               Optional symbolic label to a device channel.
+               If a label is defined for this channel add that to the channel
+               specific attributes. This is useful for userspace to be able to
+               better identify an individual channel.
+
 What:          /sys/bus/iio/devices/iio:deviceX/in_phaseY_raw
 KernelVersion: 4.18
 Contact:       linux-...@vger.kernel.org
-- 
2.17.1

Reply via email to