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