2 * arch/arm/mach-tegra/include/mach/clk.h
4 * Copyright (C) 2010 Google, Inc.
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.
25 enum tegra_clk_ex_param
{
28 TEGRA_CLK_NAND_PAD_DIV2_ENB
,
29 TEGRA_CLK_PLLD_CSI_OUT_ENB
,
30 TEGRA_CLK_PLLD_DSI_OUT_ENB
,
31 TEGRA_CLK_PLLD_MIPI_MUX_SEL
,
34 void tegra_periph_reset_deassert(struct clk
*c
);
35 void tegra_periph_reset_assert(struct clk
*c
);
37 #ifndef CONFIG_COMMON_CLK
38 unsigned long clk_get_rate_all_locked(struct clk
*c
);
41 void tegra2_sdmmc_tap_delay(struct clk
*c
, int delay
);
42 int tegra_clk_cfg_ex(struct clk
*c
, enum tegra_clk_ex_param p
, u32 setting
);