blob: 6457ac738d0794a3b111bb15fcbe6fbc4ddc0f10 [file] [log] [blame]
Minkyu Kang87649982009-10-01 17:20:01 +09001/*
2 * (C) Copyright 2009 Samsung Electronics
3 * Minkyu Kang <mk7.kang@samsung.com>
4 * Heungjun Kim <riverful.kim@samsung.com>
5 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02006 * SPDX-License-Identifier: GPL-2.0+
Minkyu Kang87649982009-10-01 17:20:01 +09007 */
8
9#ifndef __ASM_ARM_ARCH_CLK_H_
10#define __ASM_ARM_ARCH_CLK_H_
11
Naveen Krishna CH35c1f672010-02-04 14:17:38 +090012#define APLL 0
13#define MPLL 1
14#define EPLL 2
15#define HPLL 3
16#define VPLL 4
17
Minkyu Kang8bd7dad2010-12-27 15:55:48 +090018unsigned long get_pll_clk(int pllreg);
19unsigned long get_arm_clk(void);
20unsigned long get_pwm_clk(void);
21unsigned long get_uart_clk(int dev_index);
Jaehoon Chung9a772212011-05-17 21:19:17 +000022void set_mmc_clk(int dev_index, unsigned int div);
Minkyu Kang87649982009-10-01 17:20:01 +090023
24#endif