Kukjin Kim | 2bc02c0 | 2011-08-24 17:25:09 +0900 | [diff] [blame] | 1 | /* |
Kukjin Kim | a855039 | 2012-03-09 14:19:10 -0800 | [diff] [blame] | 2 | * Copyright (c) 2011-2012 Samsung Electronics Co., Ltd. |
Kukjin Kim | 2bc02c0 | 2011-08-24 17:25:09 +0900 | [diff] [blame] | 3 | * 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 Kim | a855039 | 2012-03-09 14:19:10 -0800 | [diff] [blame] | 17 | extern struct clksrc_clk exynos4_clk_aclk_133; |
| 18 | extern struct clksrc_clk exynos4_clk_mout_mpll; |
Kukjin Kim | 2bc02c0 | 2011-08-24 17:25:09 +0900 | [diff] [blame] | 19 | |
Kukjin Kim | a855039 | 2012-03-09 14:19:10 -0800 | [diff] [blame] | 20 | extern struct clksrc_sources exynos4_clkset_mout_corebus; |
| 21 | extern struct clksrc_sources exynos4_clkset_group; |
Kukjin Kim | 2bc02c0 | 2011-08-24 17:25:09 +0900 | [diff] [blame] | 22 | |
Kukjin Kim | a855039 | 2012-03-09 14:19:10 -0800 | [diff] [blame] | 23 | extern struct clk *exynos4_clkset_aclk_top_list[]; |
| 24 | extern struct clk *exynos4_clkset_group_list[]; |
Kukjin Kim | 2bc02c0 | 2011-08-24 17:25:09 +0900 | [diff] [blame] | 25 | |
Sachin Kamat | 8bf5646 | 2012-07-17 07:52:03 +0900 | [diff] [blame^] | 26 | extern struct clksrc_sources exynos4_clkset_mout_g2d0; |
| 27 | extern struct clksrc_sources exynos4_clkset_mout_g2d1; |
| 28 | |
Kukjin Kim | 2bc02c0 | 2011-08-24 17:25:09 +0900 | [diff] [blame] | 29 | extern int exynos4_clksrc_mask_fsys_ctrl(struct clk *clk, int enable); |
| 30 | extern int exynos4_clk_ip_fsys_ctrl(struct clk *clk, int enable); |
| 31 | extern int exynos4_clk_ip_lcd1_ctrl(struct clk *clk, int enable); |
KyongHo Cho | bca10b9 | 2012-04-04 09:23:02 -0700 | [diff] [blame] | 32 | extern int exynos4_clk_ip_image_ctrl(struct clk *clk, int enable); |
| 33 | extern int exynos4_clk_ip_dmc_ctrl(struct clk *clk, int enable); |
Kukjin Kim | 2bc02c0 | 2011-08-24 17:25:09 +0900 | [diff] [blame] | 34 | |
| 35 | #endif /* __ASM_ARCH_CLOCK_H */ |