aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2019-10-24 15:00:49 +0530
committerTom Rini <trini@konsulko.com>2019-11-07 18:39:16 -0500
commit9a03e50c5fad1daff7335dafa5b8b7e2a66ce6c9 (patch)
treef3177ed8eb72992e9153e3e4d13d66fdc3db8afc /drivers/misc
parent22e8f18980d645f2489fa3f9cb034e416940df66 (diff)
downloadu-boot-9a03e50c5fad1daff7335dafa5b8b7e2a66ce6c9.zip
u-boot-9a03e50c5fad1daff7335dafa5b8b7e2a66ce6c9.tar.gz
u-boot-9a03e50c5fad1daff7335dafa5b8b7e2a66ce6c9.tar.bz2
misc: k3_avs: Add j721e support
j721e SoCs have different OPP tables. Add support for the same. Note: DM Still has lot of voltages TBD hence the correct values need to be programmed once they are published. Signed-off-by: Keerthy <j-keerthy@ti.com>
Diffstat (limited to 'drivers/misc')
-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 dd7fc3d..c19c3c0 100644
--- a/drivers/misc/k3_avs.c
+++ b/drivers/misc/k3_avs.c
@@ -347,6 +347,27 @@ static struct vd_data am654_vd_data[] = {
{ .id = -1 },
};
+static struct vd_data j721e_vd_data[] = {
+ {
+ .id = J721E_VDD_MPU,
+ .opp = AM6_OPP_NOM,
+ .dev_id = 202, /* J721E_DEV_A72SS0_CORE0 */
+ .clk_id = 2, /* ARM clock */
+ .opps = {
+ [AM6_OPP_NOM] = {
+ .volt = 880000, /* TBD in DM */
+ .freq = 2000000000,
+ },
+ },
+ },
+ { .id = -1 },
+};
+
+static struct vd_config j721e_vd_config = {
+ .efuse_xlate = am6_efuse_xlate,
+ .vds = j721e_vd_data,
+};
+
static struct vd_config am654_vd_config = {
.efuse_xlate = am6_efuse_xlate,
.vds = am654_vd_data,
@@ -354,6 +375,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 },
{}
};