.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved. |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify |
---|
5 | | - * it under the terms of the GNU General Public License version 2 and |
---|
6 | | - * only version 2 as published by the Free Software Foundation. |
---|
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 "dsi_pll.h" |
---|
.. | .. |
---|
169 | 161 | case MSM_DSI_PHY_10NM: |
---|
170 | 162 | pll = msm_dsi_pll_10nm_init(pdev, id); |
---|
171 | 163 | break; |
---|
| 164 | + case MSM_DSI_PHY_7NM: |
---|
| 165 | + case MSM_DSI_PHY_7NM_V4_1: |
---|
| 166 | + pll = msm_dsi_pll_7nm_init(pdev, type, id); |
---|
| 167 | + break; |
---|
172 | 168 | default: |
---|
173 | 169 | pll = ERR_PTR(-ENXIO); |
---|
174 | 170 | break; |
---|
175 | 171 | } |
---|
176 | 172 | |
---|
177 | 173 | if (IS_ERR(pll)) { |
---|
178 | | - dev_err(dev, "%s: failed to init DSI PLL\n", __func__); |
---|
| 174 | + DRM_DEV_ERROR(dev, "%s: failed to init DSI PLL\n", __func__); |
---|
179 | 175 | return pll; |
---|
180 | 176 | } |
---|
181 | 177 | |
---|