18f83f268SJie Qiu /* 28f83f268SJie Qiu * Copyright (c) 2014 MediaTek Inc. 38f83f268SJie Qiu * Author: Jie Qiu <jie.qiu@mediatek.com> 48f83f268SJie Qiu * 58f83f268SJie Qiu * This program is free software; you can redistribute it and/or modify 68f83f268SJie Qiu * it under the terms of the GNU General Public License version 2 as 78f83f268SJie Qiu * published by the Free Software Foundation. 88f83f268SJie Qiu * 98f83f268SJie Qiu * This program is distributed in the hope that it will be useful, 108f83f268SJie Qiu * but WITHOUT ANY WARRANTY; without even the implied warranty of 118f83f268SJie Qiu * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 128f83f268SJie Qiu * GNU General Public License for more details. 138f83f268SJie Qiu */ 148f83f268SJie Qiu #ifndef _MTK_CEC_H 158f83f268SJie Qiu #define _MTK_CEC_H 168f83f268SJie Qiu 178f83f268SJie Qiu #include <linux/types.h> 188f83f268SJie Qiu 198f83f268SJie Qiu struct device; 208f83f268SJie Qiu 218f83f268SJie Qiu void mtk_cec_set_hpd_event(struct device *dev, 228f83f268SJie Qiu void (*hotplug_event)(bool hpd, struct device *dev), 238f83f268SJie Qiu struct device *hdmi_dev); 248f83f268SJie Qiu bool mtk_cec_hpd_high(struct device *dev); 258f83f268SJie Qiu 268f83f268SJie Qiu #endif /* _MTK_CEC_H */ 27