[PATCH v2 1/7] drivers: misc: k3_avs: Add linux compatible to maintain sync

Neha Malcom Francis n-francis at ti.com
Thu Sep 7 16:14:01 CEST 2023


The U-Boot AVS driver works on the VTM (Voltage and Thermal Management)
module, also used by the Linux TI Bandgap temperature sensor driver
(drivers/thermal/k3_j72xx_bandgap.c). Although the purpose and
functionalities that these two implement are different, the hardware is
the same, so ensure that their compatibles are in sync. Thus, add
ti,j721e-vtm compatible to the AVS driver.

Signed-off-by: Neha Malcom Francis <n-francis at ti.com>
---
 drivers/misc/k3_avs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/misc/k3_avs.c b/drivers/misc/k3_avs.c
index 840148d090..3008cf9810 100644
--- a/drivers/misc/k3_avs.c
+++ b/drivers/misc/k3_avs.c
@@ -382,6 +382,7 @@ static struct vd_config am654_vd_config = {
 static const struct udevice_id k3_avs_ids[] = {
 	{ .compatible = "ti,am654-avs", .data = (ulong)&am654_vd_config },
 	{ .compatible = "ti,j721e-avs", .data = (ulong)&j721e_vd_config },
+	{ .compatible = "ti,j721e-vtm", .data = (ulong)&j721e_vd_config },
 	{}
 };
 
-- 
2.34.1



More information about the U-Boot mailing list