Files
linux/Documentation/driver-api
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
..
2019-07-15 11:03:03 -03:00
2019-07-26 08:15:26 -06:00
2021-06-18 13:10:03 +02:00
2019-06-07 11:35:15 -06:00
2021-06-03 10:32:49 +02:00
2016-09-06 09:14:52 -06:00
2020-06-02 20:32:53 -03:00
2020-12-10 22:37:32 +01:00
2019-10-07 09:47:37 -07:00
2018-04-20 19:14:40 -04:00
2016-09-06 09:14:52 -06:00
2021-05-05 10:20:33 -06:00