diff options
Diffstat (limited to 'kernel/arch/arm/plat-samsung/include/plat/samsung-time.h')
-rw-r--r-- | kernel/arch/arm/plat-samsung/include/plat/samsung-time.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/kernel/arch/arm/plat-samsung/include/plat/samsung-time.h b/kernel/arch/arm/plat-samsung/include/plat/samsung-time.h new file mode 100644 index 000000000..209464ade --- /dev/null +++ b/kernel/arch/arm/plat-samsung/include/plat/samsung-time.h @@ -0,0 +1,30 @@ +/* linux/arch/arm/plat-samsung/include/plat/samsung-time.h + * + * Copyright 2011 Samsung Electronics Co., Ltd. + * http://www.samsung.com/ + * + * Header file for samsung s3c and s5p time 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. +*/ + +#ifndef __ASM_PLAT_SAMSUNG_TIME_H +#define __ASM_PLAT_SAMSUNG_TIME_H __FILE__ + +/* SAMSUNG HR-Timer Clock mode */ +enum samsung_timer_mode { + SAMSUNG_PWM0, + SAMSUNG_PWM1, + SAMSUNG_PWM2, + SAMSUNG_PWM3, + SAMSUNG_PWM4, +}; + +extern void __init samsung_set_timer_source(enum samsung_timer_mode event, + enum samsung_timer_mode source); + +extern void __init samsung_timer_init(void); + +#endif /* __ASM_PLAT_SAMSUNG_TIME_H */ |