forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/gpu/drm/rockchip/rk3066_hdmi.h
....@@ -1,20 +1,15 @@
1
+/* SPDX-License-Identifier: GPL-2.0 */
12 /*
23 * Copyright (C) Fuzhou Rockchip Electronics Co.Ltd
34 * Zheng Yang <zhengyang@rock-chips.com>
4
- *
5
- * This software is licensed under the terms of the GNU General Public
6
- * License version 2, as published by the Free Software Foundation, and
7
- * may be copied, distributed, and modified under those terms.
8
- *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU General Public License for more details.
135 */
146
157 #ifndef __RK3066_HDMI_H__
168 #define __RK3066_HDMI_H__
179
10
+#define GRF_SOC_CON0 0x150
11
+#define HDMI_VIDEO_SEL BIT(14)
12
+
1813 #define DDC_SEGMENT_ADDR 0x30
1914 #define HDMI_SCL_RATE (50 * 1000)
2015 #define HDMI_MAXIMUM_INFO_FRAME_SIZE 0x11