summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-03-17 12:21:09 +0000
committerMark Brown <broonie@kernel.org>2015-03-17 12:21:09 +0000
commita26aeb177d8c1c4df3e32f0a21e8dd5b45ab1fc1 (patch)
tree5ed97aefa2b24b89e033dd403d6a0865fb7ae202 /drivers/regulator
parentcdbf6f0e8e58ec4601546d0ab67da905d4a2e6f5 (diff)
parente03826d5045e81a66a4fad7be9a8ecdaeb7911cf (diff)
downloadop-kernel-dev-a26aeb177d8c1c4df3e32f0a21e8dd5b45ab1fc1.zip
op-kernel-dev-a26aeb177d8c1c4df3e32f0a21e8dd5b45ab1fc1.tar.gz
Merge branch 'fix/palmas' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator into regulator-palmas
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/palmas-regulator.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c
index eecce1e..9518a76 100644
--- a/drivers/regulator/palmas-regulator.c
+++ b/drivers/regulator/palmas-regulator.c
@@ -1572,6 +1572,10 @@ static int palmas_regulators_probe(struct platform_device *pdev)
if (!pmic)
return -ENOMEM;
+ if (of_device_is_compatible(node, "ti,tps659038-pmic"))
+ palmas_generic_regs_info[PALMAS_REG_REGEN2].ctrl_addr =
+ TPS659038_REGEN2_CTRL;
+
pmic->dev = &pdev->dev;
pmic->palmas = palmas;
palmas->pmic = pmic;
OpenPOWER on IntegriCloud