public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] power: pmic: tps65941: Update compatible to aling with kernel DT
@ 2024-04-19  6:00 ` Udit Kumar
  2024-04-26  6:35   ` Jaehoon Chung
  0 siblings, 1 reply; 2+ messages in thread
From: Udit Kumar @ 2024-04-19  6:00 UTC (permalink / raw)
  To: n-francis, jh80.chung, j-keerthy; +Cc: nm, trini, sjg, u-boot, Udit Kumar

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 },
 	{ }
 };
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [PATCH] power: pmic: tps65941: Update compatible to aling with kernel DT
  2024-04-19  6:00 ` [PATCH] power: pmic: tps65941: Update compatible to aling with kernel DT Udit Kumar
@ 2024-04-26  6:35   ` Jaehoon Chung
  0 siblings, 0 replies; 2+ messages in thread
From: Jaehoon Chung @ 2024-04-26  6:35 UTC (permalink / raw)
  To: 'Udit Kumar', n-francis, j-keerthy; +Cc: nm, trini, sjg, u-boot



> -----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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-26  6:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20240419060036epcas1p35c443d2d2bb75149343916cabe7da8af@epcas1p3.samsung.com>
2024-04-19  6:00 ` [PATCH] power: pmic: tps65941: Update compatible to aling with kernel DT Udit Kumar
2024-04-26  6:35   ` Jaehoon Chung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox