1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* 3 * (C) Copyright 2009 Samsung Electronics 4 * Minkyu Kang <mk7.kang@samsung.com> 5 * Heungjun Kim <riverful.kim@samsung.com> 6 */ 7 8 #ifndef __ASM_ARM_ARCH_CLK_H_ 9 #define __ASM_ARM_ARCH_CLK_H_ 10 11 #define APLL 0 12 #define MPLL 1 13 #define EPLL 2 14 #define HPLL 3 15 #define VPLL 4 16 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); 21 void set_mmc_clk(int dev_index, unsigned int div); 22 23 #endif 24