linux/Documentation
Hannu Hartikainen f3f1017a98 docs: gpio: explain GPIOD_OUT_* values and toggling active low
I was confused about the gpiod_flags values and thought that
GPIOD_OUT_LOW and GPIOD_OUT_HIGH set the line to be active low / active
high. This is not true, but I got the misconception because the flags
GPIOD_OUT_*_OPEN_DRAIN do change line configuration and there's a
subchapter about *active low* and *open drain* semantics.

Add an explicit mention that the initial value is a logical value (and
not the line configuration or physical line level). Also add a mention
of the function gpiod_toggle_active_low which was previously missing
from this document.

Signed-off-by: Hannu Hartikainen <hannu@hrtk.in>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
2021-07-21 15:21:36 +02:00
..
2021-07-09 09:37:56 -07:00
2021-06-30 12:12:56 -07:00
2021-06-30 15:51:09 -07:00
2021-06-30 19:45:42 +02:00
2021-07-10 16:19:10 -07:00
2021-04-30 12:22:28 -07:00
2021-07-09 09:37:56 -07:00
2021-07-08 12:18:04 -07:00
2021-04-29 14:32:00 -07:00
2021-07-08 12:06:20 -07:00
2021-05-31 22:48:24 -04:00
2021-07-01 08:36:12 +02:00
2021-05-10 15:17:34 -06:00
2021-07-03 11:13:22 -07:00
2021-05-26 09:11:24 +02:00