projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7907e5
)
regulator: fan53555: add chip id for Silergy SYR83X
author
Vasily Khoruzhick
<anarsoul@gmail.com>
Wed, 6 Nov 2019 16:12:11 +0000
(08:12 -0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 6 Nov 2019 16:19:47 +0000
(16:19 +0000)
SYR83X is used in Rockpro64 and it has die ID == 9. All other
registers are the same as in SYR82X
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Link:
https://lore.kernel.org/r/20191106161211.1700663-1-anarsoul@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/fan53555.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/fan53555.c
b/drivers/regulator/fan53555.c
index
dbe477d
..
00c8349
100644
(file)
--- a/
drivers/regulator/fan53555.c
+++ b/
drivers/regulator/fan53555.c
@@
-83,6
+83,7
@@
enum {
enum {
SILERGY_SYR82X = 8,
+ SILERGY_SYR83X = 9,
};
struct fan53555_device_info {
@@
-302,6
+303,7
@@
static int fan53555_voltages_setup_silergy(struct fan53555_device_info *di)
/* Init voltage range and step */
switch (di->chip_id) {
case SILERGY_SYR82X:
+ case SILERGY_SYR83X:
di->vsel_min = 712500;
di->vsel_step = 12500;
break;