Commit cfe9dbd8 authored by Lad, Prabhakar's avatar Lad, Prabhakar Committed by Mauro Carvalho Chehab

[media] media: davinci: vpbe: enable building of vpbe driver for DM355 and DM365

This patch allows enabling building of VPBE display driver for DM365
and DM355. This also removes unnecessary entry VIDEO_DM644X_VPBE
in Kconfig, which could have been done with single entry, and
appropriate changes in Makefile for building.
Signed-off-by: default avatarLad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: default avatarManjunath Hadli <manjunath.hadli@ti.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent caff80c3
...@@ -97,25 +97,15 @@ config VIDEO_ISIF ...@@ -97,25 +97,15 @@ config VIDEO_ISIF
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called vpfe. module will be called vpfe.
config VIDEO_DM644X_VPBE config VIDEO_DAVINCI_VPBE_DISPLAY
tristate "DM644X VPBE HW module" tristate "DM644X/DM365/DM355 VPBE HW module"
depends on ARCH_DAVINCI_DM644x depends on ARCH_DAVINCI_DM644x || ARCH_DAVINCI_DM355 || ARCH_DAVINCI_DM365
select VIDEO_VPSS_SYSTEM select VIDEO_VPSS_SYSTEM
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
help help
Enables VPBE modules used for display on a DM644x Enables Davinci VPBE module used for display devices.
SoC. This module is common for following DM644x/DM365/DM355
based display devices.
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called vpbe. module will be called vpbe.
config VIDEO_VPBE_DISPLAY
tristate "VPBE V4L2 Display driver"
depends on ARCH_DAVINCI_DM644x
select VIDEO_DM644X_VPBE
help
Enables VPBE V4L2 Display driver on a DM644x device
To compile this driver as a module, choose M here: the
module will be called vpbe_display.
...@@ -16,5 +16,5 @@ obj-$(CONFIG_VIDEO_VPFE_CAPTURE) += vpfe_capture.o ...@@ -16,5 +16,5 @@ obj-$(CONFIG_VIDEO_VPFE_CAPTURE) += vpfe_capture.o
obj-$(CONFIG_VIDEO_DM6446_CCDC) += dm644x_ccdc.o obj-$(CONFIG_VIDEO_DM6446_CCDC) += dm644x_ccdc.o
obj-$(CONFIG_VIDEO_DM355_CCDC) += dm355_ccdc.o obj-$(CONFIG_VIDEO_DM355_CCDC) += dm355_ccdc.o
obj-$(CONFIG_VIDEO_ISIF) += isif.o obj-$(CONFIG_VIDEO_ISIF) += isif.o
obj-$(CONFIG_VIDEO_DM644X_VPBE) += vpbe.o vpbe_osd.o vpbe_venc.o obj-$(CONFIG_VIDEO_DAVINCI_VPBE_DISPLAY) += vpbe.o vpbe_osd.o \
obj-$(CONFIG_VIDEO_VPBE_DISPLAY) += vpbe_display.o vpbe_venc.o vpbe_display.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment