blob: d7012691c516c7b72eab634944c77e991cf0619b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
/* linux/arch/arm/plat-s5p/include/plat/tvout.h
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* Platform Header file for Samsung TV driver
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __ARM_PLAT_TVOUT_H
#define __ARM_PLAT_TVOUT_H __FILE__
struct platform_device;
#ifdef CONFIG_HDMI_TX_STRENGTH
struct s5p_tx_tuning {
u8 tx_ch;
u8 *tx_val;
};
struct s5p_platform_tvout {
struct s5p_tx_tuning *tx_tune;
};
#endif
struct s5p_platform_hpd {
void (*int_src_hdmi_hpd)(struct platform_device *pdev);
void (*int_src_ext_hpd)(struct platform_device *pdev);
int (*read_gpio)(struct platform_device *pdev);
#ifdef CONFIG_HDMI_CONTROLLED_BY_EXT_IC
void (*ext_ic_control)(bool ic_on);
#endif
};
extern void s5p_hdmi_hpd_set_platdata(struct s5p_platform_hpd *pd);
/* defined by architecture to configure gpio */
extern void s5p_int_src_hdmi_hpd(struct platform_device *pdev);
extern void s5p_int_src_ext_hpd(struct platform_device *pdev);
extern void s5p_v4l2_int_src_hdmi_hpd(void);
extern void s5p_v4l2_int_src_ext_hpd(void);
extern int s5p_hpd_read_gpio(struct platform_device *pdev);
extern int s5p_v4l2_hpd_read_gpio(void);
struct s5p_platform_cec {
void (*cfg_gpio)(struct platform_device *pdev);
};
extern void s5p_hdmi_cec_set_platdata(struct s5p_platform_cec *pd);
#ifdef CONFIG_HDMI_TX_STRENGTH
extern void s5p_hdmi_tvout_set_platdata(struct s5p_platform_tvout *pd);
#endif
/* defined by architecture to configure gpio */
extern void s5p_cec_cfg_gpio(struct platform_device *pdev);
extern void s5p_tv_setup(void);
#endif /* __ASM_PLAT_TV_HPD_H */
|