]>
git.ipfire.org Git - people/ms/u-boot.git/blob - arch/arm/include/asm/arch-mx7ulp/clock.h
2 * Copyright (C) 2016 Freescale Semiconductor, Inc.
4 * SPDX-License-Identifier: GPL-2.0+
7 #ifndef _ASM_ARCH_CLOCK_H
8 #define _ASM_ARCH_CLOCK_H
11 #include <asm/arch/pcc.h>
12 #include <asm/arch/scg.h>
14 /* Mainly for compatible to imx common code. */
28 u32
mxc_get_clock(enum mxc_clock clk
);
29 u32
get_lpuart_clk(void);
30 #ifdef CONFIG_SYS_LPI2C_IMX
31 int enable_i2c_clk(unsigned char enable
, unsigned i2c_num
);
32 u32
imx_get_i2cclk(unsigned i2c_num
);
34 #ifdef CONFIG_MXC_OCOTP
35 void enable_ocotp_clk(unsigned char enable
);
37 #ifdef CONFIG_USB_EHCI
38 void enable_usboh3_clk(unsigned char enable
);
40 void init_clk_usdhc(u32 index
);
41 void clock_init(void);