-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: SAMSUNG: Rename s5p-time to samsung-time
Signed-off-by: Naour Romain <romain.naour@openwide.fr> Reviewed-by: Tomasz Figa <tomasz.figa@gmail.com> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
- Loading branch information
Romain Naour
authored and
Kukjin Kim
committed
Mar 5, 2013
1 parent
7488335
commit c1fcd40
Showing
16 changed files
with
137 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* 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, | ||
}; | ||
|
||
struct samsung_timer_source { | ||
unsigned int event_id; | ||
unsigned int source_id; | ||
}; | ||
|
||
/* Be able to sleep for atleast 4 seconds (usually more) */ | ||
#define SAMSUNG_TIMER_MIN_RANGE 4 | ||
|
||
#define TCNT_MAX 0xffffffff | ||
#define NON_PERIODIC 0 | ||
#define PERIODIC 1 | ||
|
||
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 */ |
Oops, something went wrong.