diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-14 16:15:52 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-15 15:42:46 -0400 |
commit | 2a2d1cf46500ab7599d0b45ee837f3936763ccac (patch) | |
tree | e21c493977601e02e0425a120795218a58e4c88d /drivers | |
parent | cb7a01ac324bf2ee2c666f37ac867e4135f9785a (diff) |
[media] move soc_camera i2c drivers into its own dir
Move all soc_camera i2c drivers into drivers/media/i2c/soc_camera/.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/i2c/Kconfig | 4 | ||||
-rw-r--r-- | drivers/media/i2c/Makefile | 1 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/Kconfig | 89 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/Makefile | 14 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/imx074.c (renamed from drivers/media/video/imx074.c) | 0 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/mt9m001.c (renamed from drivers/media/video/mt9m001.c) | 0 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/mt9m111.c (renamed from drivers/media/video/mt9m111.c) | 0 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/mt9t031.c (renamed from drivers/media/video/mt9t031.c) | 0 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/mt9t112.c (renamed from drivers/media/video/mt9t112.c) | 0 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/mt9v022.c (renamed from drivers/media/video/mt9v022.c) | 0 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/ov2640.c (renamed from drivers/media/video/ov2640.c) | 0 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/ov5642.c (renamed from drivers/media/video/ov5642.c) | 0 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/ov6650.c (renamed from drivers/media/video/ov6650.c) | 0 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/ov772x.c (renamed from drivers/media/video/ov772x.c) | 0 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/ov9640.c (renamed from drivers/media/video/ov9640.c) | 0 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/ov9640.h (renamed from drivers/media/video/ov9640.h) | 0 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/ov9740.c (renamed from drivers/media/video/ov9740.c) | 0 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/rj54n1cb0c.c (renamed from drivers/media/video/rj54n1cb0c.c) | 0 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/sh_mobile_csi2.c (renamed from drivers/media/video/sh_mobile_csi2.c) | 0 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/soc_camera.c (renamed from drivers/media/video/soc_camera.c) | 0 | ||||
-rw-r--r-- | drivers/media/i2c/soc_camera/tw9910.c (renamed from drivers/media/video/tw9910.c) | 0 | ||||
-rw-r--r-- | drivers/media/video/Kconfig | 87 | ||||
-rw-r--r-- | drivers/media/video/Makefile | 16 |
23 files changed, 109 insertions, 102 deletions
diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 1c677f5e3a1a..7fe4acf2f80b 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig | |||
@@ -562,5 +562,9 @@ config VIDEO_M52790 | |||
562 | To compile this driver as a module, choose M here: the | 562 | To compile this driver as a module, choose M here: the |
563 | module will be called m52790. | 563 | module will be called m52790. |
564 | 564 | ||
565 | if SOC_CAMERA | ||
566 | source "drivers/media/i2c/soc_camera/Kconfig" | ||
567 | endif | ||
568 | |||
565 | endmenu | 569 | endmenu |
566 | endif | 570 | endif |
diff --git a/drivers/media/i2c/Makefile b/drivers/media/i2c/Makefile index 93e8c1439596..088a46015605 100644 --- a/drivers/media/i2c/Makefile +++ b/drivers/media/i2c/Makefile | |||
@@ -4,6 +4,7 @@ obj-$(CONFIG_VIDEO_MSP3400) += msp3400.o | |||
4 | obj-$(CONFIG_VIDEO_SMIAPP) += smiapp/ | 4 | obj-$(CONFIG_VIDEO_SMIAPP) += smiapp/ |
5 | obj-$(CONFIG_VIDEO_CX25840) += cx25840/ | 5 | obj-$(CONFIG_VIDEO_CX25840) += cx25840/ |
6 | obj-$(CONFIG_VIDEO_M5MOLS) += m5mols/ | 6 | obj-$(CONFIG_VIDEO_M5MOLS) += m5mols/ |
7 | obj-y += soc_camera/ | ||
7 | 8 | ||
8 | obj-$(CONFIG_VIDEO_APTINA_PLL) += aptina-pll.o | 9 | obj-$(CONFIG_VIDEO_APTINA_PLL) += aptina-pll.o |
9 | obj-$(CONFIG_VIDEO_TVAUDIO) += tvaudio.o | 10 | obj-$(CONFIG_VIDEO_TVAUDIO) += tvaudio.o |
diff --git a/drivers/media/i2c/soc_camera/Kconfig b/drivers/media/i2c/soc_camera/Kconfig new file mode 100644 index 000000000000..73fe21d1b2df --- /dev/null +++ b/drivers/media/i2c/soc_camera/Kconfig | |||
@@ -0,0 +1,89 @@ | |||
1 | comment "soc_camera sensor drivers" | ||
2 | |||
3 | config SOC_CAMERA_IMX074 | ||
4 | tristate "imx074 support" | ||
5 | depends on SOC_CAMERA && I2C | ||
6 | help | ||
7 | This driver supports IMX074 cameras from Sony | ||
8 | |||
9 | config SOC_CAMERA_MT9M001 | ||
10 | tristate "mt9m001 support" | ||
11 | depends on SOC_CAMERA && I2C | ||
12 | select GPIO_PCA953X if MT9M001_PCA9536_SWITCH | ||
13 | help | ||
14 | This driver supports MT9M001 cameras from Micron, monochrome | ||
15 | and colour models. | ||
16 | |||
17 | config SOC_CAMERA_MT9M111 | ||
18 | tristate "mt9m111, mt9m112 and mt9m131 support" | ||
19 | depends on SOC_CAMERA && I2C | ||
20 | help | ||
21 | This driver supports MT9M111, MT9M112 and MT9M131 cameras from | ||
22 | Micron/Aptina | ||
23 | |||
24 | config SOC_CAMERA_MT9T031 | ||
25 | tristate "mt9t031 support" | ||
26 | depends on SOC_CAMERA && I2C | ||
27 | help | ||
28 | This driver supports MT9T031 cameras from Micron. | ||
29 | |||
30 | config SOC_CAMERA_MT9T112 | ||
31 | tristate "mt9t112 support" | ||
32 | depends on SOC_CAMERA && I2C | ||
33 | help | ||
34 | This driver supports MT9T112 cameras from Aptina. | ||
35 | |||
36 | config SOC_CAMERA_MT9V022 | ||
37 | tristate "mt9v022 support" | ||
38 | depends on SOC_CAMERA && I2C | ||
39 | select GPIO_PCA953X if MT9V022_PCA9536_SWITCH | ||
40 | help | ||
41 | This driver supports MT9V022 cameras from Micron | ||
42 | |||
43 | config SOC_CAMERA_OV2640 | ||
44 | tristate "ov2640 camera support" | ||
45 | depends on SOC_CAMERA && I2C | ||
46 | help | ||
47 | This is a ov2640 camera driver | ||
48 | |||
49 | config SOC_CAMERA_OV5642 | ||
50 | tristate "ov5642 camera support" | ||
51 | depends on SOC_CAMERA && I2C | ||
52 | help | ||
53 | This is a V4L2 camera driver for the OmniVision OV5642 sensor | ||
54 | |||
55 | config SOC_CAMERA_OV6650 | ||
56 | tristate "ov6650 sensor support" | ||
57 | depends on SOC_CAMERA && I2C | ||
58 | ---help--- | ||
59 | This is a V4L2 SoC camera driver for the OmniVision OV6650 sensor | ||
60 | |||
61 | config SOC_CAMERA_OV772X | ||
62 | tristate "ov772x camera support" | ||
63 | depends on SOC_CAMERA && I2C | ||
64 | help | ||
65 | This is a ov772x camera driver | ||
66 | |||
67 | config SOC_CAMERA_OV9640 | ||
68 | tristate "ov9640 camera support" | ||
69 | depends on SOC_CAMERA && I2C | ||
70 | help | ||
71 | This is a ov9640 camera driver | ||
72 | |||
73 | config SOC_CAMERA_OV9740 | ||
74 | tristate "ov9740 camera support" | ||
75 | depends on SOC_CAMERA && I2C | ||
76 | help | ||
77 | This is a ov9740 camera driver | ||
78 | |||
79 | config SOC_CAMERA_RJ54N1 | ||
80 | tristate "rj54n1cb0c support" | ||
81 | depends on SOC_CAMERA && I2C | ||
82 | help | ||
83 | This is a rj54n1cb0c video driver | ||
84 | |||
85 | config SOC_CAMERA_TW9910 | ||
86 | tristate "tw9910 support" | ||
87 | depends on SOC_CAMERA && I2C | ||
88 | help | ||
89 | This is a tw9910 video driver | ||
diff --git a/drivers/media/i2c/soc_camera/Makefile b/drivers/media/i2c/soc_camera/Makefile new file mode 100644 index 000000000000..d0421feaa796 --- /dev/null +++ b/drivers/media/i2c/soc_camera/Makefile | |||
@@ -0,0 +1,14 @@ | |||
1 | obj-$(CONFIG_SOC_CAMERA_IMX074) += imx074.o | ||
2 | obj-$(CONFIG_SOC_CAMERA_MT9M001) += mt9m001.o | ||
3 | obj-$(CONFIG_SOC_CAMERA_MT9M111) += mt9m111.o | ||
4 | obj-$(CONFIG_SOC_CAMERA_MT9T031) += mt9t031.o | ||
5 | obj-$(CONFIG_SOC_CAMERA_MT9T112) += mt9t112.o | ||
6 | obj-$(CONFIG_SOC_CAMERA_MT9V022) += mt9v022.o | ||
7 | obj-$(CONFIG_SOC_CAMERA_OV2640) += ov2640.o | ||
8 | obj-$(CONFIG_SOC_CAMERA_OV5642) += ov5642.o | ||
9 | obj-$(CONFIG_SOC_CAMERA_OV6650) += ov6650.o | ||
10 | obj-$(CONFIG_SOC_CAMERA_OV772X) += ov772x.o | ||
11 | obj-$(CONFIG_SOC_CAMERA_OV9640) += ov9640.o | ||
12 | obj-$(CONFIG_SOC_CAMERA_OV9740) += ov9740.o | ||
13 | obj-$(CONFIG_SOC_CAMERA_RJ54N1) += rj54n1cb0c.o | ||
14 | obj-$(CONFIG_SOC_CAMERA_TW9910) += tw9910.o | ||
diff --git a/drivers/media/video/imx074.c b/drivers/media/i2c/soc_camera/imx074.c index 351e9bafe8fe..351e9bafe8fe 100644 --- a/drivers/media/video/imx074.c +++ b/drivers/media/i2c/soc_camera/imx074.c | |||
diff --git a/drivers/media/video/mt9m001.c b/drivers/media/i2c/soc_camera/mt9m001.c index 00583f5fd26b..00583f5fd26b 100644 --- a/drivers/media/video/mt9m001.c +++ b/drivers/media/i2c/soc_camera/mt9m001.c | |||
diff --git a/drivers/media/video/mt9m111.c b/drivers/media/i2c/soc_camera/mt9m111.c index 863d722dda06..863d722dda06 100644 --- a/drivers/media/video/mt9m111.c +++ b/drivers/media/i2c/soc_camera/mt9m111.c | |||
diff --git a/drivers/media/video/mt9t031.c b/drivers/media/i2c/soc_camera/mt9t031.c index 1415074138a5..1415074138a5 100644 --- a/drivers/media/video/mt9t031.c +++ b/drivers/media/i2c/soc_camera/mt9t031.c | |||
diff --git a/drivers/media/video/mt9t112.c b/drivers/media/i2c/soc_camera/mt9t112.c index e1ae46a7ee96..e1ae46a7ee96 100644 --- a/drivers/media/video/mt9t112.c +++ b/drivers/media/i2c/soc_camera/mt9t112.c | |||
diff --git a/drivers/media/video/mt9v022.c b/drivers/media/i2c/soc_camera/mt9v022.c index 72479247522a..72479247522a 100644 --- a/drivers/media/video/mt9v022.c +++ b/drivers/media/i2c/soc_camera/mt9v022.c | |||
diff --git a/drivers/media/video/ov2640.c b/drivers/media/i2c/soc_camera/ov2640.c index 7c44d1fe3c87..7c44d1fe3c87 100644 --- a/drivers/media/video/ov2640.c +++ b/drivers/media/i2c/soc_camera/ov2640.c | |||
diff --git a/drivers/media/video/ov5642.c b/drivers/media/i2c/soc_camera/ov5642.c index 0bc93313d37a..0bc93313d37a 100644 --- a/drivers/media/video/ov5642.c +++ b/drivers/media/i2c/soc_camera/ov5642.c | |||
diff --git a/drivers/media/video/ov6650.c b/drivers/media/i2c/soc_camera/ov6650.c index 3e028b1970dd..3e028b1970dd 100644 --- a/drivers/media/video/ov6650.c +++ b/drivers/media/i2c/soc_camera/ov6650.c | |||
diff --git a/drivers/media/video/ov772x.c b/drivers/media/i2c/soc_camera/ov772x.c index 6d79b89b8603..6d79b89b8603 100644 --- a/drivers/media/video/ov772x.c +++ b/drivers/media/i2c/soc_camera/ov772x.c | |||
diff --git a/drivers/media/video/ov9640.c b/drivers/media/i2c/soc_camera/ov9640.c index 9ed4ba4236c4..9ed4ba4236c4 100644 --- a/drivers/media/video/ov9640.c +++ b/drivers/media/i2c/soc_camera/ov9640.c | |||
diff --git a/drivers/media/video/ov9640.h b/drivers/media/i2c/soc_camera/ov9640.h index 6b33a972c83c..6b33a972c83c 100644 --- a/drivers/media/video/ov9640.h +++ b/drivers/media/i2c/soc_camera/ov9640.h | |||
diff --git a/drivers/media/video/ov9740.c b/drivers/media/i2c/soc_camera/ov9740.c index 3eb07c22516e..3eb07c22516e 100644 --- a/drivers/media/video/ov9740.c +++ b/drivers/media/i2c/soc_camera/ov9740.c | |||
diff --git a/drivers/media/video/rj54n1cb0c.c b/drivers/media/i2c/soc_camera/rj54n1cb0c.c index f6419b22c258..f6419b22c258 100644 --- a/drivers/media/video/rj54n1cb0c.c +++ b/drivers/media/i2c/soc_camera/rj54n1cb0c.c | |||
diff --git a/drivers/media/video/sh_mobile_csi2.c b/drivers/media/i2c/soc_camera/sh_mobile_csi2.c index 05286500b4d4..05286500b4d4 100644 --- a/drivers/media/video/sh_mobile_csi2.c +++ b/drivers/media/i2c/soc_camera/sh_mobile_csi2.c | |||
diff --git a/drivers/media/video/soc_camera.c b/drivers/media/i2c/soc_camera/soc_camera.c index 9758217470f0..9758217470f0 100644 --- a/drivers/media/video/soc_camera.c +++ b/drivers/media/i2c/soc_camera/soc_camera.c | |||
diff --git a/drivers/media/video/tw9910.c b/drivers/media/i2c/soc_camera/tw9910.c index 9f53eacb66e3..9f53eacb66e3 100644 --- a/drivers/media/video/tw9910.c +++ b/drivers/media/i2c/soc_camera/tw9910.c | |||
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index f2171e777dd3..28b25bf35805 100644 --- a/drivers/media/video/Kconfig +++ b/drivers/media/video/Kconfig | |||
@@ -127,57 +127,6 @@ config SOC_CAMERA | |||
127 | over a bus like PCI or USB. For example some i2c camera connected | 127 | over a bus like PCI or USB. For example some i2c camera connected |
128 | directly to the data bus of an SoC. | 128 | directly to the data bus of an SoC. |
129 | 129 | ||
130 | config SOC_CAMERA_IMX074 | ||
131 | tristate "imx074 support" | ||
132 | depends on SOC_CAMERA && I2C | ||
133 | help | ||
134 | This driver supports IMX074 cameras from Sony | ||
135 | |||
136 | config SOC_CAMERA_MT9M001 | ||
137 | tristate "mt9m001 support" | ||
138 | depends on SOC_CAMERA && I2C | ||
139 | select GPIO_PCA953X if MT9M001_PCA9536_SWITCH | ||
140 | help | ||
141 | This driver supports MT9M001 cameras from Micron, monochrome | ||
142 | and colour models. | ||
143 | |||
144 | config SOC_CAMERA_MT9M111 | ||
145 | tristate "mt9m111, mt9m112 and mt9m131 support" | ||
146 | depends on SOC_CAMERA && I2C | ||
147 | help | ||
148 | This driver supports MT9M111, MT9M112 and MT9M131 cameras from | ||
149 | Micron/Aptina | ||
150 | |||
151 | config SOC_CAMERA_MT9T031 | ||
152 | tristate "mt9t031 support" | ||
153 | depends on SOC_CAMERA && I2C | ||
154 | help | ||
155 | This driver supports MT9T031 cameras from Micron. | ||
156 | |||
157 | config SOC_CAMERA_MT9T112 | ||
158 | tristate "mt9t112 support" | ||
159 | depends on SOC_CAMERA && I2C | ||
160 | help | ||
161 | This driver supports MT9T112 cameras from Aptina. | ||
162 | |||
163 | config SOC_CAMERA_MT9V022 | ||
164 | tristate "mt9v022 support" | ||
165 | depends on SOC_CAMERA && I2C | ||
166 | select GPIO_PCA953X if MT9V022_PCA9536_SWITCH | ||
167 | help | ||
168 | This driver supports MT9V022 cameras from Micron | ||
169 | |||
170 | config SOC_CAMERA_RJ54N1 | ||
171 | tristate "rj54n1cb0c support" | ||
172 | depends on SOC_CAMERA && I2C | ||
173 | help | ||
174 | This is a rj54n1cb0c video driver | ||
175 | |||
176 | config SOC_CAMERA_TW9910 | ||
177 | tristate "tw9910 support" | ||
178 | depends on SOC_CAMERA && I2C | ||
179 | help | ||
180 | This is a tw9910 video driver | ||
181 | 130 | ||
182 | config SOC_CAMERA_PLATFORM | 131 | config SOC_CAMERA_PLATFORM |
183 | tristate "platform camera support" | 132 | tristate "platform camera support" |
@@ -185,42 +134,6 @@ config SOC_CAMERA_PLATFORM | |||
185 | help | 134 | help |
186 | This is a generic SoC camera platform driver, useful for testing | 135 | This is a generic SoC camera platform driver, useful for testing |
187 | 136 | ||
188 | config SOC_CAMERA_OV2640 | ||
189 | tristate "ov2640 camera support" | ||
190 | depends on SOC_CAMERA && I2C | ||
191 | help | ||
192 | This is a ov2640 camera driver | ||
193 | |||
194 | config SOC_CAMERA_OV5642 | ||
195 | tristate "ov5642 camera support" | ||
196 | depends on SOC_CAMERA && I2C | ||
197 | help | ||
198 | This is a V4L2 camera driver for the OmniVision OV5642 sensor | ||
199 | |||
200 | config SOC_CAMERA_OV6650 | ||
201 | tristate "ov6650 sensor support" | ||
202 | depends on SOC_CAMERA && I2C | ||
203 | ---help--- | ||
204 | This is a V4L2 SoC camera driver for the OmniVision OV6650 sensor | ||
205 | |||
206 | config SOC_CAMERA_OV772X | ||
207 | tristate "ov772x camera support" | ||
208 | depends on SOC_CAMERA && I2C | ||
209 | help | ||
210 | This is a ov772x camera driver | ||
211 | |||
212 | config SOC_CAMERA_OV9640 | ||
213 | tristate "ov9640 camera support" | ||
214 | depends on SOC_CAMERA && I2C | ||
215 | help | ||
216 | This is a ov9640 camera driver | ||
217 | |||
218 | config SOC_CAMERA_OV9740 | ||
219 | tristate "ov9740 camera support" | ||
220 | depends on SOC_CAMERA && I2C | ||
221 | help | ||
222 | This is a ov9740 camera driver | ||
223 | |||
224 | config MX1_VIDEO | 137 | config MX1_VIDEO |
225 | bool | 138 | bool |
226 | 139 | ||
diff --git a/drivers/media/video/Makefile b/drivers/media/video/Makefile index 52a04faa60e8..b3effdc65f76 100644 --- a/drivers/media/video/Makefile +++ b/drivers/media/video/Makefile | |||
@@ -6,21 +6,6 @@ omap2cam-objs := omap24xxcam.o omap24xxcam-dma.o | |||
6 | 6 | ||
7 | obj-$(CONFIG_VIDEO_VINO) += indycam.o | 7 | obj-$(CONFIG_VIDEO_VINO) += indycam.o |
8 | 8 | ||
9 | obj-$(CONFIG_SOC_CAMERA_IMX074) += imx074.o | ||
10 | obj-$(CONFIG_SOC_CAMERA_MT9M001) += mt9m001.o | ||
11 | obj-$(CONFIG_SOC_CAMERA_MT9M111) += mt9m111.o | ||
12 | obj-$(CONFIG_SOC_CAMERA_MT9T031) += mt9t031.o | ||
13 | obj-$(CONFIG_SOC_CAMERA_MT9T112) += mt9t112.o | ||
14 | obj-$(CONFIG_SOC_CAMERA_MT9V022) += mt9v022.o | ||
15 | obj-$(CONFIG_SOC_CAMERA_OV2640) += ov2640.o | ||
16 | obj-$(CONFIG_SOC_CAMERA_OV5642) += ov5642.o | ||
17 | obj-$(CONFIG_SOC_CAMERA_OV6650) += ov6650.o | ||
18 | obj-$(CONFIG_SOC_CAMERA_OV772X) += ov772x.o | ||
19 | obj-$(CONFIG_SOC_CAMERA_OV9640) += ov9640.o | ||
20 | obj-$(CONFIG_SOC_CAMERA_OV9740) += ov9740.o | ||
21 | obj-$(CONFIG_SOC_CAMERA_RJ54N1) += rj54n1cb0c.o | ||
22 | obj-$(CONFIG_SOC_CAMERA_TW9910) += tw9910.o | ||
23 | |||
24 | obj-$(CONFIG_VIDEO_VINO) += vino.o | 9 | obj-$(CONFIG_VIDEO_VINO) += vino.o |
25 | obj-$(CONFIG_VIDEO_TIMBERDALE) += timblogiw.o | 10 | obj-$(CONFIG_VIDEO_TIMBERDALE) += timblogiw.o |
26 | 11 | ||
@@ -78,3 +63,4 @@ obj-$(CONFIG_ARCH_OMAP) += omap/ | |||
78 | ccflags-y += -I$(srctree)/drivers/media/dvb-core | 63 | ccflags-y += -I$(srctree)/drivers/media/dvb-core |
79 | ccflags-y += -I$(srctree)/drivers/media/dvb-frontends | 64 | ccflags-y += -I$(srctree)/drivers/media/dvb-frontends |
80 | ccflags-y += -I$(srctree)/drivers/media/tuners | 65 | ccflags-y += -I$(srctree)/drivers/media/tuners |
66 | ccflags-y += -I$(srctree)/drivers/media/i2c/soc_camera | ||