Documentation: gpio: clarify sysfs line values are logical
authorKent Gibson <warthog618@gmail.com>
Mon, 12 Feb 2024 09:34:20 +0000 (17:34 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 14 Feb 2024 09:28:48 +0000 (10:28 +0100)
Clarify that line values are logical, not physical, by replacing high/low
terminology with active/inactive.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Reviewed-by: Andy Shevchenko <amdy.shevchenko@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Documentation/userspace-api/gpio/sysfs.rst

index e12037a0f2b4e15dad2659cbc4c5f8d3ee974e65..116921048b18e92f4bb66c81492234c3ddc11589 100644 (file)
@@ -87,9 +87,9 @@ and have the following read/write attributes:
                allow userspace to reconfigure this GPIO's direction.
 
        "value" ...
-               reads as either 0 (low) or 1 (high). If the GPIO
+               reads as either 0 (inactive) or 1 (active). If the GPIO
                is configured as an output, this value may be written;
-               any nonzero value is treated as high.
+               any nonzero value is treated as active.
 
                If the pin can be configured as interrupt-generating interrupt
                and if it has been configured to generate interrupts (see the