xref: /OK3568_Linux_fs/kernel/arch/arm/plat-orion/include/plat/time.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * arch/arm/plat-orion/include/plat/time.h
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * Marvell Orion SoC time handling.
5*4882a593Smuzhiyun  *
6*4882a593Smuzhiyun  * This file is licensed under the terms of the GNU General Public
7*4882a593Smuzhiyun  * License version 2.  This program is licensed "as is" without any
8*4882a593Smuzhiyun  * warranty of any kind, whether express or implied.
9*4882a593Smuzhiyun  */
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun #ifndef __PLAT_TIME_H
12*4882a593Smuzhiyun #define __PLAT_TIME_H
13*4882a593Smuzhiyun 
14*4882a593Smuzhiyun void orion_time_set_base(void __iomem *timer_base);
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun void orion_time_init(void __iomem *bridge_base, u32 bridge_timer1_clr_mask,
17*4882a593Smuzhiyun 		     unsigned int irq, unsigned int tclk);
18*4882a593Smuzhiyun 
19*4882a593Smuzhiyun 
20*4882a593Smuzhiyun #endif
21