Skip to content

Commit 9e69d6d

Browse files
warthog618Bartosz Golaszewski
authored andcommitted
Documentation: gpio: clarify sysfs line values are logical
Clarify that line values are logical, not physical, by replacing high/low terminology with active/inactive. Signed-off-by: Kent Gibson <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent ba5c5ef commit 9e69d6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/userspace-api/gpio/sysfs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ and have the following read/write attributes:
8787
allow userspace to reconfigure this GPIO's direction.
8888

8989
"value" ...
90-
reads as either 0 (low) or 1 (high). If the GPIO
90+
reads as either 0 (inactive) or 1 (active). If the GPIO
9191
is configured as an output, this value may be written;
92-
any nonzero value is treated as high.
92+
any nonzero value is treated as active.
9393

9494
If the pin can be configured as interrupt-generating interrupt
9595
and if it has been configured to generate interrupts (see the

0 commit comments

Comments
 (0)