xref: /openbmc/linux/drivers/gpu/drm/mediatek/mtk_cec.h (revision fbb6b31a)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2014 MediaTek Inc.
4  * Author: Jie Qiu <jie.qiu@mediatek.com>
5  */
6 #ifndef _MTK_CEC_H
7 #define _MTK_CEC_H
8 
9 #include <linux/types.h>
10 
11 struct device;
12 
13 void mtk_cec_set_hpd_event(struct device *dev,
14 			   void (*hotplug_event)(bool hpd, struct device *dev),
15 			   struct device *hdmi_dev);
16 bool mtk_cec_hpd_high(struct device *dev);
17 
18 #endif /* _MTK_CEC_H */
19