[PATCH 7/7] media: vimc.rst: Add output device

From: Andrà Almeida
Date: Tue Jul 02 2019 - 11:49:26 EST


Add information about the output device. Remove wrong information about
what the capture exposes.

Signed-off-by: Andrà Almeida <andrealmeid@xxxxxxxxxxxxx>
---
Documentation/media/v4l-drivers/vimc.rst | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/Documentation/media/v4l-drivers/vimc.rst b/Documentation/media/v4l-drivers/vimc.rst
index 4628b12d417f..ccc04101ea51 100644
--- a/Documentation/media/v4l-drivers/vimc.rst
+++ b/Documentation/media/v4l-drivers/vimc.rst
@@ -4,7 +4,8 @@ The Virtual Media Controller Driver (vimc)
==========================================

The vimc driver emulates complex video hardware using the V4L2 API and the Media
-API. It has a capture device and three subdevices: sensor, debayer and scaler.
+API. It has a capture device, an output device and three subdevices: sensor,
+debayer and scaler.

Topology
--------
@@ -40,6 +41,7 @@ of commands fits for the default topology:
v4l2-ctl -z platform:vimc -d "RGB/YUV Capture" -v width=1920,height=1440
v4l2-ctl -z platform:vimc -d "Raw Capture 0" -v pixelformat=BA81
v4l2-ctl -z platform:vimc -d "Raw Capture 1" -v pixelformat=BA81
+ v4l2-ctl -z platform:vimc -e "RGB/YUV Input" -v width=640,height=480

Subdevices
----------
@@ -74,7 +76,13 @@ vimc-capture:
Exposes:

* 1 Pad sink
- * 1 Pad source
+
+vimc-output:
+ Exposes node /dev/videoX to allow userspace to send frames to the
+ stream.
+ Exposes:
+
+ * 1 Source sink

Module options
---------------
--
2.22.0