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