1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 3 * Standard pin control state definitions 4 */ 5 6 #ifndef __LINUX_PINCTRL_PINCTRL_STATE_H 7 #define __LINUX_PINCTRL_PINCTRL_STATE_H 8 9 /** 10 * @PINCTRL_STATE_DEFAULT: the state the pinct 11 * into as default, usually this means th 12 * be used by the device driver. This sta 13 * hogs to configure muxing and pins at b 14 * to go into when returning from sleep a 15 * .pm_runtime_resume() or ordinary .resu 16 * @PINCTRL_STATE_INIT: normally the pinctrl w 17 * before the driver's probe() function i 18 * drivers where that is not appropriate 19 * glitch the pins. In those cases you c 20 * which is the state of the pins before 21 * if the pins are still in "init" state 22 * "default". 23 * @PINCTRL_STATE_IDLE: the state the pinctrl 24 * when the pins are idle. This is a stat 25 * but not fully sleeping - some power ma 26 * example. Could typically be set from a 27 * pm_runtime_idle() operation. 28 * @PINCTRL_STATE_SLEEP: the state the pinctrl 29 * when the pins are sleeping. This is a 30 * its lowest sleep state. Could typicall 31 * ordinary .suspend() function. 32 */ 33 #define PINCTRL_STATE_DEFAULT "default" 34 #define PINCTRL_STATE_INIT "init" 35 #define PINCTRL_STATE_IDLE "idle" 36 #define PINCTRL_STATE_SLEEP "sleep" 37 38 #endif /* __LINUX_PINCTRL_PINCTRL_STATE_H */ 39
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.