aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-05-01 02:51:00 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-05-03 04:41:15 -0400
commit9570ef20423b549757aa484ad388f9a7d5bdc4d9 (patch)
tree900abba67f478327554307cb74e2683b632f3289 /include
parent3280c8865e1b738604bacdea54738acef31e8c12 (diff)
clocksource: SuperH TMU Timer driver
This patch adds a TMU driver for the SuperH architecture. The TMU driver is a platform driver with early platform support to allow using a TMU channel as clockevent or clocksource during system bootup or later. Clocksource or clockevent can be selected. Both periodic and oneshot clockevents are supported. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sh_tmu.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/sh_tmu.h b/include/linux/sh_tmu.h
new file mode 100644
index 000000000000..b1195e8a37d0
--- /dev/null
+++ b/include/linux/sh_tmu.h
@@ -0,0 +1,13 @@
1#ifndef __SH_TMU_H__
2#define __SH_TMU_H__
3
4struct sh_tmu_config {
5 char *name;
6 unsigned long channel_offset;
7 int timer_bit;
8 char *clk;
9 unsigned long clockevent_rating;
10 unsigned long clocksource_rating;
11};
12
13#endif /* __SH_TMU_H__ */