Skip to content

Commit

Permalink
media: camss: Enable building
Browse files Browse the repository at this point in the history
Add Makefile and update platform/Kconfig and platform/Makefile
to enable building of the QCom CAMSS driver.

Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
  • Loading branch information
Todor Tomov authored and Mauro Carvalho Chehab committed Aug 26, 2017
1 parent a1d7c11 commit f5c0749
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/media/platform/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,13 @@ config VIDEO_PXA27x
---help---
This is a v4l2 driver for the PXA27x Quick Capture Interface

config VIDEO_QCOM_CAMSS
tristate "Qualcomm 8x16 V4L2 Camera Subsystem driver"
depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
select VIDEOBUF2_DMA_SG
select V4L2_FWNODE

config VIDEO_S3C_CAMIF
tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
Expand Down
2 changes: 2 additions & 0 deletions drivers/media/platform/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ obj-$(CONFIG_VIDEO_MEDIATEK_MDP) += mtk-mdp/

obj-$(CONFIG_VIDEO_MEDIATEK_JPEG) += mtk-jpeg/

obj-$(CONFIG_VIDEO_QCOM_CAMSS) += qcom/camss-8x16/

obj-$(CONFIG_VIDEO_QCOM_VENUS) += qcom/venus/

obj-y += meson/
11 changes: 11 additions & 0 deletions drivers/media/platform/qcom/camss-8x16/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Makefile for Qualcomm CAMSS driver

qcom-camss-objs += \
camss.o \
camss-csid.o \
camss-csiphy.o \
camss-ispif.o \
camss-vfe.o \
camss-video.o \

obj-$(CONFIG_VIDEO_QCOM_CAMSS) += qcom-camss.o

0 comments on commit f5c0749

Please sign in to comment.