summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/omap_common.h
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2015-08-17 13:29:51 +0530
committerJagan Teki <jteki@openedev.com>2015-08-17 23:29:14 +0530
commit16ca1d09e62d7d3d71f48313428cf7cf026fa177 (patch)
treea6436c4360f84000620f03ba32db22255732595f /arch/arm/include/asm/omap_common.h
parentfca45722fbb0ef0b216efa8ad053a3c1cab44972 (diff)
downloadtalos-obmc-uboot-16ca1d09e62d7d3d71f48313428cf7cf026fa177.tar.gz
talos-obmc-uboot-16ca1d09e62d7d3d71f48313428cf7cf026fa177.zip
ARM: OMAP5: Add support for disabling clocks in uboot
Add do_disable_clocks() to disable clock domains and module clocks. These clocks are enabled using do_enable_clocks(). Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'arch/arm/include/asm/omap_common.h')
-rw-r--r--arch/arm/include/asm/omap_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h
index 056affc3fa..87cdaad1d6 100644
--- a/arch/arm/include/asm/omap_common.h
+++ b/arch/arm/include/asm/omap_common.h
@@ -575,6 +575,10 @@ void do_enable_clocks(u32 const *clk_domains,
u32 const *clk_modules_explicit_en,
u8 wait_for_enable);
+void do_disable_clocks(u32 const *clk_domains,
+ u32 const *clk_modules_disable,
+ u8 wait_for_disable);
+
void setup_post_dividers(u32 const base,
const struct dpll_params *params);
u32 omap_ddr_clk(void);
OpenPOWER on IntegriCloud