diff options
author | Minkyu Kang <mk7.kang@samsung.com> | 2011-03-10 20:05:58 +0900 |
---|---|---|
committer | Albert Aribaud <albert.aribaud@free.fr> | 2011-03-27 19:19:59 +0200 |
commit | 70fc52dfaa04a1ec70188dadec794b45fca48628 (patch) | |
tree | 395f38dc5b6a2b01f976244e97fd75020acb5162 /arch/arm/include/asm/arch-s5pc2xx | |
parent | 3f129280b3f1df51387447d8366ab6c3b6607547 (diff) |
S5P: timer: Use pwm functions
Use pwm functions for timer that is PWM timer 4.
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch/arm/include/asm/arch-s5pc2xx')
-rw-r--r-- | arch/arm/include/asm/arch-s5pc2xx/pwm.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/include/asm/arch-s5pc2xx/pwm.h b/arch/arm/include/asm/arch-s5pc2xx/pwm.h index de4dbce076..d0cf3cb853 100644 --- a/arch/arm/include/asm/arch-s5pc2xx/pwm.h +++ b/arch/arm/include/asm/arch-s5pc2xx/pwm.h @@ -34,19 +34,13 @@ #define MUX_DIV_SHIFT(x) (x * 4) -/* Interval mode(Auto Reload) of PWM Timer 4 */ -#define TCON4_AUTO_RELOAD (1 << 22) -/* Update TCNTB4 */ -#define TCON4_UPDATE (1 << 21) -/* start bit of PWM Timer 4 */ -#define TCON4_START (1 << 20) - #define TCON_OFFSET(x) ((x + 1) * (!!x) << 2) #define TCON_START(x) (1 << TCON_OFFSET(x)) #define TCON_UPDATE(x) (1 << (TCON_OFFSET(x) + 1)) #define TCON_INVERTER(x) (1 << (TCON_OFFSET(x) + 2)) #define TCON_AUTO_RELOAD(x) (1 << (TCON_OFFSET(x) + 3)) +#define TCON4_AUTO_RELOAD (1 << 22) #ifndef __ASSEMBLY__ struct s5p_timer { |