.. | .. |
---|
| 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 | #ifndef __DSI_PLL_H__ |
---|
15 | 7 | #define __DSI_PLL_H__ |
---|
16 | 8 | |
---|
17 | | -#include <linux/clk.h> |
---|
18 | 9 | #include <linux/clk-provider.h> |
---|
| 10 | +#include <linux/delay.h> |
---|
19 | 11 | |
---|
20 | 12 | #include "dsi.h" |
---|
21 | 13 | |
---|
.. | .. |
---|
124 | 116 | return ERR_PTR(-ENODEV); |
---|
125 | 117 | } |
---|
126 | 118 | #endif |
---|
| 119 | +#ifdef CONFIG_DRM_MSM_DSI_7NM_PHY |
---|
| 120 | +struct msm_dsi_pll *msm_dsi_pll_7nm_init(struct platform_device *pdev, |
---|
| 121 | + enum msm_dsi_phy_type type, int id); |
---|
| 122 | +#else |
---|
| 123 | +static inline struct msm_dsi_pll * |
---|
| 124 | +msm_dsi_pll_7nm_init(struct platform_device *pdev, |
---|
| 125 | + enum msm_dsi_phy_type type, int id) |
---|
| 126 | +{ |
---|
| 127 | + return ERR_PTR(-ENODEV); |
---|
| 128 | +} |
---|
| 129 | +#endif |
---|
| 130 | + |
---|
127 | 131 | #endif /* __DSI_PLL_H__ */ |
---|
128 | 132 | |
---|