2 * Copyright (C) 2009 Samsung Electronics
3 * Kyungmin Park <kyungmin.park@samsung.com>
4 * Minkyu Kang <mk7.kang@samsung.com>
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of
9 * the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
22 #ifndef __ASM_ARM_ARCH_PWM_H_
23 #define __ASM_ARM_ARCH_PWM_H_
25 /* PWM timer addressing */
26 #define S5PC100_TIMER_BASE S5PC100_PWMTIMER_BASE
27 #define S5PC110_TIMER_BASE S5PC110_PWMTIMER_BASE
29 /* Interval mode(Auto Reload) of PWM Timer 4 */
30 #define S5PC1XX_TCON4_AUTO_RELOAD (1 << 22)
32 #define S5PC1XX_TCON4_UPDATE (1 << 21)
33 /* start bit of PWM Timer 4 */
34 #define S5PC1XX_TCON4_START (1 << 20)
37 struct s5pc1xx_timer {
55 unsigned int tintcstat;
57 #endif /* __ASSEMBLY__ */