V4L/DVB (12177): dm646x: Add an entry for dm646x EVM card at building system
Chaithrika U S [Tue, 9 Jun 2009 09:38:58 +0000 (06:38 -0300)]
Makefile and Kconfig changes for DM646x Video Display device, using
davinci/vpif, adv7343 and ths7303 drivers.

Signed-off-by: Manjunath Hadli <mrh@ti.com>
Signed-off-by: Brijesh Jadav <brijesh.j@ti.com>
Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

drivers/media/video/Kconfig
drivers/media/video/Makefile
drivers/media/video/davinci/Makefile [new file with mode: 0644]

index e01b759..df20283 100644 (file)
@@ -493,6 +493,28 @@ config VIDEO_UPD64083
 
 endmenu # encoder / decoder chips
 
+config DISPLAY_DAVINCI_DM646X_EVM
+       tristate "DM646x EVM Video Display"
+       depends on VIDEO_DEV && MACH_DAVINCI_DM6467_EVM
+       select VIDEOBUF_DMA_CONTIG
+       select VIDEO_DAVINCI_VPIF
+       select VIDEO_ADV7343
+       select VIDEO_THS7303
+       help
+         Support for DaVinci based display device.
+
+         To compile this driver as a module, choose M here: the
+         module will be called davincihd_display.
+
+config VIDEO_DAVINCI_VPIF
+       tristate "DaVinci VPIF Driver"
+       depends on DISPLAY_DAVINCI_DM646X_EVM
+       help
+         Support for DaVinci VPIF Driver.
+
+         To compile this driver as a module, choose M here: the
+         module will be called vpif.
+
 config VIDEO_VIVI
        tristate "Virtual Video Driver"
        depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64
index 1dddea1..70804ca 100644 (file)
@@ -161,6 +161,8 @@ obj-$(CONFIG_VIDEO_SAA7164)     += saa7164/
 
 obj-$(CONFIG_VIDEO_IR_I2C)  += ir-kbd-i2c.o
 
+obj-$(CONFIG_ARCH_DAVINCI)     += davinci/
+
 EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core
 EXTRA_CFLAGS += -Idrivers/media/dvb/frontends
 EXTRA_CFLAGS += -Idrivers/media/common/tuners
diff --git a/drivers/media/video/davinci/Makefile b/drivers/media/video/davinci/Makefile
new file mode 100644 (file)
index 0000000..7fe9bce
--- /dev/null
@@ -0,0 +1,9 @@
+#
+# Makefile for the davinci video device drivers.
+#
+
+# VPIF
+obj-$(CONFIG_VIDEO_DAVINCI_VPIF) += vpif.o
+
+#DM646x EVM Display driver
+obj-$(CONFIG_DISPLAY_DAVINCI_DM646X_EVM) += vpif_display.o