linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Documentation: gpio: clarify that line values are logical
@ 2024-06-10  9:21 Kent Gibson
  2024-06-10  9:21 ` [PATCH 1/2] Documentation: gpio: Clarify effect of active low flag on line values Kent Gibson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kent Gibson @ 2024-06-10  9:21 UTC (permalink / raw)
  To: linux-kernel, linux-gpio, linux-doc, brgl, corbet, drankinatty
  Cc: Kent Gibson

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-12 12:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-10  9:21 [PATCH 0/2] Documentation: gpio: clarify that line values are logical Kent Gibson
2024-06-10  9:21 ` [PATCH 1/2] Documentation: gpio: Clarify effect of active low flag on line values Kent Gibson
2024-06-10  9:21 ` [PATCH 2/2] Documentation: gpio: Clarify effect of active low flag on line edges Kent Gibson
2024-06-12 12:03 ` [PATCH 0/2] Documentation: gpio: clarify that line values are logical Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).