diff options
author | Tero Kristo <t-kristo@ti.com> | 2017-07-31 11:16:24 +0200 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2017-12-01 14:17:18 +0100 |
commit | 0ad902f62f484fc6c05b4dddf3fdc388128dae55 (patch) | |
tree | 5548a3eddb85b033eb12886b81c3e6f5d3698465 /drivers/clk/ti/clkctrl.c | |
parent | dt-bindings: clk: add omap5 clkctrl definitions (diff) | |
download | linux-0ad902f62f484fc6c05b4dddf3fdc388128dae55.tar.xz linux-0ad902f62f484fc6c05b4dddf3fdc388128dae55.zip |
clk: ti: omap5: add clkctrl clock data
Add data for omap5 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.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/ti/clkctrl.c b/drivers/clk/ti/clkctrl.c index 3bab88e4fffa..9f6706fe0616 100644 --- a/drivers/clk/ti/clkctrl.c +++ b/drivers/clk/ti/clkctrl.c @@ -448,6 +448,10 @@ static void __init _ti_omap4_clkctrl_setup(struct device_node *node) if (of_machine_is_compatible("ti,omap4")) data = omap4_clkctrl_data; #endif +#ifdef CONFIG_SOC_OMAP5 + if (of_machine_is_compatible("ti,omap5")) + data = omap5_clkctrl_data; +#endif while (data->addr) { if (addr == data->addr) |