[PATCH v5 04/13] Documentation: ABI: testing: add parent entry for iio channels
From: Rodrigo Alencar via B4 Relay
Date: Sun May 17 2026 - 14:38:50 EST
From: Rodrigo Alencar <rodrigo.alencar@xxxxxxxxxx>
Add documentation for a read-only sysfs attribute that allows to expose
parent-child relationships between IIO channels.
Signed-off-by: Rodrigo Alencar <rodrigo.alencar@xxxxxxxxxx>
---
Documentation/ABI/testing/sysfs-bus-iio | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index 925a33fd309a..399944974e34 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -2118,6 +2118,19 @@ Description:
specific attributes. This is useful for userspace to be able to
better identify an individual channel.
+What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_parent
+What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_parent
+What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_parent
+What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_parent
+KernelVersion: 7.1
+Contact: linux-iio@xxxxxxxxxxxxxxx
+Description:
+ Read-only attribute containing the label of the parent channel
+ for hierarchical channel relationships. Only present on channels
+ that have a parent channel with a valid label. This is useful for
+ userspace to organize channels in tree-like structures that reflects
+ the physical or logical relationships between them.
+
What: /sys/bus/iio/devices/iio:deviceX/in_phaseY_raw
KernelVersion: 4.18
Contact: linux-iio@xxxxxxxxxxxxxxx
--
2.43.0