diff options
author | Christophe Kerello <christophe.kerello@st.com> | 2018-06-27 11:59:47 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-07-19 16:31:36 -0400 |
commit | 844f9bf1eea75ff1ac1b1552ec4cac32ba829abb (patch) | |
tree | a41a6ea207bba4ce6f2f4a5150468f1e71cd1792 /include/power | |
parent | a1b2faed7cbaf23d4af8a629c4db1bebb8e99d1b (diff) |
power: regulator: stpmu1: add power off delay
This patch adds a delay when regulators are disabled.
This delay is set to 5 ms to cover all use cases.
The worst use case actually seen is during a SD card power cycle.
Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'include/power')
-rw-r--r-- | include/power/stpmu1.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/power/stpmu1.h b/include/power/stpmu1.h index 61c58f3b70..5906fbf832 100644 --- a/include/power/stpmu1.h +++ b/include/power/stpmu1.h @@ -44,6 +44,7 @@ #define STPMU1_NVM_USER_STATUS_ERROR BIT(1) #define STPMU1_DEFAULT_START_UP_DELAY_MS 1 +#define STPMU1_DEFAULT_STOP_DELAY_MS 5 #define STPMU1_USB_BOOST_START_UP_DELAY_MS 10 enum { |