Skip to contentSkip to conversation

power: pmic: tps65941: Update compatible to aling with kernel DT

PATCH In review Udit Kumar 2 participants 2 messages Apr 19, 2024 – Apr 26, 2024

lore
Share & tools
lore

Udit Kumar

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/power/pmic/tps65941.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/power/pmic/tps65941.c +3 -0
index 727b42747a..bf762deb29 100644
@@ -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 },
 	{ }
 };
 
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines

-----Original Message-----
From: Udit Kumar <[email protected]>
Sent: Friday, April 19, 2024 3:00 PM
To: [email protected]; [email protected]; [email protected]
Cc: [email protected]; [email protected]; [email protected]; [email protected]; Udit Kumar <u- [email protected]>
Subject: [PATCH] power: pmic: tps65941: Update compatible to aling with kernel DT

Quoted 8 lines

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.

Best Regards,
Jaehoon Chung

Quoted 20 lines
---
 drivers/power/pmic/tps65941.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/power/pmic/tps65941.c +3 -1
index 727b42747a..bf762deb29 100644
@@ -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