Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpio: of: Reflect decoupling of open collector and active low/high

Commit 4c0facddb7d8 ("gpio: core: Decouple open drain/source flag with
active low/high") decoupled the open collector outputs from active
low/high but did not update the documentation.

Update the device tree documentation to correctly reflect this new
separation between the two concepts.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Charles Keepax and committed by
Linus Walleij
f9e3a419 6dc0048c

+4 -3
+4 -3
Documentation/devicetree/bindings/gpio/gpio.txt
··· 74 74 Optional standard bitfield specifiers for the last cell: 75 75 76 76 - Bit 0: 0 means active high, 1 means active low 77 - - Bit 1: 1 means single-ended wiring, see: 77 + - Bit 1: 0 mean push-pull wiring, see: 78 + https://en.wikipedia.org/wiki/Push-pull_output 79 + 1 means single-ended wiring, see: 78 80 https://en.wikipedia.org/wiki/Single-ended_triode 79 - When used with active-low, this means open drain/collector, see: 81 + - Bit 2: 0 means open-source, 1 means open drain, see: 80 82 https://en.wikipedia.org/wiki/Open_collector 81 - When used with active-high, this means open source/emitter 82 83 83 84 1.1) GPIO specifier best practices 84 85 ----------------------------------