summaryrefslogtreecommitdiff
path: root/drivers/media/video/mxc/capture/Kconfig
blob: 276dfa424febc292ea59c4f29e66398d72e37cb5 (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
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 "MX25 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.

choice
	prompt "Select Camera/TV Decoder"
	default MXC_CAMERA_OV3640
	depends on VIDEO_MXC_CAMERA

config MXC_CAMERA_MC521DA
	tristate "Magnachip mc521da camera support"
	select I2C_MXC
	depends on VIDEO_MXC_EMMA_CAMERA
	---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
	---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
	---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
	---help---
	  If you plan to use the mt9v111 Camera with your MXC system, say Y here.

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

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

config MXC_CAMERA_OV2640
	tristate "OmniVision ov2640 camera support"
	depends on !VIDEO_MXC_EMMA_CAMERA
	---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
	---help---
	  If you plan to use the ov3640 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)
	---help---
	  If you plan to use the adv7180 video decoder with your MXC system, say Y here.

endchoice

config MXC_IPU_PRP_VF_SDC
	tristate "Pre-Processor VF SDC library"
	depends on VIDEO_MXC_IPU_CAMERA && FB_MXC_SYNC_PANEL
	default y
	---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)

config MXC_IPU_PRP_VF_ADC
	tristate "Pre-Processor VF ADC library"
	depends on VIDEO_MXC_IPU_CAMERA && FB_MXC_ASYNC_PANEL
	default y
	---help---
	  Use case PRP_VF_ADC:
		Preprocessing image from smart sensor for viewfinder and
		displaying it on asynchronous display.
		CSI -> IC (PRP VF) -> ADC2

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