[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1461139268-45957-1-git-send-email-w.egorov@phytec.de>
Date: Wed, 20 Apr 2016 10:01:07 +0200
From: Wadim Egorov <w.egorov@...tec.de>
To: linux-kernel@...r.kernel.org, broonie@...nel.org
Cc: lgirdwood@...il.com
Subject: [PATCH 1/2] 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@...tec.de>
---
drivers/regulator/fan53555.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c
index 2cb5cc3..d4bfa93 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;
--
1.9.1
Powered by blists - more mailing lists