regulator: fan53555: Add support for Silergy SYM827

The Silergy SYM827 is a 6A synchronous step-down converter with a
similar I2C register map to the FAN53555.

SYM827 reports die ID 1. Its output starts at 600mV and increments in
12.5mV steps. No datasheet is available for this hardware, so the die ID
was read from devices, and the voltage range was taken from the
downstream driver [1].

Link: https://github.com/amazon-oss/android_kernel_amazon_mt8163/blob/7c8251b354f11a4703e6f7d5ad7b0c545bbed15d/drivers/regulator/sym827-regulator.c#L60-L62 [1]
Signed-off-by: Ben Grisdale <[email protected]>
Link: https://patch.msgid.link/20261106-fan53555-silergy-sym827-support-v1-2-4e871c7f475c@protonmail.ch
Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
Ben Grisdale
2026-11-09 12:49:14 +00:00
committed by Mark Brown
parent 9d20773cdf
commit 0429619476
+11
View File
@@ -118,6 +118,7 @@ enum {
};
enum {
SILERGY_SYM827 = 1,
SILERGY_SYR82X = 8,
SILERGY_SYR83X = 9,
};
@@ -412,6 +413,10 @@ static int fan53555_voltages_setup_silergy(struct fan53555_device_info *di)
{
/* Init voltage range and step */
switch (di->chip_id) {
case SILERGY_SYM827:
di->vsel_min = 600000;
di->vsel_step = 12500;
break;
case SILERGY_SYR82X:
case SILERGY_SYR83X:
di->vsel_min = 712500;
@@ -684,6 +689,9 @@ static const struct of_device_id __maybe_unused fan53555_dt_ids[] = {
}, {
.compatible = "rockchip,rk8602",
.data = (void *)RK8602_VENDOR_ROCKCHIP
}, {
.compatible = "silergy,sym827",
.data = (void *)FAN53555_VENDOR_SILERGY,
}, {
.compatible = "silergy,syr827",
.data = (void *)FAN53555_VENDOR_SILERGY,
@@ -793,6 +801,9 @@ static const struct i2c_device_id fan53555_id[] = {
}, {
.name = "rk8602",
.driver_data = RK8602_VENDOR_ROCKCHIP
}, {
.name = "sym827",
.driver_data = FAN53555_VENDOR_SILERGY
}, {
.name = "syr827",
.driver_data = FAN53555_VENDOR_SILERGY