summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/tps6586x.c
diff options
context:
space:
mode:
authorAlban Bedel <alban.bedel@avionic-design.de>2014-05-20 12:14:03 +0200
committerMark Brown <broonie@linaro.org>2014-05-26 16:48:02 +0100
commit6c46ccc8bb0660c1805f6662d4646eb5405dcb2d (patch)
treef42f014c7145a25f8b768790b82ef8e93f2a7a7a /drivers/mfd/tps6586x.c
parentad0b40fee4081490676b26ec4fb2205607116eaf (diff)
downloadlinux-6c46ccc8bb0660c1805f6662d4646eb5405dcb2d.tar.bz2
regulator: tps6586x: Add support for the TPS658640
The TPS658640 has a different set of output voltage for most LDO and the RTC LDO isn't settable. This chip also report 2 different version ID, as the datasheet doesn't list the possible values the second ID has simply been named TPS658640v2. Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/mfd/tps6586x.c')
-rw-r--r--drivers/mfd/tps6586x.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mfd/tps6586x.c b/drivers/mfd/tps6586x.c
index bbd54414a75d..835e5549ecdd 100644
--- a/drivers/mfd/tps6586x.c
+++ b/drivers/mfd/tps6586x.c
@@ -495,6 +495,10 @@ static void tps6586x_print_version(struct i2c_client *client, int version)
case TPS658623:
name = "TPS658623";
break;
+ case TPS658640:
+ case TPS658640v2:
+ name = "TPS658640";
+ break;
case TPS658643:
name = "TPS658643";
break;