From 844f9bf1eea75ff1ac1b1552ec4cac32ba829abb Mon Sep 17 00:00:00 2001 From: Christophe Kerello Date: Wed, 27 Jun 2018 11:59:47 +0200 Subject: 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 Signed-off-by: Patrice Chotard --- include/power/stpmu1.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/power/stpmu1.h b/include/power/stpmu1.h index 61c58f3b700..5906fbf832b 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 { -- cgit v1.2.3