summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorVignesh R <vigneshr@ti.com>2015-08-17 13:29:52 +0530
committerJagan Teki <jteki@openedev.com>2015-08-17 23:29:14 +0530
commit8a09cfe14bb05364c4a61256e25479a96301e423 (patch)
treeb4f36c568e3b13df4621b22ef7b091bf8925daed /arch/arm/include
parent16ca1d09e62d7d3d71f48313428cf7cf026fa177 (diff)
downloadu-boot-imx-8a09cfe14bb05364c4a61256e25479a96301e423.zip
u-boot-imx-8a09cfe14bb05364c4a61256e25479a96301e423.tar.gz
u-boot-imx-8a09cfe14bb05364c4a61256e25479a96301e423.tar.bz2
ARM: OMAP5: Add functions to enable and disable EDMA3 clocks
Adds functions to enable and disable edma3 clocks which can be invoked by drivers using edma3 to control the clocks. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/omap_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h
index 87cdaad..b67d4b6 100644
--- a/arch/arm/include/asm/omap_common.h
+++ b/arch/arm/include/asm/omap_common.h
@@ -349,6 +349,10 @@ struct prcm_regs {
/* IPU */
u32 cm_ipu_clkstctrl;
u32 cm_ipu_i2c5_clkctrl;
+
+ /*l3main1 edma*/
+ u32 cm_l3main1_tptc1_clkctrl;
+ u32 cm_l3main1_tptc2_clkctrl;
};
struct omap_sys_ctrl_regs {
@@ -598,6 +602,9 @@ void recalibrate_iodelay(void);
void omap_smc1(u32 service, u32 val);
+void enable_edma3_clocks(void);
+void disable_edma3_clocks(void);
+
/* ABB */
#define OMAP_ABB_NOMINAL_OPP 0
#define OMAP_ABB_FAST_OPP 1