mtk_cec.h 811 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (c) 2014 MediaTek Inc.
  3. * Author: Jie Qiu <jie.qiu@mediatek.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  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. */
  14. #ifndef _MTK_CEC_H
  15. #define _MTK_CEC_H
  16. #include <linux/types.h>
  17. struct device;
  18. void mtk_cec_set_hpd_event(struct device *dev,
  19. void (*hotplug_event)(bool hpd, struct device *dev),
  20. struct device *hdmi_dev);
  21. bool mtk_cec_hpd_high(struct device *dev);
  22. #endif /* _MTK_CEC_H */