Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Minkyu Kang | 8764998 | 2009-10-01 17:20:01 +0900 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2009 Samsung Electronics |
| 4 | * Minkyu Kang <mk7.kang@samsung.com> |
| 5 | * Heungjun Kim <riverful.kim@samsung.com> |
Minkyu Kang | 8764998 | 2009-10-01 17:20:01 +0900 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __ASM_ARM_ARCH_CLK_H_ |
| 9 | #define __ASM_ARM_ARCH_CLK_H_ |
| 10 | |
Naveen Krishna CH | 35c1f67 | 2010-02-04 14:17:38 +0900 | [diff] [blame] | 11 | #define APLL 0 |
| 12 | #define MPLL 1 |
| 13 | #define EPLL 2 |
| 14 | #define HPLL 3 |
| 15 | #define VPLL 4 |
| 16 | |
Minkyu Kang | 8bd7dad | 2010-12-27 15:55:48 +0900 | [diff] [blame] | 17 | unsigned long get_pll_clk(int pllreg); |
| 18 | unsigned long get_arm_clk(void); |
| 19 | unsigned long get_pwm_clk(void); |
| 20 | unsigned long get_uart_clk(int dev_index); |
Jaehoon Chung | 9a77221 | 2011-05-17 21:19:17 +0000 | [diff] [blame] | 21 | void set_mmc_clk(int dev_index, unsigned int div); |
Minkyu Kang | 8764998 | 2009-10-01 17:20:01 +0900 | [diff] [blame] | 22 | |
| 23 | #endif |