diff options
author | J Keerthy <j-keerthy@ti.com> | 2013-06-19 11:27:48 +0530 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-06-20 11:29:18 +0200 |
commit | 1ffb0be3ad6186b421921de91092917f0b3ee3e2 (patch) | |
tree | 648c9f7c74880fbfb921a6b95c9e67ce92ae59d9 /drivers/regulator/palmas-regulator.c | |
parent | ad522f4e351d020714959d9570baf3de7fcbad11 (diff) | |
download | blackbird-op-linux-1ffb0be3ad6186b421921de91092917f0b3ee3e2.tar.gz blackbird-op-linux-1ffb0be3ad6186b421921de91092917f0b3ee3e2.zip |
mfd: palmas: Add SMPS10_BOOST feature
The SMPS10 regulator is not presesnt in all the variants
of the PALMAS PMIC family. Hence adding a feature to distingush
between them.
Signed-off-by: J Keerthy <j-keerthy@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/regulator/palmas-regulator.c')
-rw-r--r-- | drivers/regulator/palmas-regulator.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index 3ae44ac12a94..1ae1e83448cf 100644 --- a/drivers/regulator/palmas-regulator.c +++ b/drivers/regulator/palmas-regulator.c @@ -838,6 +838,9 @@ static int palmas_regulators_probe(struct platform_device *pdev) continue; ramp_delay_support = true; break; + case PALMAS_REG_SMPS10: + if (!PALMAS_PMIC_HAS(palmas, SMPS10_BOOST)) + continue; } if ((id == PALMAS_REG_SMPS6) || (id == PALMAS_REG_SMPS8)) |