1 /* linux/arch/arm/plat-s5p/include/plat/tvout.h
3 * Copyright (c) 2010 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com/
6 * Platform Header file for Samsung TV driver
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #ifndef __ARM_PLAT_TVOUT_H
14 #define __ARM_PLAT_TVOUT_H __FILE__
16 struct platform_device;
18 struct s5p_platform_hpd {
20 void (*int_src_hdmi_hpd)(struct platform_device *pdev);
21 void (*int_src_ext_hpd)(struct platform_device *pdev);
22 int (*read_gpio)(struct platform_device *pdev);
25 extern void s5p_hdmi_hpd_set_platdata(struct s5p_platform_hpd *pd);
27 /* defined by architecture to configure gpio */
28 extern void s5p_int_src_hdmi_hpd(struct platform_device *pdev);
29 extern void s5p_int_src_ext_hpd(struct platform_device *pdev);
30 extern int s5p_hpd_read_gpio(struct platform_device *pdev);
32 struct s5p_platform_cec {
34 void (*cfg_gpio)(struct platform_device *pdev);
37 extern void s5p_hdmi_cec_set_platdata(struct s5p_platform_cec *pd);
39 /* defined by architecture to configure gpio */
40 extern void s5p_cec_cfg_gpio(struct platform_device *pdev);
42 #endif /* __ASM_PLAT_TV_HPD_H */