From: Tom Rini Date: Thu, 13 Aug 2015 14:26:48 -0400 Subject: [U-Boot] [U-Boot PATCH v2 05/10] ARM: OMAP5: Add functions to enable and disable EDMA3 clocks In-Reply-To: <1438234483-3738-6-git-send-email-vigneshr@ti.com> References: <1438234483-3738-1-git-send-email-vigneshr@ti.com> <1438234483-3738-6-git-send-email-vigneshr@ti.com> Message-ID: <20150813182648.GV25532@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jul 30, 2015 at 11:04:38AM +0530, Vignesh R wrote: > 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 [snip] > diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h > index 87cdaad1d60f..3dbe9c53d202 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,11 @@ void recalibrate_iodelay(void); > > void omap_smc1(u32 service, u32 val); > > +#ifdef CONFIG_TI_EDMA3 > +void enable_edma3_clocks(void); > +void disable_edma3_clocks(void); > +#endif No #ifdef/#endif in headers please. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: