projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f55532a
)
regulator: fan53555: Add support for FAN53555BUC18X type
author
Wadim Egorov
<w.egorov@phytec.de>
Wed, 20 Apr 2016 08:01:07 +0000
(10:01 +0200)
committer
Mark Brown
<broonie@kernel.org>
Wed, 20 Apr 2016 09:57:26 +0000
(10:57 +0100)
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>
drivers/regulator/fan53555.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/fan53555.c
b/drivers/regulator/fan53555.c
index 2cb5cc311610a12c467d518336dbdde814665667..d4bfa93127243ad6d2e957a9fef4d4d4ac0a87ae 100644
(file)
--- 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;