.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) 2012, 2013, 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 | 4 | */ |
---|
16 | 5 | |
---|
17 | 6 | #include <linux/io.h> |
---|
.. | .. |
---|
191 | 180 | gen_info->num_cclk_g_parents, |
---|
192 | 181 | CLK_SET_RATE_PARENT, |
---|
193 | 182 | clk_base + CCLKG_BURST_POLICY, |
---|
194 | | - 0, 4, 8, 0, NULL); |
---|
| 183 | + TEGRA210_CPU_CLK, 4, 8, 0, NULL); |
---|
195 | 184 | } else { |
---|
196 | 185 | clk = tegra_clk_register_super_mux("cclk_g", |
---|
197 | 186 | gen_info->cclk_g_parents, |
---|
.. | .. |
---|
207 | 196 | dt_clk = tegra_lookup_dt_id(tegra_clk_cclk_lp, tegra_clks); |
---|
208 | 197 | if (dt_clk) { |
---|
209 | 198 | if (gen_info->gen == gen5) { |
---|
| 199 | + /* |
---|
| 200 | + * TEGRA210_CPU_CLK flag is not needed for cclk_lp as |
---|
| 201 | + * cluster switching is not currently supported on |
---|
| 202 | + * Tegra210 and also cpu_lp is not used. |
---|
| 203 | + */ |
---|
210 | 204 | clk = tegra_clk_register_super_mux("cclk_lp", |
---|
211 | 205 | gen_info->cclk_lp_parents, |
---|
212 | 206 | gen_info->num_cclk_lp_parents, |
---|