Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-tegra / include / mach / clk.h
1 /*
2  * arch/arm/mach-tegra/include/mach/clk.h
3  *
4  * Copyright (C) 2010 Google, Inc.
5  *
6  * Author:
7  *      Erik Gilling <konkers@google.com>
8  *
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.
12  *
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.
17  *
18  */
19
20 #ifndef __MACH_CLK_H
21 #define __MACH_CLK_H
22
23 struct dvfs;
24
25 void tegra_periph_reset_deassert(struct clk *c);
26 void tegra_periph_reset_assert(struct clk *c);
27
28 int tegra_dvfs_set_rate(struct clk *c, unsigned long rate);
29 unsigned long clk_get_rate_all_locked(struct clk *c);
30 void tegra_sdmmc_tap_delay(struct clk *c, int delay);
31
32 #endif