[PATCH 1/3] drivers: misc: k3_avs: Add Linux compatible to enable avs in u-boot
Reid Tonking
reidt at ti.com
Tue Sep 5 20:13:07 CEST 2023
The ti,j7200-vtm compatible is used for voltage and thermal monitoring
(VTM) by (drivers/thermal/k3_j72xx_bandgap.c) in Linux, but the same
hardware is used for adaptive voltage scaling (AVS) in u-boot, This brings
both drivers in line with the same compatible. Since the j7200 uses the
config as the j721e, the data is inherited from j721e vs creating a
duplicate in all but name.
Signed-off-by: Reid Tonking <reidt at ti.com>
---
drivers/misc/k3_avs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/k3_avs.c b/drivers/misc/k3_avs.c
index 840148d090..f7936017ba 100644
--- a/drivers/misc/k3_avs.c
+++ b/drivers/misc/k3_avs.c
@@ -382,7 +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,j7200-vtm", .data = (ulong)&j721e_vd_config }
};
U_BOOT_DRIVER(k3_avs) = {
--
2.34.1
More information about the U-Boot
mailing list