| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) Fuzhou Rockchip Electronics Co.Ltd |
|---|
| 3 | 4 | * 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. |
|---|
| 13 | 5 | */ |
|---|
| 14 | 6 | |
|---|
| 15 | 7 | #ifndef __RK3066_HDMI_H__ |
|---|
| 16 | 8 | #define __RK3066_HDMI_H__ |
|---|
| 17 | 9 | |
|---|
| 10 | +#define GRF_SOC_CON0 0x150 |
|---|
| 11 | +#define HDMI_VIDEO_SEL BIT(14) |
|---|
| 12 | + |
|---|
| 18 | 13 | #define DDC_SEGMENT_ADDR 0x30 |
|---|
| 19 | 14 | #define HDMI_SCL_RATE (50 * 1000) |
|---|
| 20 | 15 | #define HDMI_MAXIMUM_INFO_FRAME_SIZE 0x11 |
|---|