aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/samsung/tvout/Kconfig
blob: da7bda7b6c7415cad2e1755dceee3a3ccd191a99 (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
#
# Configuration for TV driver
#

config VIDEO_TVOUT
	bool "Samsung TVOUT Driver"
	depends on VIDEO_SAMSUNG
	default y
	---help---
	  This is a TVOUT driver for Samsung S5P platform

choice
depends on VIDEO_TVOUT
prompt "Select default audio channel"
default VIDEO_TVOUT_2CH_AUDIO
config VIDEO_TVOUT_2CH_AUDIO
	bool "2ch audio mode"
	depends on VIDEO_TVOUT
	---help---
	  TV out supports 2 channel audio

config VIDEO_TVOUT_5_1CH_AUDIO
	bool "5.1ch audio mode"
	depends on VIDEO_TVOUT
	---help---
	  TV out supports 5.1 channel audio
endchoice

config HDMI_CEC
	bool "HDMI CEC driver support."
	depends on VIDEO_TVOUT && ARCH_EXYNOS4
	default n
	---help---
	  This is a HDMI CEC driver for Samsung S5P platform.
	  Check dev node (major 10, minor 242)

config HDMI_EARJACK_MUTE
	bool "HDMI Earjack support"
	depends on VIDEO_TVOUT
	default n
	---help---
	  Say y here if you intend to provide sysfs interface for audio
	  framework to control HDMI audio. Android audio framework will
	  refer to the following node:
	  "sys/class/hdmi_audio/hdmi_audio/hdmi_audio_set_ext"

config HDMI_HPD
	bool "HDMI HPD driver support."
	depends on VIDEO_TVOUT && ARCH_EXYNOS4
	default y
	---help---
	  This is a HDMI HPD driver for Samsung S5P platform.
	  Check dev node (major 10, minor 243)

config HDMI_CONTROLLED_BY_EXT_IC
	bool "External HDMI related IC support"
	depends on HDMI_HPD
	default n
	---help---
	  Say y here if the H/W has external IC to control HDMI hpd and
	  it needs to be controlled by HPD interrupt.
	  For example, the H/W has HDMI level shifter then it should be turned
	  on when HPD interrupt comes.

config HDMI_TX_STRENGTH
	bool "Tuning TX amplitude"
	depends on VIDEO_TVOUT && ARCH_EXYNOS4
	default n
	---help---
	  Say y here if the H/W needs to be tuned for TX amplitude.
	  HDMI driver will take the values registered at board file
	  and apply them through HDMI phy i2c according to the requested
	  channel number.

config HDMI_SWITCH_HPD
	bool "HDMI HPD switch uevent driver support"
	depends on HDMI_HPD
	default y
	---help---
	  Say y here if you intend to use switch uevent instaed of
	  costumized kobject uevent. Android framework will refer to
	  the following device node to get HPD event:
	  "/sys/devices/virtual/switch/hdmi/state"

config HDMI_14A_3D
	bool "HDMI 14A driver support."
	depends on VIDEO_TVOUT && ARCH_EXYNOS4 && CPU_EXYNOS4212
	default y
	---help---
	  This is a HDMI 1.4A 3D driver for Samsung S5P platform.

config HDMI_PHY_32N
	bool "HDMI PHY 32N driver support."
	depends on VIDEO_TVOUT && HDMI_14A_3D && ARCH_EXYNOS4
	default y
	---help---
	  This is a HDMI PHY version for Samsung S5P platform.

config ANALOG_TVENC
	bool "Analog driver support."
	depends on VIDEO_TVOUT && ARCH_EXYNOS4 && CPU_EXYNOS4210
	default n
	---help---
	  This is a analog TVENC driver for Samsung S5P platform.

config VPLL_USE_FOR_TVENC
	bool "VPLL use for TVENC."
	depends on VIDEO_TVOUT && ANALOG_TVENC && ARCH_EXYNOS4
	default n
	---help---
	  This is a VPLL use of TVENC for Samsung S5P platform.

config TV_FB
	bool "TVOUT frame buffer driver support."
	select FB_CFB_FILLRECT
	select FB_CFB_COPYAREA
	select FB_CFB_IMAGEBLIT

	depends on VIDEO_TVOUT && FB && ARCH_EXYNOS4
	default y
	---help---

config USER_ALLOC_TVOUT
	bool "Support pre allocated frame buffer memory."
	depends on VIDEO_TVOUT && TV_FB
	default y
	---help---
	  TV Driver doesn't allocate memory for frame buffer.
	  So, before enabling TV out, the frame buffer should be allocated.

config TV_FB_NUM
	int "Index of TVOUT frame buffer"
	depends on VIDEO_TVOUT && TV_FB && !USER_ALLOC_TVOUT
	default 5
	---help---

config LSI_HDMI_AUDIO_CH_EVENT
	bool "Support uevent of multi-channel audio info for hdmi"
	default n
	---help---
	  receive audio channel info from platform using ioctl.
	  	#define AUDIO_CH_SET_STATE _IOR('H', 101, unsigned int)
	  and send this to platform using uevent
	  	audio_ch_switch.name = "hdmi_audio_ch";

config TV_DEBUG
	bool "TVOUT driver debug message"
	depends on VIDEO_TVOUT
	default n

config VP_DEBUG
	bool "Video Processor debug message"
	depends on TV_DEBUG
	default n

config MIXER_DEBUG
	bool "Mixer debug message"
	depends on TV_DEBUG
	default n

config HDMI_DEBUG
	bool "HDMI debug message"
	depends on TV_DEBUG
	default n

config SDO_DEBUG
	bool "SDO(Composite) debug message"
	depends on TV_DEBUG
	default n

config HDCP_DEBUG
	bool "HDCP debug message"
	depends on TV_DEBUG
	default n

config CEC_DEBUG
	bool "CEC debug message"
	depends on TV_DEBUG
	default n

config HPD_DEBUG
	bool "HPD debug message"
	depends on TV_DEBUG
	default n