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 <jjhiblot@ti.com> Reviewed-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
committed by
Jaehoon Chung
parent
9554a14df2
commit
5c970013a6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user