From f3db077f8b6ffdece8f97f21a3e6fd81a8bb6518 Mon Sep 17 00:00:00 2001 From: Wadim Egorov Date: Wed, 20 Apr 2016 10:01:07 +0200 Subject: [PATCH] UPSTREAM: regulator: fan53555: Add support for FAN53555BUC18X type FAN53555BUC18X has the DIE_ID 8, starts at 600mV and increments in 10mV steps. Change-Id: If4f7d2d911748c42e79ad8268b884275d4230aef Signed-off-by: Wadim Egorov Signed-off-by: Mark Brown (cherry picked from commit 5e39cf49729b910795daa0b86052463d23c0a18d) Signed-off-by: Jacob Chen --- drivers/regulator/fan53555.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c index f6ded7024195..f892808d87cf 100644 --- a/drivers/regulator/fan53555.c +++ b/drivers/regulator/fan53555.c @@ -67,6 +67,7 @@ enum { FAN53555_CHIP_ID_03, FAN53555_CHIP_ID_04, FAN53555_CHIP_ID_05, + FAN53555_CHIP_ID_08 = 8, }; enum { @@ -278,6 +279,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; -- 2.34.1