upload tizen1.0 source
[kernel/linux-2.6.36.git] / arch / arm / plat-s5p / include / plat / tvout.h
1 /* linux/arch/arm/plat-s5p/include/plat/tvout.h
2  *
3  * Copyright (c) 2010 Samsung Electronics Co., Ltd.
4  *              http://www.samsung.com/
5  *
6  * Platform Header file for Samsung TV driver
7  *
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.
11 */
12
13 #ifndef __ARM_PLAT_TVOUT_H
14 #define __ARM_PLAT_TVOUT_H __FILE__
15
16 struct platform_device;
17
18 struct s5p_platform_hpd {
19
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);
23 };
24
25 extern void s5p_hdmi_hpd_set_platdata(struct s5p_platform_hpd *pd);
26
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);
31
32 struct s5p_platform_cec {
33
34         void            (*cfg_gpio)(struct platform_device *pdev);
35 };
36
37 extern void s5p_hdmi_cec_set_platdata(struct s5p_platform_cec *pd);
38
39 /* defined by architecture to configure gpio */
40 extern void s5p_cec_cfg_gpio(struct platform_device *pdev);
41
42 #endif /* __ASM_PLAT_TV_HPD_H */