Skip to content

Commit

Permalink
[ARM] tegra: Add clock support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Colin Cross authored and Erik Gilling committed Aug 5, 2010
1 parent 5ad36c5 commit d861196
Show file tree
Hide file tree
Showing 8 changed files with 2,072 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ config ARCH_TEGRA
select GENERIC_CLOCKEVENTS
select GENERIC_GPIO
select HAVE_CLK
select COMMON_CLKDEV
select ARCH_HAS_BARRIERS if CACHE_L2X0
help
This enables support for NVIDIA Tegra based systems (Tegra APX,
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/mach-tegra/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
obj-y += common.o
obj-y += io.o
obj-y += irq.o
obj-y += clock.o
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra2_clocks.o
Loading

0 comments on commit d861196

Please sign in to comment.