From: Wadim Egorov Date: Wed, 20 Apr 2016 08:01:07 +0000 (+0200) Subject: UPSTREAM: regulator: fan53555: Add support for FAN53555BUC18X type X-Git-Tag: release-20171130_firefly~4^2~770 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f3db077f8b6ffdece8f97f21a3e6fd81a8bb6518;p=firefly-linux-kernel-4.4.55.git 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 --- 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;