diff options
author | codeworkx <daniel.hillenbrand@codeworkx.de> | 2012-06-02 13:09:29 +0200 |
---|---|---|
committer | codeworkx <daniel.hillenbrand@codeworkx.de> | 2012-06-02 13:09:29 +0200 |
commit | c6da2cfeb05178a11c6d062a06f8078150ee492f (patch) | |
tree | f3b4021d252c52d6463a9b3c1bb7245e399b009c /arch/arm/plat-s5p/include/plat/tvout.h | |
parent | c6d7c4dbff353eac7919342ae6b3299a378160a6 (diff) | |
download | kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.zip kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.tar.gz kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.tar.bz2 |
samsung update 1
Diffstat (limited to 'arch/arm/plat-s5p/include/plat/tvout.h')
-rw-r--r-- | arch/arm/plat-s5p/include/plat/tvout.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/arch/arm/plat-s5p/include/plat/tvout.h b/arch/arm/plat-s5p/include/plat/tvout.h new file mode 100644 index 0000000..e649d69 --- /dev/null +++ b/arch/arm/plat-s5p/include/plat/tvout.h @@ -0,0 +1,49 @@ +/* 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; + +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); + +/* 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 */ |