Skip to content

Commit

Permalink
regulator: fan53555: add chip id for Silergy SYR83X
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vasily Khoruzhick authored and Mark Brown committed Nov 6, 2019
1 parent f7907e5 commit 5365e3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/regulator/fan53555.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ enum {

enum {
SILERGY_SYR82X = 8,
SILERGY_SYR83X = 9,
};

struct fan53555_device_info {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 5365e3d

Please sign in to comment.