regulator: palmas: support for external regulator through control outputs
Palmas device have control outputs like REGEN1, REGEN2, REGEN3, SYSEN1 and SYSEN2. These control outputs can be used for controlling external voltage switches to enabled/disable voltage outputs. Add support of these control outputs through regulator framework. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:

committed by
Mark Brown

parent
30590d0480
commit
aa07f02793
@@ -154,6 +154,12 @@ enum palmas_regulators {
|
||||
PALMAS_REG_LDO9,
|
||||
PALMAS_REG_LDOLN,
|
||||
PALMAS_REG_LDOUSB,
|
||||
/* External regulators */
|
||||
PALMAS_REG_REGEN1,
|
||||
PALMAS_REG_REGEN2,
|
||||
PALMAS_REG_REGEN3,
|
||||
PALMAS_REG_SYSEN1,
|
||||
PALMAS_REG_SYSEN2,
|
||||
/* Total number of regulators */
|
||||
PALMAS_NUM_REGS,
|
||||
};
|
||||
|
Reference in New Issue
Block a user