• Colin Cross's avatar
    [ARM] tegra: Add clock support · d8611961
    Colin Cross authored
    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: default avatarColin Cross <ccross@android.com>
    d8611961
common.c 1.61 KB