summaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2015-08-19 16:16:25 +0530
committerTom Rini <trini@konsulko.com>2015-08-28 12:33:21 -0400
commitca5a0f172ebd907cfc21fe7c8744b0b1752bc66f (patch)
treee4d8e8e126372c32300a5115aff19c108be0a714 /arch/arm/include
parent7ba792c04481c02b994260c7d12bd9ecdf6b6d0e (diff)
downloadblackbird-obmc-uboot-ca5a0f172ebd907cfc21fe7c8744b0b1752bc66f.tar.gz
blackbird-obmc-uboot-ca5a0f172ebd907cfc21fe7c8744b0b1752bc66f.zip
ARM: OMAP5: Add functions to enable and disable USB clocks
Added functions to enable and disable USB clocks which can be invoked during USB init and USB exit respectively. Cc: Roger Quadros <rogerq@ti.com> Cc: Tero Kristo <t-kristo@ti.com> Cc: Nishanth Menon <nm@ti.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/include')
-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 37117e2827..81f1616ec0 100644
--- a/arch/arm/include/asm/omap_common.h
+++ b/arch/arm/include/asm/omap_common.h
@@ -592,6 +592,10 @@ u32 omap_ddr_clk(void);
u32 get_sys_clk_index(void);
void enable_basic_clocks(void);
void enable_basic_uboot_clocks(void);
+
+void enable_usb_clocks(int index);
+void disable_usb_clocks(int index);
+
void scale_vcores(struct vcores_data const *);
u32 get_offset_code(u32 volt_offset, struct pmic_data *pmic);
void do_scale_vcore(u32 vcore_reg, u32 volt_mv, struct pmic_data *pmic);
OpenPOWER on IntegriCloud