forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/drivers/gpu/drm/omapdrm/dss/hdmi5_core.h
....@@ -1,19 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * HDMI driver definition for TI OMAP5 processors.
34 *
45 * Copyright (C) 2011-2012 Texas Instruments Incorporated - http://www.ti.com/
5
- *
6
- * This program is free software; you can redistribute it and/or modify it
7
- * under the terms of the GNU General Public License version 2 as published by
8
- * the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful, but WITHOUT
11
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13
- * more details.
14
- *
15
- * You should have received a copy of the GNU General Public License along with
16
- * this program. If not, see <http://www.gnu.org/licenses/>.
176 */
187
198 #ifndef _HDMI5_CORE_H_
....@@ -292,7 +281,10 @@
292281 u16 c1, c2, c3, c4;
293282 };
294283
295
-int hdmi5_read_edid(struct hdmi_core_data *core, u8 *edid, int len);
284
+void hdmi5_core_ddc_init(struct hdmi_core_data *core);
285
+int hdmi5_core_ddc_read(void *data, u8 *buf, unsigned int block, size_t len);
286
+void hdmi5_core_ddc_uninit(struct hdmi_core_data *core);
287
+
296288 void hdmi5_core_dump(struct hdmi_core_data *core, struct seq_file *s);
297289 int hdmi5_core_handle_irqs(struct hdmi_core_data *core);
298290 void hdmi5_configure(struct hdmi_core_data *core, struct hdmi_wp_data *wp,