]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Documentation: gpio: Clarify effect of active low flag on line edges
authorKent Gibson <warthog618@gmail.com>
Mon, 10 Jun 2024 09:21:57 +0000 (17:21 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 12 Jun 2024 12:02:54 +0000 (14:02 +0200)
commit08d94c7428680715527757585a6c4575fcf571b9
treef5fc2005480d770a3d297f22e63ac1d8d5da020f
parent5ca84d416e1ca82ca068906fc1386f61a57b17f2
Documentation: gpio: Clarify effect of active low flag on line edges

The documentation does not make sufficiently clear that edge polarity is
based on changes to the logical line values, and that the physical
polarity of edges is dependent on the active low flag.

Clarify the relationship between the active low flag and edge polarity
for the functions that read edge events.

Suggested-by: David C. Rankin <drankinatty@gmail.com>
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Link: https://lore.kernel.org/r/20240610092157.9147-3-warthog618@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Documentation/userspace-api/gpio/gpio-lineevent-data-read.rst
Documentation/userspace-api/gpio/gpio-v2-line-event-read.rst