aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorVaibhav Hiremath <hvaibhav@ti.com>2010-06-12 08:09:56 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 14:30:36 -0400
commit540069010decbf1723494fea5e6896debe4b5891 (patch)
tree72fa1ec0a5850cdf9357c07d688460b9e5cd4d2a /drivers/media
parenta04b75410a15f5e2f136620a08da7ff3ee2dc7d9 (diff)
V4L/DVB: vpfe_capture: Create separate Kconfig file for davinci devices
Currently VPFE Capture driver and DM6446 CCDC driver is being reused for AM3517. So this patch is preparing the Kconfig/makefile for re-use of such IP's. Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: Muralidharan Karicheri <mkaricheri@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/Kconfig61
-rw-r--r--drivers/media/video/Makefile2
-rw-r--r--drivers/media/video/davinci/Kconfig93
3 files changed, 95 insertions, 61 deletions
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
index 686fa7ada85b..280e76af6daa 100644
--- a/drivers/media/video/Kconfig
+++ b/drivers/media/video/Kconfig
@@ -571,66 +571,7 @@ config VIDEO_VIVI
571 Say Y here if you want to test video apps or debug V4L devices. 571 Say Y here if you want to test video apps or debug V4L devices.
572 In doubt, say N. 572 In doubt, say N.
573 573
574config VIDEO_VPSS_SYSTEM 574source "drivers/media/video/davinci/Kconfig"
575 tristate "VPSS System module driver"
576 depends on ARCH_DAVINCI
577 help
578 Support for vpss system module for video driver
579
580config VIDEO_VPFE_CAPTURE
581 tristate "VPFE Video Capture Driver"
582 depends on VIDEO_V4L2 && ARCH_DAVINCI
583 select VIDEOBUF_DMA_CONTIG
584 help
585 Support for DMXXXX VPFE based frame grabber. This is the
586 common V4L2 module for following DMXXX SoCs from Texas
587 Instruments:- DM6446 & DM355.
588
589 To compile this driver as a module, choose M here: the
590 module will be called vpfe-capture.
591
592config VIDEO_DM6446_CCDC
593 tristate "DM6446 CCDC HW module"
594 depends on ARCH_DAVINCI_DM644x && VIDEO_VPFE_CAPTURE
595 select VIDEO_VPSS_SYSTEM
596 default y
597 help
598 Enables DaVinci CCD hw module. DaVinci CCDC hw interfaces
599 with decoder modules such as TVP5146 over BT656 or
600 sensor module such as MT9T001 over a raw interface. This
601 module configures the interface and CCDC/ISIF to do
602 video frame capture from slave decoders.
603
604 To compile this driver as a module, choose M here: the
605 module will be called vpfe.
606
607config VIDEO_DM355_CCDC
608 tristate "DM355 CCDC HW module"
609 depends on ARCH_DAVINCI_DM355 && VIDEO_VPFE_CAPTURE
610 select VIDEO_VPSS_SYSTEM
611 default y
612 help
613 Enables DM355 CCD hw module. DM355 CCDC hw interfaces
614 with decoder modules such as TVP5146 over BT656 or
615 sensor module such as MT9T001 over a raw interface. This
616 module configures the interface and CCDC/ISIF to do
617 video frame capture from a slave decoders
618
619 To compile this driver as a module, choose M here: the
620 module will be called vpfe.
621
622config VIDEO_ISIF
623 tristate "ISIF HW module"
624 depends on ARCH_DAVINCI_DM365 && VIDEO_VPFE_CAPTURE
625 select VIDEO_VPSS_SYSTEM
626 default y
627 help
628 Enables ISIF hw module. This is the hardware module for
629 configuring ISIF in VPFE to capture Raw Bayer RGB data from
630 a image sensor or YUV data from a YUV source.
631
632 To compile this driver as a module, choose M here: the
633 module will be called vpfe.
634 575
635source "drivers/media/video/omap/Kconfig" 576source "drivers/media/video/omap/Kconfig"
636 577
diff --git a/drivers/media/video/Makefile b/drivers/media/video/Makefile
index 2beb4e415e6b..ed370a9836cc 100644
--- a/drivers/media/video/Makefile
+++ b/drivers/media/video/Makefile
@@ -172,7 +172,7 @@ obj-$(CONFIG_VIDEO_SAA7164) += saa7164/
172 172
173obj-$(CONFIG_VIDEO_IR_I2C) += ir-kbd-i2c.o 173obj-$(CONFIG_VIDEO_IR_I2C) += ir-kbd-i2c.o
174 174
175obj-$(CONFIG_ARCH_DAVINCI) += davinci/ 175obj-y += davinci/
176 176
177obj-$(CONFIG_ARCH_OMAP) += omap/ 177obj-$(CONFIG_ARCH_OMAP) += omap/
178 178
diff --git a/drivers/media/video/davinci/Kconfig b/drivers/media/video/davinci/Kconfig
new file mode 100644
index 000000000000..6b1954035649
--- /dev/null
+++ b/drivers/media/video/davinci/Kconfig
@@ -0,0 +1,93 @@
1config DISPLAY_DAVINCI_DM646X_EVM
2 tristate "DM646x EVM Video Display"
3 depends on VIDEO_DEV && MACH_DAVINCI_DM6467_EVM
4 select VIDEOBUF_DMA_CONTIG
5 select VIDEO_DAVINCI_VPIF
6 select VIDEO_ADV7343
7 select VIDEO_THS7303
8 help
9 Support for DM6467 based display device.
10
11 To compile this driver as a module, choose M here: the
12 module will be called vpif_display.
13
14config CAPTURE_DAVINCI_DM646X_EVM
15 tristate "DM646x EVM Video Capture"
16 depends on VIDEO_DEV && MACH_DAVINCI_DM6467_EVM
17 select VIDEOBUF_DMA_CONTIG
18 select VIDEO_DAVINCI_VPIF
19 help
20 Support for DM6467 based capture device.
21
22 To compile this driver as a module, choose M here: the
23 module will be called vpif_capture.
24
25config VIDEO_DAVINCI_VPIF
26 tristate "DaVinci VPIF Driver"
27 depends on DISPLAY_DAVINCI_DM646X_EVM
28 help
29 Support for DaVinci VPIF Driver.
30
31 To compile this driver as a module, choose M here: the
32 module will be called vpif.
33
34config VIDEO_VPSS_SYSTEM
35 tristate "VPSS System module driver"
36 depends on ARCH_DAVINCI
37 help
38 Support for vpss system module for video driver
39
40config VIDEO_VPFE_CAPTURE
41 tristate "VPFE Video Capture Driver"
42 depends on VIDEO_V4L2 && (ARCH_DAVINCI || ARCH_OMAP3)
43 select VIDEOBUF_DMA_CONTIG
44 help
45 Support for DMx/AMx VPFE based frame grabber. This is the
46 common V4L2 module for following DMx/AMx SoCs from Texas
47 Instruments:- DM6446, DM365, DM355 & AM3517/05.
48
49 To compile this driver as a module, choose M here: the
50 module will be called vpfe-capture.
51
52config VIDEO_DM6446_CCDC
53 tristate "DM6446 CCDC HW module"
54 depends on VIDEO_VPFE_CAPTURE
55 select VIDEO_VPSS_SYSTEM
56 default y
57 help
58 Enables DaVinci CCD hw module. DaVinci CCDC hw interfaces
59 with decoder modules such as TVP5146 over BT656 or
60 sensor module such as MT9T001 over a raw interface. This
61 module configures the interface and CCDC/ISIF to do
62 video frame capture from slave decoders.
63
64 To compile this driver as a module, choose M here: the
65 module will be called vpfe.
66
67config VIDEO_DM355_CCDC
68 tristate "DM355 CCDC HW module"
69 depends on ARCH_DAVINCI_DM355 && VIDEO_VPFE_CAPTURE
70 select VIDEO_VPSS_SYSTEM
71 default y
72 help
73 Enables DM355 CCD hw module. DM355 CCDC hw interfaces
74 with decoder modules such as TVP5146 over BT656 or
75 sensor module such as MT9T001 over a raw interface. This
76 module configures the interface and CCDC/ISIF to do
77 video frame capture from a slave decoders
78
79 To compile this driver as a module, choose M here: the
80 module will be called vpfe.
81
82config VIDEO_ISIF
83 tristate "ISIF HW module"
84 depends on ARCH_DAVINCI_DM365 && VIDEO_VPFE_CAPTURE
85 select VIDEO_VPSS_SYSTEM
86 default y
87 help
88 Enables ISIF hw module. This is the hardware module for
89 configuring ISIF in VPFE to capture Raw Bayer RGB data from
90 a image sensor or YUV data from a YUV source.
91
92 To compile this driver as a module, choose M here: the
93 module will be called vpfe.