clocksource: SuperH MTU2 Timer driver
This patch adds a MTU2 driver for the SuperH architecture. The MTU2 driver is a platform driver with early platform support to allow using a MTU2 channel as only clockevent during system bootup. Clocksource on sh2a is currently unsupported due to code generation issues with 64-bit math, so at this point only periodic clockevent support is in place. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#ifndef __SH_MTU2_H__
|
||||
#define __SH_MTU2_H__
|
||||
|
||||
struct sh_mtu2_config {
|
||||
char *name;
|
||||
int channel_offset;
|
||||
int timer_bit;
|
||||
char *clk;
|
||||
unsigned long clockevent_rating;
|
||||
};
|
||||
|
||||
#endif /* __SH_MTU2_H__ */
|
||||
Reference in New Issue
Block a user