forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/gpu/drm/msm/dsi/dsi_cfg.h
....@@ -1,14 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 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 __MSM_DSI_CFG_H__
....@@ -25,7 +17,13 @@
2517 #define MSM_DSI_6G_VER_MINOR_V1_3 0x10030000
2618 #define MSM_DSI_6G_VER_MINOR_V1_3_1 0x10030001
2719 #define MSM_DSI_6G_VER_MINOR_V1_4_1 0x10040001
20
+#define MSM_DSI_6G_VER_MINOR_V1_4_2 0x10040002
21
+#define MSM_DSI_6G_VER_MINOR_V2_1_0 0x20010000
22
+#define MSM_DSI_6G_VER_MINOR_V2_2_0 0x20000000
2823 #define MSM_DSI_6G_VER_MINOR_V2_2_1 0x20020001
24
+#define MSM_DSI_6G_VER_MINOR_V2_3_0 0x20030000
25
+#define MSM_DSI_6G_VER_MINOR_V2_4_0 0x20040000
26
+#define MSM_DSI_6G_VER_MINOR_V2_4_1 0x20040001
2927
3028 #define MSM_DSI_V2_VER_MINOR_8064 0x0
3129
....@@ -41,6 +39,7 @@
4139 };
4240
4341 struct msm_dsi_host_cfg_ops {
42
+ int (*link_clk_set_rate)(struct msm_dsi_host *msm_host);
4443 int (*link_clk_enable)(struct msm_dsi_host *msm_host);
4544 void (*link_clk_disable)(struct msm_dsi_host *msm_host);
4645 int (*clk_init_ver)(struct msm_dsi_host *msm_host);