#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <linux/irq.h>
#include <linux/err.h>
#include <linux/clockchips.h>
#include <linux/sh_timer.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/pm_domain.h>
#include <linux/pm_runtime.h>
Go to the source code of this file.
| #define TCNT 5 /* channel register */ |
| #define TCR 0 /* channel register */ |
| #define TGR 6 /* channel register */ |
| #define TIER 3 /* channel register */ |
| #define TIOR 2 /* channel register */ |
| #define TMDR 1 /* channel register */ |
| #define TSR 4 /* channel register */ |
| #define TSTR -1 /* shared register */ |
| early_platform_init |
( |
"earlytimer" |
, |
|
|
& |
sh_mtu2_device_driver |
|
) |
| |
| MODULE_AUTHOR |
( |
"Magnus Damm" |
| ) |
|
| MODULE_DESCRIPTION |
( |
"SuperH MTU2 Timer Driver" |
| ) |
|
| module_exit |
( |
sh_mtu2_exit |
| ) |
|
| module_init |
( |
sh_mtu2_init |
| ) |
|
| MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|