---help---
          Enable debug messages on VPE driver.
 
+config VIDEO_QCOM_VENUS
+       tristate "Qualcomm Venus V4L2 encoder/decoder driver"
+       depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
+       depends on ARCH_QCOM && IOMMU_DMA
+       select QCOM_MDT_LOADER
+       select VIDEOBUF2_DMA_SG
+       select V4L2_MEM2MEM_DEV
+       ---help---
+         This is a V4L2 driver for Qualcomm Venus video accelerator
+         hardware. It accelerates encoding and decoding operations
+         on various Qualcomm SoCs.
+         To compile this driver as a module choose m here.
+
 endif # V4L_MEM2MEM_DRIVERS
 
 # TI VIDEO PORT Helper Modules
 
--- /dev/null
+# Makefile for Qualcomm Venus driver
+
+venus-core-objs += core.o helpers.o firmware.o \
+                  hfi_venus.o hfi_msgs.o hfi_cmds.o hfi.o
+
+venus-dec-objs += vdec.o vdec_ctrls.o
+venus-enc-objs += venc.o venc_ctrls.o
+
+obj-$(CONFIG_VIDEO_QCOM_VENUS) += venus-core.o
+obj-$(CONFIG_VIDEO_QCOM_VENUS) += venus-dec.o
+obj-$(CONFIG_VIDEO_QCOM_VENUS) += venus-enc.o