diff options
author | Tero Kristo <t-kristo@ti.com> | 2017-08-10 16:11:06 +0300 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2017-12-01 15:17:39 +0200 |
commit | a3da10b70978e77ccd9d3f6c14a33d54cda74141 (patch) | |
tree | dffc1dd02d1757214d95692d9dde5fa8297e83fd /drivers/clk/ti/clkctrl.c | |
parent | 9bc01114b1260a394478acd3698d386389861eba (diff) | |
download | linux-stable-a3da10b70978e77ccd9d3f6c14a33d54cda74141.tar.gz linux-stable-a3da10b70978e77ccd9d3f6c14a33d54cda74141.tar.bz2 linux-stable-a3da10b70978e77ccd9d3f6c14a33d54cda74141.zip |
clk: ti: am43xx: add clkctrl clock data
Add data for am43xx clkctrl clocks, and register it within the clkctrl
driver.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/ti/clkctrl.c')
-rw-r--r-- | drivers/clk/ti/clkctrl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clk/ti/clkctrl.c b/drivers/clk/ti/clkctrl.c index 66548eb19bfc..b524bc9dfb23 100644 --- a/drivers/clk/ti/clkctrl.c +++ b/drivers/clk/ti/clkctrl.c @@ -460,6 +460,12 @@ static void __init _ti_omap4_clkctrl_setup(struct device_node *node) if (of_machine_is_compatible("ti,am33xx")) data = am3_clkctrl_data; #endif +#ifdef CONFIG_SOC_AM43XX + if (of_machine_is_compatible("ti,am4372")) + data = am4_clkctrl_data; + if (of_machine_is_compatible("ti,am438x")) + data = am438x_clkctrl_data; +#endif while (data->addr) { if (addr == data->addr) |