Skip to content

Documentation: gpio: clarify that line values are logical

Kent Gibson linux-doc linux-gpio lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2Documentation: gpio: Clarify effect of active low flag on line valuesDocumentation/userspace-api/gpio/gpio-handle-get-line-values-ioctl.rst Documentation/userspace-api/gpio/gpio-handle-set-line-values-ioctl.rst Documentation/userspace-api/gpio/gpio-v2-line-get-values-ioctl.rst +1 more+28 -00 replies
2/2Documentation: gpio: Clarify effect of active low flag on line edgesDocumentation/userspace-api/gpio/gpio-lineevent-data-read.rst Documentation/userspace-api/gpio/gpio-v2-line-event-read.rst+10 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Documentation: gpio: clarify that line values are logical

The line values passed by the GPIO uAPI are logical values, and the edges returned are based on changes to logical line values. While the documentation consistently uses active/inactive terminology to identify the values as logical, this is never explicitly spelt out. This series clarifies those points, with paricular emphasis on the effect the active low flag has on values and edge polarity.

Patch 1 provides clarification for ioctls passing line values.

Patch 2 provides clarification for functions returning edge events.

Cheers,
Kent.

Kent Gibson (2):
Documentation: gpio: Clarify effect of active low flag on line values
Documentation: gpio: Clarify effect of active low flag on line edges

 .../gpio/gpio-handle-get-line-values-ioctl.rst             | 7 +++++++
 .../gpio/gpio-handle-set-line-values-ioctl.rst             | 7 +++++++
 .../userspace-api/gpio/gpio-lineevent-data-read.rst        | 5 +++++
 .../userspace-api/gpio/gpio-v2-line-event-read.rst         | 5 +++++
 .../userspace-api/gpio/gpio-v2-line-get-values-ioctl.rst   | 7 +++++++
 .../userspace-api/gpio/gpio-v2-line-set-values-ioctl.rst   | 7 +++++++
 6 files changed, 38 insertions(+)

--
2.39.2