forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/drivers/gpu/drm/rockchip/inno_hdmi.h
....@@ -1,16 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) Fuzhou Rockchip Electronics Co.Ltd
34 * Zheng Yang <zhengyang@rock-chips.com>
45 * Yakir Yang <ykk@rock-chips.com>
5
- *
6
- * This software is licensed under the terms of the GNU General Public
7
- * License version 2, as published by the Free Software Foundation, and
8
- * may be copied, distributed, and modified under those terms.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
146 */
157
168 #ifndef __INNO_HDMI_H__
....@@ -104,11 +96,13 @@
10496 #define HDMI_AV_MUTE 0x05
10597 #define m_AVMUTE_CLEAR (1 << 7)
10698 #define m_AVMUTE_ENABLE (1 << 6)
99
+#define m_AUDIO_PD (1 << 2)
107100 #define m_AUDIO_MUTE (1 << 1)
108101 #define m_VIDEO_BLACK (1 << 0)
109102 #define v_AVMUTE_CLEAR(n) (n << 7)
110103 #define v_AVMUTE_ENABLE(n) (n << 6)
111104 #define v_AUDIO_MUTE(n) (n << 1)
105
+#define v_AUDIO_PD(n) (n << 2)
112106 #define v_VIDEO_MUTE(n) (n << 0)
113107
114108 #define HDMI_VIDEO_TIMING_CTL 0x08