blob: 8f22c0b1c099958b65514b4b1b6b4f57fc68e6aa [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Minkyu Kang87649982009-10-01 17:20:01 +09002/*
3 * (C) Copyright 2009 Samsung Electronics
4 * Minkyu Kang <mk7.kang@samsung.com>
5 * Heungjun Kim <riverful.kim@samsung.com>
Minkyu Kang87649982009-10-01 17:20:01 +09006 */
7
8#ifndef __ASM_ARM_ARCH_CLK_H_
9#define __ASM_ARM_ARCH_CLK_H_
10
Naveen Krishna CH35c1f672010-02-04 14:17:38 +090011#define APLL 0
12#define MPLL 1
13#define EPLL 2
14#define HPLL 3
15#define VPLL 4
16
Minkyu Kang8bd7dad2010-12-27 15:55:48 +090017unsigned long get_pll_clk(int pllreg);
18unsigned long get_arm_clk(void);
19unsigned long get_pwm_clk(void);
20unsigned long get_uart_clk(int dev_index);
Jaehoon Chung9a772212011-05-17 21:19:17 +000021void set_mmc_clk(int dev_index, unsigned int div);
Minkyu Kang87649982009-10-01 17:20:01 +090022
23#endif