summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWadim Egorov <w.egorov@phytec.de>2016-04-20 10:01:07 +0200
committerMark Brown <broonie@kernel.org>2016-04-20 10:57:26 +0100
commit5e39cf49729b910795daa0b86052463d23c0a18d (patch)
tree86279059a4d1e3813fe387d28ca809ea947e65c9 /drivers
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff)
downloadlinux-5e39cf49729b910795daa0b86052463d23c0a18d.tar.bz2
regulator: fan53555: Add support for FAN53555BUC18X type
FAN53555BUC18X has the DIE_ID 8, starts at 600mV and increments in 10mV steps. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/regulator/fan53555.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c
index 2cb5cc311610..d4bfa9312724 100644
--- a/drivers/regulator/fan53555.c
+++ b/drivers/regulator/fan53555.c
@@ -65,6 +65,7 @@ enum {
FAN53555_CHIP_ID_03,
FAN53555_CHIP_ID_04,
FAN53555_CHIP_ID_05,
+ FAN53555_CHIP_ID_08 = 8,
};
enum {
@@ -220,6 +221,7 @@ static int fan53555_voltages_setup_fairchild(struct fan53555_device_info *di)
case FAN53555_CHIP_ID_01:
case FAN53555_CHIP_ID_03:
case FAN53555_CHIP_ID_05:
+ case FAN53555_CHIP_ID_08:
di->vsel_min = 600000;
di->vsel_step = 10000;
break;