Commit 0ad902f6 authored by Tero Kristo's avatar Tero Kristo

clk: ti: omap5: add clkctrl clock data

Add data for omap5 clkctrl clocks, and register it within the clkctrl
driver.
Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
parent e11f1d68
This diff is collapsed.
......@@ -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)
......
......@@ -231,6 +231,7 @@ struct omap_clkctrl_data {
};
extern const struct omap_clkctrl_data omap4_clkctrl_data[];
extern const struct omap_clkctrl_data omap5_clkctrl_data[];
#define CLKF_SW_SUP BIT(0)
#define CLKF_HW_SUP BIT(1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment