Commit 5365e3df authored by Vasily Khoruzhick's avatar Vasily Khoruzhick Committed by Mark Brown

regulator: fan53555: add chip id for Silergy SYR83X

SYR83X is used in Rockpro64 and it has die ID == 9. All other
registers are the same as in SYR82X
Signed-off-by: default avatarVasily Khoruzhick <anarsoul@gmail.com>
Link: https://lore.kernel.org/r/20191106161211.1700663-1-anarsoul@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent f7907e57
...@@ -83,6 +83,7 @@ enum { ...@@ -83,6 +83,7 @@ enum {
enum { enum {
SILERGY_SYR82X = 8, SILERGY_SYR82X = 8,
SILERGY_SYR83X = 9,
}; };
struct fan53555_device_info { struct fan53555_device_info {
...@@ -302,6 +303,7 @@ static int fan53555_voltages_setup_silergy(struct fan53555_device_info *di) ...@@ -302,6 +303,7 @@ static int fan53555_voltages_setup_silergy(struct fan53555_device_info *di)
/* Init voltage range and step */ /* Init voltage range and step */
switch (di->chip_id) { switch (di->chip_id) {
case SILERGY_SYR82X: case SILERGY_SYR82X:
case SILERGY_SYR83X:
di->vsel_min = 712500; di->vsel_min = 712500;
di->vsel_step = 12500; di->vsel_step = 12500;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment