summaryrefslogtreecommitdiff
path: root/drivers/media/video/mxc/capture/Kconfig
blob: a862636dbed0cb4ebe66ac3cc21adac7a39ee5e9 (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
if VIDEO_MXC_CAMERA

menu "MXC Camera/V4L2 PRP Features support"
config VIDEO_MXC_IPU_CAMERA
	bool
	depends on VIDEO_MXC_CAMERA && MXC_IPU
	default y

config VIDEO_MXC_EMMA_CAMERA
	tristate "MX27 eMMA support"
	depends on VIDEO_MXC_CAMERA && MXC_EMMA && FB_MXC_SYNC_PANEL
	select VIDEO_MXC_OPL
	default y

config VIDEO_MXC_CSI_CAMERA
	tristate "CSI camera support"
	depends on !VIDEO_MXC_EMMA_CAMERA

config VIDEO_MXC_CSI_DMA
	bool "CSI-DMA Still Image Capture support"
	depends on VIDEO_MXC_EMMA_CAMERA
	default n
	---help---
	  Use CSI-DMA method instead of CSI-PrP link to capture still image. This allows
	  to use less physical contiguous memory to capture big resolution still image. But
	  with this method the CSC (Color Space Conversion) and resize are not supported.
	  If unsure, say N.

config MXC_CAMERA_MC521DA
	tristate "Magnachip mc521da camera support"
	select I2C_MXC
	depends on VIDEO_MXC_EMMA_CAMERA
	select MXC_CAMERA_SENSOR_CLK
	---help---
	  If you plan to use the mc521da Camera with your MXC system, say Y here.

config MXC_EMMA_CAMERA_MICRON111
	tristate "Micron mt9v111 camera support with eMMA"
	select I2C_MXC
	depends on VIDEO_MXC_EMMA_CAMERA
	select MXC_CAMERA_SENSOR_CLK
	---help---
	  If you plan to use the mt9v111 Camera with your MXC system, say Y here.

config MXC_CAMERA_OV2640_EMMA
	tristate "OmniVision ov2640 camera support with eMMA"
	depends on VIDEO_MXC_EMMA_CAMERA
	select MXC_CAMERA_SENSOR_CLK
	---help---
	  If you plan to use the ov2640 Camera with your MXC system, say Y here.

config MXC_CAMERA_MICRON111
	tristate "Micron mt9v111 camera support"
	select I2C_MXC
	depends on ! VIDEO_MXC_EMMA_CAMERA
	select MXC_CAMERA_SENSOR_CLK
	---help---
	  If you plan to use the mt9v111 Camera with your MXC system, say Y here.

config MXC_CAMERA_OV2640
	tristate "OmniVision ov2640 camera support"
	depends on !VIDEO_MXC_EMMA_CAMERA
	select MXC_CAMERA_SENSOR_CLK
	---help---
	  If you plan to use the ov2640 Camera with your MXC system, say Y here.

config MXC_CAMERA_OV3640
	tristate "OmniVision ov3640 camera support"
	depends on !VIDEO_MXC_EMMA_CAMERA
	select MXC_CAMERA_SENSOR_CLK
	---help---
	  If you plan to use the ov3640 Camera with your MXC system, say Y here.

config MXC_CAMERA_OV5640
	tristate "OmniVision ov5640 camera support"
	depends on !VIDEO_MXC_EMMA_CAMERA
	select MXC_CAMERA_SENSOR_CLK
	---help---
	  If you plan to use the ov5640 Camera with your MXC system, say Y here.

config MXC_CAMERA_OV8820_MIPI
	tristate "OmniVision ov8820 camera support using mipi"
	depends on !VIDEO_MXC_EMMA_CAMERA
	depends on ARCH_MX6Q
	select MXC_MIPI_CSI2 if ARCH_MX6Q
	select MXC_CAMERA_SENSOR_CLK
	---help---
	  If you plan to use the ov8820 Camera with mipi interface in your MXC system, say Y here.

config MXC_CAMERA_OV5642
	tristate "OmniVision ov5642 camera support"
	depends on !VIDEO_MXC_EMMA_CAMERA
	select MXC_CAMERA_SENSOR_CLK
	---help---
	  If you plan to use the ov5642 Camera with your MXC system, say Y here.

config MXC_TVIN_ADV7180
	tristate "Analog Device adv7180 TV Decoder Input support"
	depends on (MACH_MX35_3DS || MACH_MX51_3DS || MACH_MX6Q_SABREAUTO || MACH_MX6Q_ARM2)
	---help---
	  If you plan to use the adv7180 video decoder with your MXC system, say Y here.


config MXC_CAMERA_OV5640_MIPI
	tristate "OmniVision ov5640 camera support using mipi"
	depends on !VIDEO_MXC_EMMA_CAMERA
	depends on ARCH_MX6Q
	select MXC_MIPI_CSI2 if ARCH_MX6Q
	select MXC_CAMERA_SENSOR_CLK
	---help---
	  If you plan to use the ov5640 Camera with mipi interface in your MXC system, say Y here.

config MXC_MIPI_CSI2_TVIN_ADV7280
	tristate "Analog Devices adv7280 TV Decoder Input support using mipi-csi2"
	depends on (!VIDEO_MXC_EMMA_CAMERA)
	depends on ARCH_MX6Q
	select MXC_MIPI_CSI2 if ARCH_MX6Q
	select MXC_CAMERA_SENSOR_CLK
	---help---
	  If you plan to use the adv7280 device with mipi-csi2 interface
	  in your iMX6 system, say Y here.

config MXC_CAMERA_SENSOR_CLK
	tristate "camera clock"
	depends on !VIDEO_MXC_EMMA_CAMERA
	---help---
	  If you plan to use the Camera with your MXC system, say Y here.

choice
	prompt "Select Overlay Rounting"
	default MXC_IPU_DEVICE_QUEUE_SDC
	depends on VIDEO_MXC_IPU_CAMERA && FB_MXC_SYNC_PANEL

config MXC_IPU_DEVICE_QUEUE_SDC
	tristate "Queue ipu device for overlay library"
	depends on VIDEO_MXC_IPU_CAMERA
	---help---
	  Use case CSI->MEM->IPU DEVICE->SDC:
		Images from sensor will be frist recieved in memory,then
		queue to ipu device for processing if needed, and displaying
		it on synchronous display with SDC use case.

config MXC_IPU_PRP_VF_SDC
	bool "Pre-Processor VF SDC library"
	depends on VIDEO_MXC_IPU_CAMERA
	---help---
	  Use case PRP_VF_SDC:
		Preprocessing image from smart sensor for viewfinder and
		displaying it on synchronous display with SDC use case.
		If SDC BG is selected, Rotation will not be supported.
		CSI -> IC (PRP VF) -> MEM
		MEM -> IC (ROT) -> MEM
		MEM -> SDC (FG/BG)

endchoice

config MXC_IPU_PRP_ENC
	tristate "Pre-processor Encoder library"
	depends on VIDEO_MXC_IPU_CAMERA
	default y
	---help---
	  Use case PRP_ENC:
		Preprocessing image from smart sensor for encoder.
		CSI -> IC (PRP ENC) -> MEM

config MXC_IPU_CSI_ENC
	tristate "IPU CSI Encoder library"
	depends on VIDEO_MXC_IPU_CAMERA
	default y
	---help---
	  Use case IPU_CSI_ENC:
		Get raw image with CSI from smart sensor for encoder.
		CSI -> MEM
endmenu

endif