1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2016 Freescale Semiconductor, Inc.
6 #ifndef _ASM_ARCH_CLOCK_H
7 #define _ASM_ARCH_CLOCK_H
9 #include <asm/arch/pcc.h>
10 #include <asm/arch/scg.h>
12 /* Mainly for compatible to imx common code. */
26 u32 mxc_get_clock(enum mxc_clock clk);
27 u32 get_lpuart_clk(void);
28 #ifdef CONFIG_SYS_I2C_IMX_LPI2C
29 int enable_i2c_clk(unsigned char enable, unsigned i2c_num);
30 u32 imx_get_i2cclk(unsigned i2c_num);
32 #ifdef CONFIG_MXC_OCOTP
33 void enable_ocotp_clk(unsigned char enable);
35 #ifdef CONFIG_USB_EHCI_HCD
36 void enable_usboh3_clk(unsigned char enable);
38 void init_clk_usdhc(u32 index);
39 void clock_init(void);
40 void hab_caam_clock_enable(unsigned char enable);