diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2017-07-12 11:42:47 +0200 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2017-08-01 11:58:01 +0900 |
commit | 5c970013a661c630ab28ddc3dd6766fe6bf83ece (patch) | |
tree | 3b02d26a83a2e58bbc0741f2b78474461f273b93 /include/power/palmas.h | |
parent | 9554a14df2e2f1eee8cbecbaa021aaaae9f457ad (diff) |
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>
Diffstat (limited to 'include/power/palmas.h')
-rw-r--r-- | include/power/palmas.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |