mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-10-04 08:02:24 +00:00

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>
14 lines
237 B
C
14 lines
237 B
C
#ifndef __SH_TMU_H__
|
|
#define __SH_TMU_H__
|
|
|
|
struct sh_tmu_config {
|
|
char *name;
|
|
unsigned long channel_offset;
|
|
int timer_bit;
|
|
char *clk;
|
|
unsigned long clockevent_rating;
|
|
unsigned long clocksource_rating;
|
|
};
|
|
|
|
#endif /* __SH_TMU_H__ */
|