Skip to content

Commit f9e3a41

Browse files
charleskeepaxLinus Walleij
authored andcommitted
gpio: of: Reflect decoupling of open collector and active low/high
Commit 4c0facd ("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>
1 parent 6dc0048 commit f9e3a41

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • Documentation/devicetree/bindings/gpio

‎Documentation/devicetree/bindings/gpio/gpio.txt‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,12 @@ GPIO pin number, and GPIO flags as accepted by the "qe_pio_e" gpio-controller.
7474
Optional standard bitfield specifiers for the last cell:
7575

7676
- 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:
7880
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:
8082
https://en.wikipedia.org/wiki/Open_collector
81-
When used with active-high, this means open source/emitter
8283

8384
1.1) GPIO specifier best practices
8485
----------------------------------

0 commit comments

Comments
 (0)