hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/drivers/gpu/drm/msm/dsi/pll/dsi_pll.h
....@@ -1,21 +1,13 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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.
124 */
135
146 #ifndef __DSI_PLL_H__
157 #define __DSI_PLL_H__
168
17
-#include <linux/clk.h>
189 #include <linux/clk-provider.h>
10
+#include <linux/delay.h>
1911
2012 #include "dsi.h"
2113
....@@ -124,5 +116,17 @@
124116 return ERR_PTR(-ENODEV);
125117 }
126118 #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
+
127131 #endif /* __DSI_PLL_H__ */
128132