| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2013, The Linux Foundation. All rights reserved. |
|---|
| 3 | | - * |
|---|
| 4 | | - * This software is licensed under the terms of the GNU General Public |
|---|
| 5 | | - * License version 2, as published by the Free Software Foundation, and |
|---|
| 6 | | - * may be copied, distributed, and modified under those terms. |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 9 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 10 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 11 | | - * GNU General Public License for more details. |
|---|
| 12 | 4 | */ |
|---|
| 13 | 5 | |
|---|
| 14 | 6 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 456 | 448 | .name = "mdp_clk_src", |
|---|
| 457 | 449 | .parent_names = mmcc_xo_mmpll0_dsi_hdmi_gpll0, |
|---|
| 458 | 450 | .num_parents = 6, |
|---|
| 459 | | - .ops = &clk_rcg2_ops, |
|---|
| 460 | | - }, |
|---|
| 461 | | -}; |
|---|
| 462 | | - |
|---|
| 463 | | -static struct clk_rcg2 gfx3d_clk_src = { |
|---|
| 464 | | - .cmd_rcgr = 0x4000, |
|---|
| 465 | | - .hid_width = 5, |
|---|
| 466 | | - .parent_map = mmcc_xo_mmpll0_1_2_gpll0_map, |
|---|
| 467 | | - .clkr.hw.init = &(struct clk_init_data){ |
|---|
| 468 | | - .name = "gfx3d_clk_src", |
|---|
| 469 | | - .parent_names = mmcc_xo_mmpll0_1_2_gpll0, |
|---|
| 470 | | - .num_parents = 5, |
|---|
| 471 | 451 | .ops = &clk_rcg2_ops, |
|---|
| 472 | 452 | }, |
|---|
| 473 | 453 | }; |
|---|
| .. | .. |
|---|
| 2419 | 2399 | [VFE0_CLK_SRC] = &vfe0_clk_src.clkr, |
|---|
| 2420 | 2400 | [VFE1_CLK_SRC] = &vfe1_clk_src.clkr, |
|---|
| 2421 | 2401 | [MDP_CLK_SRC] = &mdp_clk_src.clkr, |
|---|
| 2422 | | - [GFX3D_CLK_SRC] = &gfx3d_clk_src.clkr, |
|---|
| 2423 | 2402 | [JPEG0_CLK_SRC] = &jpeg0_clk_src.clkr, |
|---|
| 2424 | 2403 | [JPEG1_CLK_SRC] = &jpeg1_clk_src.clkr, |
|---|
| 2425 | 2404 | [JPEG2_CLK_SRC] = &jpeg2_clk_src.clkr, |
|---|