blob: 7a34adb2f72d43a7a45a24327175ed6878c8027b [file] [log] [blame]
Prashant Gaikwad88e790a2012-08-06 11:57:39 +05301/*
2 * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#ifndef __MACH_TEGRA30_CLOCK_H
18#define __MACH_TEGRA30_CLOCK_H
19
Joseph Lob78c0302012-08-17 14:51:21 +080020extern struct clk_ops tegra30_clk_32k_ops;
Prashant Gaikwad88e790a2012-08-06 11:57:39 +053021extern struct clk_ops tegra30_clk_m_ops;
22extern struct clk_ops tegra_clk_m_div_ops;
23extern struct clk_ops tegra_pll_ref_ops;
24extern struct clk_ops tegra30_pll_ops;
25extern struct clk_ops tegra30_pll_div_ops;
26extern struct clk_ops tegra_plld_ops;
27extern struct clk_ops tegra30_plle_ops;
28extern struct clk_ops tegra_cml_clk_ops;
29extern struct clk_ops tegra_pciex_clk_ops;
30extern struct clk_ops tegra_sync_source_ops;
Joseph Lo9c54db62012-08-17 14:54:10 +080031extern struct clk_ops tegra30_audio_sync_clk_ops;
Prashant Gaikwad88e790a2012-08-06 11:57:39 +053032extern struct clk_ops tegra30_clk_double_ops;
33extern struct clk_ops tegra_clk_out_ops;
34extern struct clk_ops tegra30_super_ops;
35extern struct clk_ops tegra30_blink_clk_ops;
36extern struct clk_ops tegra30_twd_ops;
Joseph Lod534b5d2012-10-29 18:25:29 +080037extern struct clk_ops tegra30_bus_ops;
Prashant Gaikwad88e790a2012-08-06 11:57:39 +053038extern struct clk_ops tegra30_periph_clk_ops;
Prashant Gaikwad92fe58f2012-08-06 11:57:43 +053039extern struct clk_ops tegra30_dsib_clk_ops;
Prashant Gaikwad88e790a2012-08-06 11:57:39 +053040extern struct clk_ops tegra_nand_clk_ops;
41extern struct clk_ops tegra_vi_clk_ops;
42extern struct clk_ops tegra_dtv_clk_ops;
43extern struct clk_ops tegra_clk_shared_bus_ops;
44
Prashant Gaikwad92fe58f2012-08-06 11:57:43 +053045int tegra30_plld_clk_cfg_ex(struct clk_hw *hw,
46 enum tegra_clk_ex_param p, u32 setting);
47void tegra30_periph_clk_reset(struct clk_hw *hw, bool assert);
48int tegra30_vi_clk_cfg_ex(struct clk_hw *hw,
49 enum tegra_clk_ex_param p, u32 setting);
50int tegra30_nand_clk_cfg_ex(struct clk_hw *hw,
51 enum tegra_clk_ex_param p, u32 setting);
52int tegra30_dtv_clk_cfg_ex(struct clk_hw *hw,
53 enum tegra_clk_ex_param p, u32 setting);
Prashant Gaikwad88e790a2012-08-06 11:57:39 +053054#endif