From 0e9bc3045b0447f2780ab39cc8b3d446616ae088 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Sun, 23 Feb 2020 23:46:26 +0100 Subject: [PATCH] kernel: video: add OmniVision OV5647 sensor support MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This adds support for Video4Linux2 sensor driver for the OmniVision OV5647 camera module. Signed-off-by: Petr Å tetiar --- package/kernel/linux/modules/video.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk index d6ddaf8873..7d4e6e7ce3 100644 --- a/package/kernel/linux/modules/video.mk +++ b/package/kernel/linux/modules/video.mk @@ -10,6 +10,7 @@ VIDEO_MENU:=Video Support V4L2_DIR=v4l2-core V4L2_USB_DIR=usb +V4L2_I2C_DIR=i2c # # Video Display @@ -1030,3 +1031,18 @@ define KernelPackage/video-gspca-konica/description endef $(eval $(call KernelPackage,video-gspca-konica)) + + +define KernelPackage/video-ov5647 + TITLE:=OmniVision OV5647 sensor support + KCONFIG:=CONFIG_VIDEO_OV5647 + FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_I2C_DIR)/ov5647.ko + AUTOLOAD:=$(call AutoProbe,ov5647) + $(call AddDepends/video) +endef + +define KernelPackage/video-ov5647/description + This is a Video4Linux2 sensor driver for the OmniVision OV5647 camera. +endef + +$(eval $(call KernelPackage,video-ov5647)) -- 2.30.2