| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) Fuzhou Rockchip Electronics Co.Ltd |
|---|
| 3 | 4 | * Zheng Yang <zhengyang@rock-chips.com> |
|---|
| 4 | 5 | * 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. |
|---|
| 14 | 6 | */ |
|---|
| 15 | 7 | |
|---|
| 16 | 8 | #ifndef __INNO_HDMI_H__ |
|---|
| .. | .. |
|---|
| 104 | 96 | #define HDMI_AV_MUTE 0x05 |
|---|
| 105 | 97 | #define m_AVMUTE_CLEAR (1 << 7) |
|---|
| 106 | 98 | #define m_AVMUTE_ENABLE (1 << 6) |
|---|
| 99 | +#define m_AUDIO_PD (1 << 2) |
|---|
| 107 | 100 | #define m_AUDIO_MUTE (1 << 1) |
|---|
| 108 | 101 | #define m_VIDEO_BLACK (1 << 0) |
|---|
| 109 | 102 | #define v_AVMUTE_CLEAR(n) (n << 7) |
|---|
| 110 | 103 | #define v_AVMUTE_ENABLE(n) (n << 6) |
|---|
| 111 | 104 | #define v_AUDIO_MUTE(n) (n << 1) |
|---|
| 105 | +#define v_AUDIO_PD(n) (n << 2) |
|---|
| 112 | 106 | #define v_VIDEO_MUTE(n) (n << 0) |
|---|
| 113 | 107 | |
|---|
| 114 | 108 | #define HDMI_VIDEO_TIMING_CTL 0x08 |
|---|