aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBryan Brattlof <bb@ti.com>2024-03-12 15:20:21 -0500
committerTom Rini <trini@konsulko.com>2024-03-13 10:10:04 -0400
commit1bcc7a4d7d2e53918e18452e0a34920eb385431e (patch)
tree5ef5335c8cbcb71293a9b525ca549f775b219d22 /drivers
parentc59d3746d6812fbd5ec1349041e9ea787c8a89b3 (diff)
downloadu-boot-1bcc7a4d7d2e53918e18452e0a34920eb385431e.zip
u-boot-1bcc7a4d7d2e53918e18452e0a34920eb385431e.tar.gz
u-boot-1bcc7a4d7d2e53918e18452e0a34920eb385431e.tar.bz2
arm: mach-k3: am62px: introduce clock and device files for wkup spl
Include the clock and lpsc tree files needed for the wkup spl to initialize the proper PLLs and power domains to boot the SoC. Reviewed-by: Neha Malcom Francis <n-francis@ti.com> Signed-off-by: Bryan Brattlof <bb@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clk/ti/clk-k3.c6
-rw-r--r--drivers/power/domain/ti-power-domain.c8
2 files changed, 13 insertions, 1 deletions
diff --git a/drivers/clk/ti/clk-k3.c b/drivers/clk/ti/clk-k3.c
index 10f6049..7aa162c 100644
--- a/drivers/clk/ti/clk-k3.c
+++ b/drivers/clk/ti/clk-k3.c
@@ -93,6 +93,12 @@ static const struct soc_attr ti_k3_soc_clk_data[] = {
.data = &j784s4_clk_platdata,
},
#endif
+#ifdef CONFIG_SOC_K3_AM62P5
+ {
+ .family = "AM62PX",
+ .data = &am62px_clk_platdata,
+ },
+#endif
{ /* sentinel */ }
};
diff --git a/drivers/power/domain/ti-power-domain.c b/drivers/power/domain/ti-power-domain.c
index 8fa9892..8996c40 100644
--- a/drivers/power/domain/ti-power-domain.c
+++ b/drivers/power/domain/ti-power-domain.c
@@ -100,12 +100,18 @@ static const struct soc_attr ti_k3_soc_pd_data[] = {
.data = &am62ax_pd_platdata,
},
#endif
-#ifdef CONFIG_SOC_K3_J784S4
+#if IS_ENABLED(CONFIG_SOC_K3_J784S4)
{
.family = "J784S4",
.data = &j784s4_pd_platdata,
},
#endif
+#if IS_ENABLED(CONFIG_SOC_K3_AM62P5)
+ {
+ .family = "AM62PX",
+ .data = &am62px_pd_platdata,
+ },
+#endif
{ /* sentinel */ }
};