blob: 634608dc6c89fe8c59aeb70e7b6c473a4869085f [file] [log] [blame]
Linus Walleij9a01be12012-03-06 21:15:51 +01001/*
2 * Standard pin control state definitions
3 */
4
Linus Walleij65697e62012-05-07 11:17:53 +02005/**
6 * @PINCTRL_STATE_DEFAULT: the state the pinctrl handle shall be put
7 * into as default, usually this means the pins are up and ready to
8 * be used by the device driver. This state is commonly used by
9 * hogs to configure muxing and pins at boot.
10 * @PINCTRL_STATE_IDLE: the state the pinctrl handle shall be put into
11 * when the pins are idle. Could typically be set from a
12 * pm_runtime_suspend() operation.
13 * @PINCTRL_STATE_SLEEP: the state the pinctrl handle shall be put into
14 * when the pins are sleeping. Could typically be set from a
15 * common suspend() function.
16 */
Linus Walleij9a01be12012-03-06 21:15:51 +010017#define PINCTRL_STATE_DEFAULT "default"
18#define PINCTRL_STATE_IDLE "idle"
Linus Walleij65697e62012-05-07 11:17:53 +020019#define PINCTRL_STATE_SLEEP "sleep"