[ARM] tegra: Add timer support
authorColin Cross <ccross@android.com>
Fri, 29 Jan 2010 00:41:42 +0000 (16:41 -0800)
committerErik Gilling <konkers@android.com>
Thu, 5 Aug 2010 21:57:02 +0000 (14:57 -0700)
commit2d5cd9a38b3792426115adbedce539bd45ee640e
tree2c74d876e2ac955d441b51e89c5e2bc8f6cddf6d
parent1cea7326b3fff97d17d33fb8f33163409a84431b
[ARM] tegra: Add timer support

v2: fixes from Russell King:
- include linux/io.h instead of asm/io.h
    fixes from Gary King:
- remove extra (and incorrect) irq definitions
- use timer 3 instead of timer 1 for compatibility with other drivers
- fix typo that disabled oneshot mode
v3:
- Implement sched_clock
- Fix checkpatch issues
    fixes from Gary King:
     - Fix incorrect cycles calculation
- Fix min_delta_ns assignment
    fixes from Linus Walleij:
- use calc_mult_shift() instead of hard coding values

Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/timer.c [new file with mode: 0644]