summaryrefslogtreecommitdiff
path: root/drivers/clk/ti/clkctrl.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2017-08-09 11:59:29 +0300
committerTero Kristo <t-kristo@ti.com>2017-12-01 15:17:25 +0200
commitdf54bfc5502ac67c152e1d9d36f6e8c03a07af0c (patch)
treee5f8c4c873b56d6294b1c092e9d35fe320701bde /drivers/clk/ti/clkctrl.c
parent172c48c7d16fec5e38b08a074e5e16388f89a6c2 (diff)
clk: ti: am33xx: add clkctrl clock data
Add data for am33xx clkctrl clocks, and register it within the clkctrl driver. Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'drivers/clk/ti/clkctrl.c')
-rw-r--r--drivers/clk/ti/clkctrl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/ti/clkctrl.c b/drivers/clk/ti/clkctrl.c
index 3de4cf2771b9..66548eb19bfc 100644
--- a/drivers/clk/ti/clkctrl.c
+++ b/drivers/clk/ti/clkctrl.c
@@ -456,6 +456,10 @@ static void __init _ti_omap4_clkctrl_setup(struct device_node *node)
if (of_machine_is_compatible("ti,dra7"))
data = dra7_clkctrl_data;
#endif
+#ifdef CONFIG_SOC_AM33XX
+ if (of_machine_is_compatible("ti,am33xx"))
+ data = am3_clkctrl_data;
+#endif
while (data->addr) {
if (addr == data->addr)