| /* SPDX-License-Identifier: GPL-2.0+ */ |
| * Copyright (C) 2016 Freescale Semiconductor, Inc. |
| #ifndef _ASM_ARCH_CLOCK_H |
| #define _ASM_ARCH_CLOCK_H |
| #include <asm/arch/pcc.h> |
| #include <asm/arch/scg.h> |
| /* Mainly for compatible to imx common code. */ |
| u32 mxc_get_clock(enum mxc_clock clk); |
| u32 get_lpuart_clk(void); |
| #ifdef CONFIG_SYS_I2C_IMX_LPI2C |
| int enable_i2c_clk(unsigned char enable, unsigned i2c_num); |
| u32 imx_get_i2cclk(unsigned i2c_num); |
| void enable_ocotp_clk(unsigned char enable); |
| #ifdef CONFIG_USB_EHCI_HCD |
| void enable_usboh3_clk(unsigned char enable); |
| void init_clk_usdhc(u32 index); |
| void hab_caam_clock_enable(unsigned char enable); |