aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/samsung/Kconfig
blob: 01232a0237ecd54528f407cfac3cb27e2b0b85c0 (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
config VIDEO_SAMSUNG
	bool "Samsung Multimedia Devices"
	depends on VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2
	select VIDEO_FIXED_MINOR_RANGES
	default n
	help
	  This is a representative video4linux configuration for Samsung multimedia devices.

config VIDEO_SAMSUNG_V4L2
	bool "V4L2 API for digital camera to be contributed by samsung"
	depends on VIDEO_DEV && VIDEO_SAMSUNG
	default n
	help
	  This feature is for new V4L2 APIs all about digital camera

if CPU_EXYNOS4210 || CPU_EXYNOS4212 || CPU_EXYNOS4412
	source "drivers/media/video/samsung/fimc/Kconfig"
	source "drivers/media/video/samsung/tvout/Kconfig"
	source "drivers/media/video/samsung/mfc5x/Kconfig"
	source "drivers/media/video/samsung/mali/Kconfig"
	source "drivers/media/video/samsung/ump/Kconfig"
endif

config VIDEO_FIMG2D
	bool
	depends on VIDEO_SAMSUNG
	default n

config VIDEO_FIMG2D_DEBUG
	bool
	depends on VIDEO_FIMG2D
	default n

if ARCH_EXYNOS5
source "drivers/media/video/samsung/fimg2d3x/Kconfig"
source "drivers/media/video/samsung/fimg2d4x/Kconfig"
endif

if ARCH_EXYNOS4
source "drivers/media/video/samsung/fimg2d3x-exynos4/Kconfig"
source "drivers/media/video/samsung/fimg2d4x-exynos4/Kconfig"
endif


if CPU_EXYNOS4210
	source "drivers/media/video/samsung/jpeg/Kconfig"
endif

if CPU_EXYNOS4212 || CPU_EXYNOS4412 || CPU_EXYNOS5250
	source "drivers/media/video/samsung/jpeg_v2x/Kconfig"
endif

if VIDEO_SAMSUNG
comment "Reserved memory configurations"
config VIDEO_SAMSUNG_USE_DMA_MEM
	bool "Use common contigouse dma memory for Multimedia devices"
	depends on SLP

config VIDEO_SAMSUNG_MEMSIZE_DMA
	int "Memory size in kbytes for DMA"
	depends on VIDEO_SAMSUNG_USE_DMA_MEM
	default "5120"

config VIDEO_SAMSUNG_MEMSIZE_FIMC0
	int "Memory size in kbytes for FIMC0"
	depends on VIDEO_FIMC || VIDEO_SAMSUNG_S5P_FIMC
	default "5120"

config VIDEO_SAMSUNG_MEMSIZE_FIMC1
	int "Memory size in kbytes for FIMC1"
	depends on VIDEO_FIMC || VIDEO_SAMSUNG_S5P_FIMC
	default "5120"

config VIDEO_SAMSUNG_MEMSIZE_FIMC2
	int "Memory size in kbytes for FIMC2"
	depends on VIDEO_FIMC || VIDEO_SAMSUNG_S5P_FIMC
	default "5120"

config VIDEO_SAMSUNG_MEMSIZE_FIMC3
	int "Memory size in kbytes for FIMC3"
	depends on VIDEO_FIMC || VIDEO_SAMSUNG_S5P_FIMC
	default "0"

config VIDEO_SAMSUNG_MEMSIZE_MFC
	int "Memory size in kbytes for MFC"
	depends on VIDEO_MFC5X && (VIDEO_MFC_MEM_PORT_COUNT = 1) && (!EXYNOS_CONTENT_PATH_PROTECTION)
	default "65536"

config VIDEO_SAMSUNG_MEMSIZE_MFC0
	int "Memory size in kbytes for MFC port0"
	depends on VIDEO_MFC5X && (VIDEO_MFC_MEM_PORT_COUNT = 2) && (!EXYNOS_CONTENT_PATH_PROTECTION)
	default "41984"

config VIDEO_SAMSUNG_MEMSIZE_MFC1
	int "Memory size in kbytes for MFC port1"
	depends on VIDEO_MFC5X && (VIDEO_MFC_MEM_PORT_COUNT = 2) && (!EXYNOS_CONTENT_PATH_PROTECTION)
	default "41984"

config VIDEO_SAMSUNG_MEMSIZE_MFC_SECURE
	int "Memory size in kbytes for MFC Secure"
	depends on VIDEO_MFC5X && EXYNOS_CONTENT_PATH_PROTECTION
	default "41984"

config VIDEO_SAMSUNG_MEMSIZE_MFC_NORMAL
	int "Memory size in kbytes for MFC Normal"
	depends on VIDEO_MFC5X && EXYNOS_CONTENT_PATH_PROTECTION
	default "41984"

config VIDEO_SAMSUNG_MEMSIZE_JPEG
	int "Memory size in kbytes for JPEG"
	depends on VIDEO_JPEG || (VIDEO_JPEG_V2X && (CPU_EXYNOS4212 || CPU_EXYNOS4412))
	default "40960"

config VIDEO_SAMSUNG_MEMSIZE_TVOUT
	int "Memory size in kbytes for TVOUT"
	depends on VIDEO_TVOUT
	default "16384"
endif