From 5c970013a661c630ab28ddc3dd6766fe6bf83ece Mon Sep 17 00:00:00 2001 From: Jean-Jacques Hiblot Date: Wed, 12 Jul 2017 11:42:47 +0200 Subject: regulator: palmas: disable bypass when the LDO is enabled Some LDOs have a bypass capability. Make sure that the bypass is disabled when is the LDO is enabled (otherwise the voltage can't be changed). Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Keerthy Reviewed-by: Tom Rini --- include/power/palmas.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/power') diff --git a/include/power/palmas.h b/include/power/palmas.h index bad5a354d3..df5f15c5bd 100644 --- a/include/power/palmas.h +++ b/include/power/palmas.h @@ -23,3 +23,4 @@ #define PALMAS_LDO_VOLT_MAX 3300000 #define PALMAS_LDO_MODE_MASK 0x1 #define PALMAS_LDO_STATUS_MASK 0x10 +#define PALMAS_LDO_BYPASS_EN 0x40 -- cgit v1.2.1