summaryrefslogtreecommitdiffstats
path: root/drivers/clk/ti/clkctrl.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2017-08-04 17:25:08 +0300
committerTero Kristo <t-kristo@ti.com>2017-12-01 15:17:18 +0200
commit24d504a38bef390a68c46b68aeff76c6debf4b91 (patch)
treeb9cff4efa059a77585d460248997f6077aaeb94e /drivers/clk/ti/clkctrl.c
parentae263d5276e4d46be253946baaccc91d22935c2a (diff)
downloadlinux-24d504a38bef390a68c46b68aeff76c6debf4b91.tar.bz2
clk: ti: dra7: add clkctrl clock data
Add data for dra7 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 9f6706fe0616..3de4cf2771b9 100644
--- a/drivers/clk/ti/clkctrl.c
+++ b/drivers/clk/ti/clkctrl.c
@@ -452,6 +452,10 @@ static void __init _ti_omap4_clkctrl_setup(struct device_node *node)
if (of_machine_is_compatible("ti,omap5"))
data = omap5_clkctrl_data;
#endif
+#ifdef CONFIG_SOC_DRA7XX
+ if (of_machine_is_compatible("ti,dra7"))
+ data = dra7_clkctrl_data;
+#endif
while (data->addr) {
if (addr == data->addr)