summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/mediatek/mtk_cec.h
blob: c6412dddb388c6ac5be61a7a0fa7665499104e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2014 MediaTek Inc.
 * Author: Jie Qiu <jie.qiu@mediatek.com>
 */
#ifndef _MTK_CEC_H
#define _MTK_CEC_H

#include <linux/types.h>

struct device;

void mtk_cec_set_hpd_event(struct device *dev,
			   void (*hotplug_event)(bool hpd, struct device *dev),
			   struct device *hdmi_dev);
bool mtk_cec_hpd_high(struct device *dev);

#endif /* _MTK_CEC_H */