blob: 29764c34f57196d4f1051ddac187b513fc4ba9b4 [file] [log] [blame]
Russell Kinga09e64f2008-08-05 16:14:15 +01001/*
Tarun Kanti DebBarmac345c8b2011-09-20 17:00:18 +05302 * arch/arm/plat-omap/include/plat/dmtimer.h
Russell Kinga09e64f2008-08-05 16:14:15 +01003 *
4 * OMAP Dual-Mode Timers
5 *
Thara Gopinatheddb1262011-02-23 00:14:04 -07006 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
7 * Tarun Kanti DebBarma <tarun.kanti@ti.com>
8 * Thara Gopinath <thara@ti.com>
9 *
10 * Platform device conversion and hwmod support.
11 *
Russell Kinga09e64f2008-08-05 16:14:15 +010012 * Copyright (C) 2005 Nokia Corporation
13 * Author: Lauri Leukkunen <lauri.leukkunen@nokia.com>
14 * PWM and clock framwork support by Timo Teras.
15 *
16 * This program is free software; you can redistribute it and/or modify it
17 * under the terms of the GNU General Public License as published by the
18 * Free Software Foundation; either version 2 of the License, or (at your
19 * option) any later version.
20 *
21 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
22 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
23 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
24 * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
25 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
26 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 *
30 * You should have received a copy of the GNU General Public License along
31 * with this program; if not, write to the Free Software Foundation, Inc.,
32 * 675 Mass Ave, Cambridge, MA 02139, USA.
33 */
34
Tony Lindgrencaf64f22011-03-29 15:54:48 -070035#include <linux/clk.h>
36#include <linux/delay.h>
Paul Walmsleya7cd4b082011-07-09 18:00:25 -060037#include <linux/io.h>
Tarun Kanti DebBarma97933d62011-09-20 17:00:17 +053038#include <linux/platform_device.h>
Tony Lindgrencaf64f22011-03-29 15:54:48 -070039
Russell Kinga09e64f2008-08-05 16:14:15 +010040#ifndef __ASM_ARCH_DMTIMER_H
41#define __ASM_ARCH_DMTIMER_H
42
43/* clock sources */
44#define OMAP_TIMER_SRC_SYS_CLK 0x00
45#define OMAP_TIMER_SRC_32_KHZ 0x01
46#define OMAP_TIMER_SRC_EXT_CLK 0x02
47
48/* timer interrupt enable bits */
49#define OMAP_TIMER_INT_CAPTURE (1 << 2)
50#define OMAP_TIMER_INT_OVERFLOW (1 << 1)
51#define OMAP_TIMER_INT_MATCH (1 << 0)
52
53/* trigger types */
54#define OMAP_TIMER_TRIGGER_NONE 0x00
55#define OMAP_TIMER_TRIGGER_OVERFLOW 0x01
56#define OMAP_TIMER_TRIGGER_OVERFLOW_AND_COMPARE 0x02
57
Thara Gopinatheddb1262011-02-23 00:14:04 -070058/*
59 * IP revision identifier so that Highlander IP
60 * in OMAP4 can be distinguished.
61 */
62#define OMAP_TIMER_IP_VERSION_1 0x1
Tarun Kanti DebBarmac345c8b2011-09-20 17:00:18 +053063
64/* timer capabilities used in hwmod database */
65#define OMAP_TIMER_SECURE 0x80000000
66#define OMAP_TIMER_ALWON 0x40000000
67#define OMAP_TIMER_HAS_PWM 0x20000000
68
69struct omap_timer_capability_dev_attr {
70 u32 timer_capability;
71};
72
Russell Kinga09e64f2008-08-05 16:14:15 +010073struct omap_dm_timer;
74struct clk;
75
Tarun Kanti DebBarma97933d62011-09-20 17:00:17 +053076struct dmtimer_platform_data {
77 int (*set_timer_src)(struct platform_device *pdev, int source);
78 int timer_ip_version;
79 u32 needs_manual_reset:1;
Tony Lindgren0dad9fa2011-09-21 16:38:51 -070080 bool reserved;
Tarun Kanti DebBarma97933d62011-09-20 17:00:17 +053081};
82
Russell Kinga09e64f2008-08-05 16:14:15 +010083struct omap_dm_timer *omap_dm_timer_request(void);
84struct omap_dm_timer *omap_dm_timer_request_specific(int timer_id);
85void omap_dm_timer_free(struct omap_dm_timer *timer);
86void omap_dm_timer_enable(struct omap_dm_timer *timer);
87void omap_dm_timer_disable(struct omap_dm_timer *timer);
88
89int omap_dm_timer_get_irq(struct omap_dm_timer *timer);
90
91u32 omap_dm_timer_modify_idlect_mask(u32 inputmask);
92struct clk *omap_dm_timer_get_fclk(struct omap_dm_timer *timer);
93
94void omap_dm_timer_trigger(struct omap_dm_timer *timer);
95void omap_dm_timer_start(struct omap_dm_timer *timer);
96void omap_dm_timer_stop(struct omap_dm_timer *timer);
97
Paul Walmsleyf2480762009-04-23 21:11:10 -060098int omap_dm_timer_set_source(struct omap_dm_timer *timer, int source);
Russell Kinga09e64f2008-08-05 16:14:15 +010099void omap_dm_timer_set_load(struct omap_dm_timer *timer, int autoreload, unsigned int value);
100void omap_dm_timer_set_load_start(struct omap_dm_timer *timer, int autoreload, unsigned int value);
101void omap_dm_timer_set_match(struct omap_dm_timer *timer, int enable, unsigned int match);
102void omap_dm_timer_set_pwm(struct omap_dm_timer *timer, int def_on, int toggle, int trigger);
103void omap_dm_timer_set_prescaler(struct omap_dm_timer *timer, int prescaler);
104
105void omap_dm_timer_set_int_enable(struct omap_dm_timer *timer, unsigned int value);
106
107unsigned int omap_dm_timer_read_status(struct omap_dm_timer *timer);
108void omap_dm_timer_write_status(struct omap_dm_timer *timer, unsigned int value);
109unsigned int omap_dm_timer_read_counter(struct omap_dm_timer *timer);
110void omap_dm_timer_write_counter(struct omap_dm_timer *timer, unsigned int value);
111
112int omap_dm_timers_active(void);
113
Tony Lindgrenec974892011-03-29 15:54:48 -0700114/*
115 * Do not use the defines below, they are not needed. They should be only
116 * used by dmtimer.c and sys_timer related code.
117 */
118
Tony Lindgrenee17f112011-09-16 15:44:20 -0700119/*
120 * The interrupt registers are different between v1 and v2 ip.
121 * These registers are offsets from timer->iobase.
122 */
123#define OMAP_TIMER_ID_OFFSET 0x00
124#define OMAP_TIMER_OCP_CFG_OFFSET 0x10
125
126#define OMAP_TIMER_V1_SYS_STAT_OFFSET 0x14
127#define OMAP_TIMER_V1_STAT_OFFSET 0x18
128#define OMAP_TIMER_V1_INT_EN_OFFSET 0x1c
129
130#define OMAP_TIMER_V2_IRQSTATUS_RAW 0x24
131#define OMAP_TIMER_V2_IRQSTATUS 0x28
132#define OMAP_TIMER_V2_IRQENABLE_SET 0x2c
133#define OMAP_TIMER_V2_IRQENABLE_CLR 0x30
134
135/*
136 * The functional registers have a different base on v1 and v2 ip.
137 * These registers are offsets from timer->func_base. The func_base
138 * is samae as io_base for v1 and io_base + 0x14 for v2 ip.
139 *
140 */
141#define OMAP_TIMER_V2_FUNC_OFFSET 0x14
142
Tony Lindgrenec974892011-03-29 15:54:48 -0700143#define _OMAP_TIMER_WAKEUP_EN_OFFSET 0x20
144#define _OMAP_TIMER_CTRL_OFFSET 0x24
145#define OMAP_TIMER_CTRL_GPOCFG (1 << 14)
146#define OMAP_TIMER_CTRL_CAPTMODE (1 << 13)
147#define OMAP_TIMER_CTRL_PT (1 << 12)
148#define OMAP_TIMER_CTRL_TCM_LOWTOHIGH (0x1 << 8)
149#define OMAP_TIMER_CTRL_TCM_HIGHTOLOW (0x2 << 8)
150#define OMAP_TIMER_CTRL_TCM_BOTHEDGES (0x3 << 8)
151#define OMAP_TIMER_CTRL_SCPWM (1 << 7)
152#define OMAP_TIMER_CTRL_CE (1 << 6) /* compare enable */
153#define OMAP_TIMER_CTRL_PRE (1 << 5) /* prescaler enable */
154#define OMAP_TIMER_CTRL_PTV_SHIFT 2 /* prescaler value shift */
155#define OMAP_TIMER_CTRL_POSTED (1 << 2)
156#define OMAP_TIMER_CTRL_AR (1 << 1) /* auto-reload enable */
157#define OMAP_TIMER_CTRL_ST (1 << 0) /* start timer */
158#define _OMAP_TIMER_COUNTER_OFFSET 0x28
159#define _OMAP_TIMER_LOAD_OFFSET 0x2c
160#define _OMAP_TIMER_TRIGGER_OFFSET 0x30
161#define _OMAP_TIMER_WRITE_PEND_OFFSET 0x34
162#define WP_NONE 0 /* no write pending bit */
163#define WP_TCLR (1 << 0)
164#define WP_TCRR (1 << 1)
165#define WP_TLDR (1 << 2)
166#define WP_TTGR (1 << 3)
167#define WP_TMAR (1 << 4)
168#define WP_TPIR (1 << 5)
169#define WP_TNIR (1 << 6)
170#define WP_TCVR (1 << 7)
171#define WP_TOCR (1 << 8)
172#define WP_TOWR (1 << 9)
173#define _OMAP_TIMER_MATCH_OFFSET 0x38
174#define _OMAP_TIMER_CAPTURE_OFFSET 0x3c
175#define _OMAP_TIMER_IF_CTRL_OFFSET 0x40
176#define _OMAP_TIMER_CAPTURE2_OFFSET 0x44 /* TCAR2, 34xx only */
177#define _OMAP_TIMER_TICK_POS_OFFSET 0x48 /* TPIR, 34xx only */
178#define _OMAP_TIMER_TICK_NEG_OFFSET 0x4c /* TNIR, 34xx only */
179#define _OMAP_TIMER_TICK_COUNT_OFFSET 0x50 /* TCVR, 34xx only */
180#define _OMAP_TIMER_TICK_INT_MASK_SET_OFFSET 0x54 /* TOCR, 34xx only */
181#define _OMAP_TIMER_TICK_INT_MASK_COUNT_OFFSET 0x58 /* TOWR, 34xx only */
182
183/* register offsets with the write pending bit encoded */
184#define WPSHIFT 16
185
Tony Lindgrenec974892011-03-29 15:54:48 -0700186#define OMAP_TIMER_WAKEUP_EN_REG (_OMAP_TIMER_WAKEUP_EN_OFFSET \
187 | (WP_NONE << WPSHIFT))
188
189#define OMAP_TIMER_CTRL_REG (_OMAP_TIMER_CTRL_OFFSET \
190 | (WP_TCLR << WPSHIFT))
191
192#define OMAP_TIMER_COUNTER_REG (_OMAP_TIMER_COUNTER_OFFSET \
193 | (WP_TCRR << WPSHIFT))
194
195#define OMAP_TIMER_LOAD_REG (_OMAP_TIMER_LOAD_OFFSET \
196 | (WP_TLDR << WPSHIFT))
197
198#define OMAP_TIMER_TRIGGER_REG (_OMAP_TIMER_TRIGGER_OFFSET \
199 | (WP_TTGR << WPSHIFT))
200
201#define OMAP_TIMER_WRITE_PEND_REG (_OMAP_TIMER_WRITE_PEND_OFFSET \
202 | (WP_NONE << WPSHIFT))
203
204#define OMAP_TIMER_MATCH_REG (_OMAP_TIMER_MATCH_OFFSET \
205 | (WP_TMAR << WPSHIFT))
206
207#define OMAP_TIMER_CAPTURE_REG (_OMAP_TIMER_CAPTURE_OFFSET \
208 | (WP_NONE << WPSHIFT))
209
210#define OMAP_TIMER_IF_CTRL_REG (_OMAP_TIMER_IF_CTRL_OFFSET \
211 | (WP_NONE << WPSHIFT))
212
213#define OMAP_TIMER_CAPTURE2_REG (_OMAP_TIMER_CAPTURE2_OFFSET \
214 | (WP_NONE << WPSHIFT))
215
216#define OMAP_TIMER_TICK_POS_REG (_OMAP_TIMER_TICK_POS_OFFSET \
217 | (WP_TPIR << WPSHIFT))
218
219#define OMAP_TIMER_TICK_NEG_REG (_OMAP_TIMER_TICK_NEG_OFFSET \
220 | (WP_TNIR << WPSHIFT))
221
222#define OMAP_TIMER_TICK_COUNT_REG (_OMAP_TIMER_TICK_COUNT_OFFSET \
223 | (WP_TCVR << WPSHIFT))
224
225#define OMAP_TIMER_TICK_INT_MASK_SET_REG \
226 (_OMAP_TIMER_TICK_INT_MASK_SET_OFFSET | (WP_TOCR << WPSHIFT))
227
228#define OMAP_TIMER_TICK_INT_MASK_COUNT_REG \
229 (_OMAP_TIMER_TICK_INT_MASK_COUNT_OFFSET | (WP_TOWR << WPSHIFT))
230
231struct omap_dm_timer {
232 unsigned long phys_base;
Tarun Kanti DebBarmadf284722011-09-20 17:00:19 +0530233 int id;
Tony Lindgrenec974892011-03-29 15:54:48 -0700234 int irq;
Tony Lindgrenec974892011-03-29 15:54:48 -0700235 struct clk *iclk, *fclk;
Tarun Kanti DebBarma3392cdd2011-09-20 17:00:20 +0530236
Tony Lindgrenee17f112011-09-16 15:44:20 -0700237 void __iomem *io_base;
238 void __iomem *sys_stat; /* TISTAT timer status */
239 void __iomem *irq_stat; /* TISR/IRQSTATUS interrupt status */
240 void __iomem *irq_ena; /* irq enable */
241 void __iomem *irq_dis; /* irq disable, only on v2 ip */
242 void __iomem *pend; /* write pending */
243 void __iomem *func_base; /* function register base */
244
Tony Lindgrenaa561882011-03-29 15:54:48 -0700245 unsigned long rate;
Tony Lindgrenec974892011-03-29 15:54:48 -0700246 unsigned reserved:1;
Tony Lindgrenec974892011-03-29 15:54:48 -0700247 unsigned posted:1;
Tarun Kanti DebBarma97933d62011-09-20 17:00:17 +0530248 struct platform_device *pdev;
Tarun Kanti DebBarmadf284722011-09-20 17:00:19 +0530249 struct list_head node;
Tony Lindgrenec974892011-03-29 15:54:48 -0700250};
Russell Kinga09e64f2008-08-05 16:14:15 +0100251
Tarun Kanti DebBarma3392cdd2011-09-20 17:00:20 +0530252int omap_dm_timer_prepare(struct omap_dm_timer *timer);
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700253
Tony Lindgrenee17f112011-09-16 15:44:20 -0700254static inline u32 __omap_dm_timer_read(struct omap_dm_timer *timer, u32 reg,
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700255 int posted)
256{
257 if (posted)
Tony Lindgrenee17f112011-09-16 15:44:20 -0700258 while (__raw_readl(timer->pend) & (reg >> WPSHIFT))
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700259 cpu_relax();
260
Tony Lindgrenee17f112011-09-16 15:44:20 -0700261 return __raw_readl(timer->func_base + (reg & 0xff));
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700262}
263
Tony Lindgrenee17f112011-09-16 15:44:20 -0700264static inline void __omap_dm_timer_write(struct omap_dm_timer *timer,
265 u32 reg, u32 val, int posted)
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700266{
267 if (posted)
Tony Lindgrenee17f112011-09-16 15:44:20 -0700268 while (__raw_readl(timer->pend) & (reg >> WPSHIFT))
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700269 cpu_relax();
270
Tony Lindgrenee17f112011-09-16 15:44:20 -0700271 __raw_writel(val, timer->func_base + (reg & 0xff));
272}
273
274static inline void __omap_dm_timer_init_regs(struct omap_dm_timer *timer)
275{
276 u32 tidr;
277
278 /* Assume v1 ip if bits [31:16] are zero */
279 tidr = __raw_readl(timer->io_base);
280 if (!(tidr >> 16)) {
281 timer->sys_stat = timer->io_base +
282 OMAP_TIMER_V1_SYS_STAT_OFFSET;
283 timer->irq_stat = timer->io_base + OMAP_TIMER_V1_STAT_OFFSET;
284 timer->irq_ena = timer->io_base + OMAP_TIMER_V1_INT_EN_OFFSET;
285 timer->irq_dis = 0;
286 timer->pend = timer->io_base + _OMAP_TIMER_WRITE_PEND_OFFSET;
287 timer->func_base = timer->io_base;
288 } else {
289 timer->sys_stat = 0;
290 timer->irq_stat = timer->io_base + OMAP_TIMER_V2_IRQSTATUS;
291 timer->irq_ena = timer->io_base + OMAP_TIMER_V2_IRQENABLE_SET;
292 timer->irq_dis = timer->io_base + OMAP_TIMER_V2_IRQENABLE_CLR;
293 timer->pend = timer->io_base +
294 _OMAP_TIMER_WRITE_PEND_OFFSET +
295 OMAP_TIMER_V2_FUNC_OFFSET;
296 timer->func_base = timer->io_base + OMAP_TIMER_V2_FUNC_OFFSET;
297 }
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700298}
299
300/* Assumes the source clock has been set by caller */
Tony Lindgrenee17f112011-09-16 15:44:20 -0700301static inline void __omap_dm_timer_reset(struct omap_dm_timer *timer,
302 int autoidle, int wakeup)
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700303{
304 u32 l;
305
Tony Lindgrenee17f112011-09-16 15:44:20 -0700306 l = __raw_readl(timer->io_base + OMAP_TIMER_OCP_CFG_OFFSET);
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700307 l |= 0x02 << 3; /* Set to smart-idle mode */
308 l |= 0x2 << 8; /* Set clock activity to perserve f-clock on idle */
309
310 if (autoidle)
311 l |= 0x1 << 0;
312
313 if (wakeup)
314 l |= 1 << 2;
315
Tony Lindgrenee17f112011-09-16 15:44:20 -0700316 __raw_writel(l, timer->io_base + OMAP_TIMER_OCP_CFG_OFFSET);
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700317
318 /* Match hardware reset default of posted mode */
Tony Lindgrenee17f112011-09-16 15:44:20 -0700319 __omap_dm_timer_write(timer, OMAP_TIMER_IF_CTRL_REG,
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700320 OMAP_TIMER_CTRL_POSTED, 0);
321}
322
323static inline int __omap_dm_timer_set_source(struct clk *timer_fck,
324 struct clk *parent)
325{
326 int ret;
327
328 clk_disable(timer_fck);
329 ret = clk_set_parent(timer_fck, parent);
330 clk_enable(timer_fck);
331
332 /*
333 * When the functional clock disappears, too quick writes seem
334 * to cause an abort. XXX Is this still necessary?
335 */
336 __delay(300000);
337
338 return ret;
339}
340
Tony Lindgrenee17f112011-09-16 15:44:20 -0700341static inline void __omap_dm_timer_stop(struct omap_dm_timer *timer,
342 int posted, unsigned long rate)
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700343{
344 u32 l;
345
Tony Lindgrenee17f112011-09-16 15:44:20 -0700346 l = __omap_dm_timer_read(timer, OMAP_TIMER_CTRL_REG, posted);
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700347 if (l & OMAP_TIMER_CTRL_ST) {
348 l &= ~0x1;
Tony Lindgrenee17f112011-09-16 15:44:20 -0700349 __omap_dm_timer_write(timer, OMAP_TIMER_CTRL_REG, l, posted);
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700350#ifdef CONFIG_ARCH_OMAP2PLUS
351 /* Readback to make sure write has completed */
Tony Lindgrenee17f112011-09-16 15:44:20 -0700352 __omap_dm_timer_read(timer, OMAP_TIMER_CTRL_REG, posted);
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700353 /*
354 * Wait for functional clock period x 3.5 to make sure that
355 * timer is stopped
356 */
357 udelay(3500000 / rate + 1);
358#endif
359 }
360
361 /* Ack possibly pending interrupt */
Tony Lindgrenee17f112011-09-16 15:44:20 -0700362 __raw_writel(OMAP_TIMER_INT_OVERFLOW, timer->irq_stat);
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700363}
364
Tony Lindgrenee17f112011-09-16 15:44:20 -0700365static inline void __omap_dm_timer_load_start(struct omap_dm_timer *timer,
366 u32 ctrl, unsigned int load,
367 int posted)
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700368{
Tony Lindgrenee17f112011-09-16 15:44:20 -0700369 __omap_dm_timer_write(timer, OMAP_TIMER_COUNTER_REG, load, posted);
370 __omap_dm_timer_write(timer, OMAP_TIMER_CTRL_REG, ctrl, posted);
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700371}
372
Tony Lindgrenee17f112011-09-16 15:44:20 -0700373static inline void __omap_dm_timer_int_enable(struct omap_dm_timer *timer,
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700374 unsigned int value)
375{
Tony Lindgrenee17f112011-09-16 15:44:20 -0700376 __raw_writel(value, timer->irq_ena);
377 __omap_dm_timer_write(timer, OMAP_TIMER_WAKEUP_EN_REG, value, 0);
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700378}
379
Tony Lindgrenee17f112011-09-16 15:44:20 -0700380static inline unsigned int
381__omap_dm_timer_read_counter(struct omap_dm_timer *timer, int posted)
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700382{
Tony Lindgrenee17f112011-09-16 15:44:20 -0700383 return __omap_dm_timer_read(timer, OMAP_TIMER_COUNTER_REG, posted);
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700384}
385
Tony Lindgrenee17f112011-09-16 15:44:20 -0700386static inline void __omap_dm_timer_write_status(struct omap_dm_timer *timer,
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700387 unsigned int value)
388{
Tony Lindgrenee17f112011-09-16 15:44:20 -0700389 __raw_writel(value, timer->irq_stat);
Tony Lindgrencaf64f22011-03-29 15:54:48 -0700390}
391
Russell Kinga09e64f2008-08-05 16:14:15 +0100392#endif /* __ASM_ARCH_DMTIMER_H */