[U-Boot] [U-Boot PATCH v2 05/10] ARM: OMAP5: Add functions to enable and disable EDMA3 clocks
Tom Rini
trini at konsulko.com
Thu Aug 13 20:26:48 CEST 2015
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 <vigneshr at ti.com>
[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: <http://lists.denx.de/pipermail/u-boot/attachments/20150813/fa3d42b6/attachment.sig>
More information about the U-Boot
mailing list