Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2fe8906 authored by Helen Koike's avatar Helen Koike Committed by Mauro Carvalho Chehab
Browse files

[media] vimc: Virtual Media Controller core, capture and sensor



First version of the Virtual Media Controller.
Add a simple version of the core of the driver, the capture and
sensor nodes in the topology, generating a grey image in a hardcoded
format.

Signed-off-by: default avatarHelen Koike <helen.koike@collabora.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
[hans.verkuil@cisco.com: fix small typo in Kconfig]

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 3c2472a3
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -13407,6 +13407,14 @@ W: https://linuxtv.org
S:	Maintained
F:	drivers/media/platform/vivid/*

VIMC VIRTUAL MEDIA CONTROLLER DRIVER
M:	Helen Koike <helen.koike@collabora.com>
L:	linux-media@vger.kernel.org
T:	git git://linuxtv.org/media_tree.git
W:	https://linuxtv.org
S:	Maintained
F:	drivers/media/platform/vimc/*

VLYNQ BUS
M:	Florian Fainelli <f.fainelli@gmail.com>
L:	openwrt-devel@lists.openwrt.org (subscribers-only)
+2 −0
Original line number Diff line number Diff line
@@ -495,6 +495,8 @@ menuconfig V4L_TEST_DRIVERS

if V4L_TEST_DRIVERS

source "drivers/media/platform/vimc/Kconfig"

source "drivers/media/platform/vivid/Kconfig"

config VIDEO_VIM2M
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ obj-$(CONFIG_VIDEO_PXA27x) += pxa_camera.o

obj-$(CONFIG_VIDEO_VIU) += fsl-viu.o

obj-$(CONFIG_VIDEO_VIMC)		+= vimc/
obj-$(CONFIG_VIDEO_VIVID)		+= vivid/
obj-$(CONFIG_VIDEO_VIM2M)		+= vim2m.o

+14 −0
Original line number Diff line number Diff line
config VIDEO_VIMC
	tristate "Virtual Media Controller Driver (VIMC)"
	depends on VIDEO_DEV && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
	select VIDEOBUF2_VMALLOC
	default n
	---help---
	  Skeleton driver for Virtual Media Controller

	  This driver can be compared to the vivid driver for emulating
	  a media node that exposes a complex media topology. The topology
	  is hard coded for now but is meant to be highly configurable in
	  the future.

	  When in doubt, say N.
+3 −0
Original line number Diff line number Diff line
vimc-objs := vimc-core.o vimc-capture.o vimc-sensor.o

obj-$(CONFIG_VIDEO_VIMC) += vimc.o
Loading