aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/platform/hisi/isp/isp-cvdr.h
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2018-11-23 21:22:37 +0530
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2018-11-23 21:22:37 +0530
commite89b90550f3bfdf483d472e0723bcb8b57ecdd34 (patch)
tree640081094a96332d3a4b94732e881ed23e2c1a4c /drivers/media/platform/hisi/isp/isp-cvdr.h
parentd68335c072a803e002b21519e5ca27269e8a0bfe (diff)
download96b-common-e89b90550f3bfdf483d472e0723bcb8b57ecdd34.tar.gz
media: hisi: ISP: Add video device and some cleanupshikey_v4l2_4.15
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'drivers/media/platform/hisi/isp/isp-cvdr.h')
-rw-r--r--drivers/media/platform/hisi/isp/isp-cvdr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/platform/hisi/isp/isp-cvdr.h b/drivers/media/platform/hisi/isp/isp-cvdr.h
index 8824a7c39ba1..632284e635e6 100644
--- a/drivers/media/platform/hisi/isp/isp-cvdr.h
+++ b/drivers/media/platform/hisi/isp/isp-cvdr.h
@@ -13,9 +13,11 @@
#include <media/v4l2-mediabus.h>
#include <media/v4l2-subdev.h>
+#include "isp-video.h"
+
#define ISP_CVDR_PAD_SINK 0
#define ISP_CVDR_PAD_SRC 1
-#define ISP_CVDR_PADS_NUM 1
+#define ISP_CVDR_PADS_NUM 2
#define CVDR_SRT_CVDR_CFG_REG 0x0
#define CVDR_RT_CVDR_CFG_REG 0x0
@@ -937,6 +939,7 @@ struct cvdr_device {
void __iomem *cvdr_srt;
void __iomem *sub_ctrl;
unsigned int irq_vic1;
+ struct isp_video video_out;
};
int isp_cvdr_subdev_init(struct isp *isp,