Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303342
b: refs/heads/master
c: 65697e6
h: refs/heads/master
v: v3
  • Loading branch information
Linus Walleij committed May 11, 2012
1 parent a90c7be commit 1135bb9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d41af627638a0e1e964d546e385b20650e769ce5
refs/heads/master: 65697e6b1a7d73d82d114377b448e89b9788e26b
13 changes: 13 additions & 0 deletions trunk/include/linux/pinctrl/pinctrl-state.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,18 @@
* Standard pin control state definitions
*/

/**
* @PINCTRL_STATE_DEFAULT: the state the pinctrl handle shall be put
* into as default, usually this means the pins are up and ready to
* be used by the device driver. This state is commonly used by
* hogs to configure muxing and pins at boot.
* @PINCTRL_STATE_IDLE: the state the pinctrl handle shall be put into
* when the pins are idle. Could typically be set from a
* pm_runtime_suspend() operation.
* @PINCTRL_STATE_SLEEP: the state the pinctrl handle shall be put into
* when the pins are sleeping. Could typically be set from a
* common suspend() function.
*/
#define PINCTRL_STATE_DEFAULT "default"
#define PINCTRL_STATE_IDLE "idle"
#define PINCTRL_STATE_SLEEP "sleep"

0 comments on commit 1135bb9

Please sign in to comment.