blob: bd12d5f8b63d3824d9b5578844c84f4732ff5f40 [file] [log] [blame]
Kukjin Kim2bc02c02011-08-24 17:25:09 +09001/*
Kukjin Kima8550392012-03-09 14:19:10 -08002 * Copyright (c) 2011-2012 Samsung Electronics Co., Ltd.
Kukjin Kim2bc02c02011-08-24 17:25:09 +09003 * http://www.samsung.com
4 *
5 * Header file for exynos4 clock support
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10*/
11
12#ifndef __ASM_ARCH_CLOCK_H
13#define __ASM_ARCH_CLOCK_H __FILE__
14
15#include <linux/clk.h>
16
Kukjin Kima8550392012-03-09 14:19:10 -080017extern struct clksrc_clk exynos4_clk_aclk_133;
18extern struct clksrc_clk exynos4_clk_mout_mpll;
Kukjin Kim2bc02c02011-08-24 17:25:09 +090019
Kukjin Kima8550392012-03-09 14:19:10 -080020extern struct clksrc_sources exynos4_clkset_mout_corebus;
21extern struct clksrc_sources exynos4_clkset_group;
Kukjin Kim2bc02c02011-08-24 17:25:09 +090022
Kukjin Kima8550392012-03-09 14:19:10 -080023extern struct clk *exynos4_clkset_aclk_top_list[];
24extern struct clk *exynos4_clkset_group_list[];
Kukjin Kim2bc02c02011-08-24 17:25:09 +090025
Sachin Kamat8bf56462012-07-17 07:52:03 +090026extern struct clksrc_sources exynos4_clkset_mout_g2d0;
27extern struct clksrc_sources exynos4_clkset_mout_g2d1;
28
Kukjin Kim2bc02c02011-08-24 17:25:09 +090029extern int exynos4_clksrc_mask_fsys_ctrl(struct clk *clk, int enable);
30extern int exynos4_clk_ip_fsys_ctrl(struct clk *clk, int enable);
31extern int exynos4_clk_ip_lcd1_ctrl(struct clk *clk, int enable);
KyongHo Chobca10b92012-04-04 09:23:02 -070032extern int exynos4_clk_ip_image_ctrl(struct clk *clk, int enable);
33extern int exynos4_clk_ip_dmc_ctrl(struct clk *clk, int enable);
Kukjin Kim2bc02c02011-08-24 17:25:09 +090034
35#endif /* __ASM_ARCH_CLOCK_H */