Skip to content

Commit

Permalink
[media] vimc: Virtual Media Controller core, capture and sensor
Browse files Browse the repository at this point in the history
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: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
[hans.verkuil@cisco.com: fix small typo in Kconfig]

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
  • Loading branch information
Helen Koike authored and Mauro Carvalho Chehab committed Apr 15, 2017
1 parent 3c2472a commit f2fe890
Show file tree
Hide file tree
Showing 11 changed files with 1,665 additions and 0 deletions.
8 changes: 8 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions drivers/media/platform/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions drivers/media/platform/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
14 changes: 14 additions & 0 deletions drivers/media/platform/vimc/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
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 changes: 3 additions & 0 deletions drivers/media/platform/vimc/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
vimc-objs := vimc-core.o vimc-capture.o vimc-sensor.o

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

0 comments on commit f2fe890

Please sign in to comment.