From 1135bb96ffa91373d4484abebf9a19a02491fd69 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Mon, 7 May 2012 11:17:53 +0200 Subject: [PATCH] --- yaml --- r: 303342 b: refs/heads/master c: 65697e6b1a7d73d82d114377b448e89b9788e26b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/pinctrl/pinctrl-state.h | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index f02a76f78069..a2754524c60d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d41af627638a0e1e964d546e385b20650e769ce5 +refs/heads/master: 65697e6b1a7d73d82d114377b448e89b9788e26b diff --git a/trunk/include/linux/pinctrl/pinctrl-state.h b/trunk/include/linux/pinctrl/pinctrl-state.h index 3920e28b4da7..634608dc6c89 100644 --- a/trunk/include/linux/pinctrl/pinctrl-state.h +++ b/trunk/include/linux/pinctrl/pinctrl-state.h @@ -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"