Skip to content

Commit

Permalink
gpio: of: Add documentation of new sleep standard GPIO specifiers
Browse files Browse the repository at this point in the history
Add documentation of new GPIO specifiers indicating if the state of an
output pin should be maintained during sleep/low-power mode.

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>
  • Loading branch information
Charles Keepax authored and Linus Walleij committed May 29, 2017
1 parent 27a49ed commit ca37978
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/gpio/gpio.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ Optional standard bitfield specifiers for the last cell:
https://en.wikipedia.org/wiki/Single-ended_triode
- Bit 2: 0 means open-source, 1 means open drain, see:
https://en.wikipedia.org/wiki/Open_collector
- Bit 3: 0 means the output should be maintained during sleep/low-power mode
1 means the output state can be lost during sleep/low-power mode

1.1) GPIO specifier best practices
----------------------------------
Expand Down

0 comments on commit ca37978

Please sign in to comment.