[PATCH] iio: ABI: fix current_trigger description

Cosmin Tanislav posted 1 patch 4 days, 13 hours ago
Documentation/ABI/testing/sysfs-bus-iio | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] iio: ABI: fix current_trigger description
Posted by Cosmin Tanislav 4 days, 13 hours ago
Triggers exist under /sys/bus/iio/devices/, not under /sys/class/iio.
/sys/class/iio does not even exist. Use the current path.

Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
---
 Documentation/ABI/testing/sysfs-bus-iio | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index 5f87dcee78f7..4fc9f6bd4281 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -1428,7 +1428,7 @@ KernelVersion:	2.6.35
 Contact:	linux-iio@vger.kernel.org
 Description:
 		The name of the trigger source being used, as per string given
-		in /sys/class/iio/triggerY/name.
+		in /sys/bus/iio/devices/triggerY/name.
 
 What:		/sys/bus/iio/devices/iio:deviceX/bufferY/length
 KernelVersion:	5.11
-- 
2.52.0
Re: [PATCH] iio: ABI: fix current_trigger description
Posted by David Lechner 4 days, 11 hours ago
On 2/4/26 12:02 PM, Cosmin Tanislav wrote:
> Triggers exist under /sys/bus/iio/devices/, not under /sys/class/iio.
> /sys/class/iio does not even exist. Use the current path.
> 
> Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
> ---
>  Documentation/ABI/testing/sysfs-bus-iio | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> index 5f87dcee78f7..4fc9f6bd4281 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio
> +++ b/Documentation/ABI/testing/sysfs-bus-iio
> @@ -1428,7 +1428,7 @@ KernelVersion:	2.6.35
>  Contact:	linux-iio@vger.kernel.org
>  Description:
>  		The name of the trigger source being used, as per string given
> -		in /sys/class/iio/triggerY/name.
> +		in /sys/bus/iio/devices/triggerY/name.

While we are fixing this, the docs refer to it as triggerX rather than
triggerY.

/sys/bus/iio/devices/triggerX is documented, but
/sys/bus/iio/devices/triggerY/name actually seems to be missing. That is
for another patch though.

>  
>  What:		/sys/bus/iio/devices/iio:deviceX/bufferY/length
>  KernelVersion:	5.11