• C
    [ARM] tegra: Add clock support · d8611961
    Colin Cross 提交于
    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: NColin Cross <ccross@android.com>
    d8611961
clk.h 747 字节
/*
 * arch/arm/mach-tegra/include/mach/clk.h
 *
 * Copyright (C) 2010 Google, Inc.
 *
 * Author:
 *	Erik Gilling <konkers@google.com>
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
 * may be copied, distributed, and modified under those terms.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

#ifndef __MACH_CLK_H
#define __MACH_CLK_H

void tegra_periph_reset_deassert(struct clk *c);
void tegra_periph_reset_assert(struct clk *c);

#endif
反馈
建议
客服 返回
顶部