2013-01-02 11:14:00 +08:00
|
|
|
/*
|
2010-09-01 14:35:30 +08:00
|
|
|
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
|
|
|
|
* http://www.samsung.com
|
|
|
|
*
|
|
|
|
* Header file for s5p64x0 clock support
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
2013-01-02 11:14:00 +08:00
|
|
|
#ifndef __MACH_S5P64X0_CLOCK_H
|
|
|
|
#define __MACH_S5P64X0_CLOCK_H __FILE__
|
2010-09-01 14:35:30 +08:00
|
|
|
|
|
|
|
#include <linux/clk.h>
|
|
|
|
|
|
|
|
extern struct clksrc_clk clk_mout_apll;
|
|
|
|
extern struct clksrc_clk clk_mout_mpll;
|
|
|
|
extern struct clksrc_clk clk_mout_epll;
|
|
|
|
|
|
|
|
extern int s5p64x0_epll_enable(struct clk *clk, int enable);
|
|
|
|
extern unsigned long s5p64x0_epll_get_rate(struct clk *clk);
|
|
|
|
|
|
|
|
extern struct clksrc_clk clk_armclk;
|
|
|
|
extern struct clksrc_clk clk_dout_mpll;
|
|
|
|
|
|
|
|
extern struct clksrc_sources clkset_hclk_low;
|
|
|
|
|
|
|
|
extern int s5p64x0_pclk_ctrl(struct clk *clk, int enable);
|
|
|
|
extern int s5p64x0_hclk0_ctrl(struct clk *clk, int enable);
|
|
|
|
extern int s5p64x0_hclk1_ctrl(struct clk *clk, int enable);
|
|
|
|
extern int s5p64x0_sclk_ctrl(struct clk *clk, int enable);
|
|
|
|
extern int s5p64x0_sclk1_ctrl(struct clk *clk, int enable);
|
|
|
|
extern int s5p64x0_mem_ctrl(struct clk *clk, int enable);
|
|
|
|
|
|
|
|
extern int s5p64x0_clk48m_ctrl(struct clk *clk, int enable);
|
|
|
|
|
2013-01-02 11:14:00 +08:00
|
|
|
#endif /* __MACH_S5P64X0_CLOCK_H */
|