summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArash Golgol <arash.golgol@gmail.com>2026-08-12 16:20:54 +0330
committerMark Brown <broonie@kernel.org>2026-08-12 17:48:37 +0100
commite739acbe05b06de78ef7089470f122432f651faa (patch)
tree75bb5cd5424ae39693f5952639c60c51f5429f7a
parent6ab838a01b12f9d101c26ff8cebbf4029a8c9e09 (diff)
regulator: fan53555: Add support for FAN53555BUC23X type
FAN53555BUC23X has the ID 0 and REV 0xc, starts at 600mV and increments in 12.5mV steps. Per the datasheet, the FAN53555BUC23X (23 option) is grouped with the 00 and 13 options for soft-start timing (t_SS = 300us typ.), so the existing enable_time = 400 is reused here as well. This variant is found on the ASUS Tinker Edge R (RK3399Pro) as the supply regulator for both vdd_gpu and vdd_cpu_b. Verified across the full GPU OPP table with the userspace devfreq governor. Signed-off-by: Arash Golgol <arash.golgol@gmail.com> Link: https://patch.msgid.link/20260812125054.19111-1-arash.golgol@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--drivers/regulator/fan53555.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c
index 85f46874eb49..6557d8cbe98d 100644
--- a/drivers/regulator/fan53555.c
+++ b/drivers/regulator/fan53555.c
@@ -114,6 +114,7 @@ enum {
enum {
FAN53555_CHIP_REV_00 = 0x3,
FAN53555_CHIP_REV_13 = 0xf,
+ FAN53555_CHIP_REV_23 = 0xc,
};
enum {
@@ -306,6 +307,11 @@ static int fan53555_voltages_setup_fairchild(struct fan53555_device_info *di)
di->vsel_step = 10000;
di->enable_time = 400;
break;
+ case FAN53555_CHIP_REV_23:
+ di->vsel_min = 600000;
+ di->vsel_step = 12500;
+ di->enable_time = 400;
+ break;
default:
dev_err(di->dev,
"Chip ID %d with rev %d not supported!\n",