summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2022-03-04 22:28:01 +0530
committerPraneeth Bajjuri <praneeth@ti.com>2022-03-04 11:08:50 -0600
commit51c4b63124aaf160fe057c499f12fdc02ea0fe68 (patch)
treeb484ff2cbffabbafc53553e9fad8082cea0d50ee /drivers
parente52197789d42037cdb6bd842c88b1d51cbb8cf64 (diff)
arm: mach-k3: am62: Introduce autogenerated SoC data
Introduce autogenerated SoC data support clk and device data for the AM62. Hook it upto to power-domain and clk frameworks of U-Boot. Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clk/clk-k3.c6
-rw-r--r--drivers/power/domain/ti-power-domain.c6
2 files changed, 12 insertions, 0 deletions
diff --git a/drivers/clk/clk-k3.c b/drivers/clk/clk-k3.c
index 628205b22d..b418a97822 100644
--- a/drivers/clk/clk-k3.c
+++ b/drivers/clk/clk-k3.c
@@ -74,6 +74,12 @@ static const struct soc_attr ti_k3_soc_clk_data[] = {
.data = &j721s2_clk_platdata,
},
#endif
+#ifdef CONFIG_SOC_K3_AM625
+ {
+ .family = "AM62X",
+ .data = &am62x_clk_platdata,
+ },
+#endif
{ /* sentinel */ }
};
diff --git a/drivers/power/domain/ti-power-domain.c b/drivers/power/domain/ti-power-domain.c
index 6e7f377762..d59d87f441 100644
--- a/drivers/power/domain/ti-power-domain.c
+++ b/drivers/power/domain/ti-power-domain.c
@@ -86,6 +86,12 @@ static const struct soc_attr ti_k3_soc_pd_data[] = {
.data = &j721s2_pd_platdata,
},
#endif
+#ifdef CONFIG_SOC_K3_AM625
+ {
+ .family = "AM62X",
+ .data = &am62x_pd_platdata,
+ },
+#endif
{ /* sentinel */ }
};