Merge branch 'v6v7' into devel
[linux/fpc-iii.git] / arch / arm / mach-tegra / include / mach / clk.h
bloba217f68ba57c6c790d24f4f7eb3e50ddd925ec7a
1 /*
2 * arch/arm/mach-tegra/include/mach/clk.h
4 * Copyright (C) 2010 Google, Inc.
6 * Author:
7 * Erik Gilling <konkers@google.com>
9 * This software is licensed under the terms of the GNU General Public
10 * License version 2, as published by the Free Software Foundation, and
11 * may be copied, distributed, and modified under those terms.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
20 #ifndef __MACH_CLK_H
21 #define __MACH_CLK_H
23 struct clk;
25 void tegra_periph_reset_deassert(struct clk *c);
26 void tegra_periph_reset_assert(struct clk *c);
28 int clk_enable_cansleep(struct clk *clk);
29 void clk_disable_cansleep(struct clk *clk);
30 int clk_set_rate_cansleep(struct clk *clk, unsigned long rate);
31 int clk_set_parent_cansleep(struct clk *clk, struct clk *parent);
33 #endif