aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorApurva Nandan2024-02-24 01:51:44 +0530
committerTom Rini2024-03-04 13:41:03 -0500
commit952099944dd5285eeddc6e75f6070dce8335cd4d (patch)
tree3e17a297fc0a5be0c27808f9626de3ec76511377 /drivers
parent4e3b94d7ba254322d75ea72da840be0a0af6a892 (diff)
arm: mach-k3: j784s4: Add clk and power support
Add clk and device data which can be used by respective drivers to configure clocks and PSC. Signed-off-by: Hari Nagalla <hnagalla@ti.com> Signed-off-by: Apurva Nandan <a-nandan@ti.com> Reviewed-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Nishanth Menon <nm@ti.com> Reviewed-by: Bryan Brattlof <bb@ti.com> Reviewed-by: Roger Quadros <rogerq@kernel.org> Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> # AM69-SK
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clk/ti/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/ti/clk-k3.c b/drivers/clk/ti/clk-k3.c
index eb76195bd75..10f60497973 100644
--- a/drivers/clk/ti/clk-k3.c
+++ b/drivers/clk/ti/clk-k3.c
@@ -87,6 +87,12 @@ static const struct soc_attr ti_k3_soc_clk_data[] = {
.data = &am62ax_clk_platdata,
},
#endif
+#ifdef CONFIG_SOC_K3_J784S4
+ {
+ .family = "J784S4",
+ .data = &j784s4_clk_platdata,
+ },
+#endif
{ /* sentinel */ }
};
diff --git a/drivers/power/domain/ti-power-domain.c b/drivers/power/domain/ti-power-domain.c
index b34c982f4f5..fb4ca2dd6b4 100644
--- a/drivers/power/domain/ti-power-domain.c
+++ b/drivers/power/domain/ti-power-domain.c
@@ -99,6 +99,12 @@ static const struct soc_attr ti_k3_soc_pd_data[] = {
.data = &am62ax_pd_platdata,
},
#endif
+#ifdef CONFIG_SOC_K3_J784S4
+ {
+ .family = "J784S4",
+ .data = &j784s4_pd_platdata,
+ },
+#endif
{ /* sentinel */ }
};