diff options
author | Tero Kristo <t-kristo@ti.com> | 2015-03-03 12:47:08 +0100 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2015-06-02 11:31:13 +0200 |
commit | 192383d87b876ea9879d8b598af593809a25b7d2 (patch) | |
tree | 2bc4193313213478bce85068661710f937509074 /arch/arm/mach-omap2/clock.c | |
parent | ARM: OMAP2+: clock: add support for clkdm ops to the low level clk ops (diff) | |
download | linux-192383d87b876ea9879d8b598af593809a25b7d2.tar.xz linux-192383d87b876ea9879d8b598af593809a25b7d2.zip |
ARM: OMAP2+: clock: add support for specific CM ops to ti_clk_ll_ops
Clock driver requires access to some CM API functions once the code
is being moved under the clock driver from the platform directory.
Gate type clock requires access to cm_wait_module_ready and
cm_split_idlest_reg functions, which are both used for waiting until
the module being clocked has been successfully activated. These CM
APIs are now exported through the ti_clk_ll_ops struct.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock.c')
-rw-r--r-- | arch/arm/mach-omap2/clock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c index d6afc1291fe9..7a5713df54b3 100644 --- a/arch/arm/mach-omap2/clock.c +++ b/arch/arm/mach-omap2/clock.c @@ -122,6 +122,8 @@ static struct ti_clk_ll_ops omap_clk_ll_ops = { .clk_writel = clk_memmap_writel, .clkdm_clk_enable = clkdm_clk_enable, .clkdm_clk_disable = clkdm_clk_disable, + .cm_wait_module_ready = omap_cm_wait_module_ready, + .cm_split_idlest_reg = cm_split_idlest_reg, }; /** |