[ARM] tegra: Add clock support
authorColin Cross <ccross@android.com>
Fri, 29 Jan 2010 00:40:29 +0000 (16:40 -0800)
committerErik Gilling <konkers@android.com>
Thu, 5 Aug 2010 21:51:42 +0000 (14:51 -0700)
commitd861196163e30c07add471562b45dce38517c9b2
tree33c3577854f2e600e0f4dc25620f4932a31d3138
parent5ad36c5f0ece31552a195f2f9e29357a2747536e
[ARM] tegra: Add clock support

v2: fixes from Russell King:
- include linux/io.h instead of asm/io.h
- fix whitespace in Kconfig
- Use spin_lock_init to initialize lock
- Return -ENOSYS instead of BUG for unimplemented clock ops
- Use proper return values in tegra2 clock ops
    additional changes:
- Rename some clocks to match dev_ids
- add rate propagation
- add debugfs entries
- add support for clock listed in clk_lookup under multiple dev_ids
v3:
- Replace per-clock locking with global clock lock
- Autodetect clock state on init
- Let clock dividers pick next lower possible frequency
- Add support for clock init tables
- Minor bug fixes
- Fix checkpatch issues

Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/Kconfig
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/clock.c [new file with mode: 0644]
arch/arm/mach-tegra/clock.h [new file with mode: 0644]
arch/arm/mach-tegra/common.c
arch/arm/mach-tegra/include/mach/clk.h [new file with mode: 0644]
arch/arm/mach-tegra/include/mach/clkdev.h [new file with mode: 0644]
arch/arm/mach-tegra/tegra2_clocks.c [new file with mode: 0644]