1 /*
2  *
3  * (c) 2009 Ilya Yanok, Emcraft Systems <yanok@emcraft.com>
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 
8 #ifndef __ASM_ARCH_CLOCK_H
9 #define __ASM_ARCH_CLOCK_H
10 
11 enum mxc_clock {
12 	MXC_ARM_CLK,
13 	MXC_I2C_CLK,
14 	MXC_UART_CLK,
15 	MXC_ESDHC_CLK,
16 	MXC_FEC_CLK,
17 };
18 
19 unsigned int mxc_get_clock(enum mxc_clock clk);
20 #define imx_get_uartclk() mxc_get_clock(MXC_UART_CLK)
21 #define imx_get_fecclk() mxc_get_clock(MXC_FEC_CLK)
22 
23 #endif /* __ASM_ARCH_CLOCK_H */
24