summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorUdit Kumar <u-kumar1@ti.com>2023-11-18 22:25:55 +0530
committerPraneeth Bajjuri <praneeth@ti.com>2023-12-06 09:07:02 -0600
commitba820aee38c4adff7c214f93eab5f1645d42643f (patch)
tree8a79092c199c45c9628d32f953cd6b77ec944157 /drivers
parentd231dfe971d14719a262b2fd1aee5a645eda612d (diff)
driver: misc: k3_avs: Add J721S2 support
Adding AVS support for J721S2 SOC. Signed-off-by: Udit Kumar <u-kumar1@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/misc/k3_avs.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/misc/k3_avs.c b/drivers/misc/k3_avs.c
index dbf79040e0..38411e79c8 100644
--- a/drivers/misc/k3_avs.c
+++ b/drivers/misc/k3_avs.c
@@ -473,6 +473,27 @@ static struct vd_data j721e_vd_data[] = {
{ .id = -1 },
};
+static struct vd_data j721s2_vd_data[] = {
+ {
+ .id = J721E_VDD_MPU,
+ .opp = AM6_OPP_NOM,
+ .dev_id = 202, /* J721S2_DEV_A72SS0_CORE0 */
+ .clk_id = 0, /* ARM clock */
+ .opps = {
+ [AM6_OPP_NOM] = {
+ .volt = 880000, /* TBD in DM */
+ .freq = 2000000000,
+ },
+ },
+ },
+ { .id = -1 },
+};
+
+static struct vd_config j721s2_vd_config = {
+ .efuse_xlate = am6_efuse_xlate,
+ .vds = j721s2_vd_data,
+};
+
static struct vd_config j721e_vd_config = {
.efuse_xlate = am6_efuse_xlate,
.vds = j721e_vd_data,
@@ -486,6 +507,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,j721s2-avs", .data = (ulong)&j721s2_vd_config },
{}
};