[PATCH] power: pmic: tps65941: Update compatible to aling with kernel DT

Linux kernel driver drivers/mfd/tps6594-i2c.c is using different name for compatible for tps6594 family PMIC. After sync of Linux kernel DT to u-boot for TI platforms J7200, J721S2 and J784S4 PMIC is no longer getting probed.
So updating compatible field to align with Linux driver and DT.
Signed-off-by: Udit Kumar u-kumar1@ti.com --- drivers/power/pmic/tps65941.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/drivers/power/pmic/tps65941.c b/drivers/power/pmic/tps65941.c index 727b42747a..bf762deb29 100644 --- a/drivers/power/pmic/tps65941.c +++ b/drivers/power/pmic/tps65941.c @@ -75,6 +75,9 @@ static const struct udevice_id tps65941_ids[] = { { .compatible = "ti,tps659412", .data = TPS659411 }, { .compatible = "ti,tps659413", .data = TPS659413 }, { .compatible = "ti,lp876441", .data = LP876441 }, + { .compatible = "ti,tps6594-q1", .data = TPS659411 }, + { .compatible = "ti,tps6593-q1", .data = TPS659413 }, + { .compatible = "ti,lp8764-q1", .data = LP876441 }, { } };

-----Original Message----- From: Udit Kumar u-kumar1@ti.com Sent: Friday, April 19, 2024 3:00 PM To: n-francis@ti.com; jh80.chung@samsung.com; j-keerthy@ti.com Cc: nm@ti.com; trini@konsulko.com; sjg@chromium.org; u-boot@lists.denx.de; Udit Kumar <u- kumar1@ti.com> Subject: [PATCH] power: pmic: tps65941: Update compatible to aling with kernel DT
Linux kernel driver drivers/mfd/tps6594-i2c.c is using different name for compatible for tps6594 family PMIC. After sync of Linux kernel DT to u-boot for TI platforms J7200, J721S2 and J784S4 PMIC is no longer getting probed.
So updating compatible field to align with Linux driver and DT.
Signed-off-by: Udit Kumar u-kumar1@ti.com
Reviewed-by: Jaehoon Chung jh80.chung@samsung.com
Best Regards, Jaehoon Chung
drivers/power/pmic/tps65941.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/drivers/power/pmic/tps65941.c b/drivers/power/pmic/tps65941.c index 727b42747a..bf762deb29 100644 --- a/drivers/power/pmic/tps65941.c +++ b/drivers/power/pmic/tps65941.c @@ -75,6 +75,9 @@ static const struct udevice_id tps65941_ids[] = { { .compatible = "ti,tps659412", .data = TPS659411 }, { .compatible = "ti,tps659413", .data = TPS659413 }, { .compatible = "ti,lp876441", .data = LP876441 },
- { .compatible = "ti,tps6594-q1", .data = TPS659411 },
- { .compatible = "ti,tps6593-q1", .data = TPS659413 },
- { .compatible = "ti,lp8764-q1", .data = LP876441 }, { }
};
-- 2.34.1
participants (2)
-
Jaehoon Chung
-
Udit Kumar