Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3503744ybi; Tue, 2 Jul 2019 08:50:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqyledoy2tXwJUhiDQD7B9Z7oR0imt11tC7R5F2P0t8oAlEESbRzGuS8kDFhCay0Nnnr6sng X-Received: by 2002:a17:902:9307:: with SMTP id bc7mr35037263plb.183.1562082625477; Tue, 02 Jul 2019 08:50:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562082625; cv=none; d=google.com; s=arc-20160816; b=sG1DCIpoUop7SuxD6M03kIC8QgWeger8Mp3FQX26w5R1Rhjg8pCFg2wIR17HVgAfEi +VtwhdCEtOp6/A1rK+2k7mYKK0WR0ld0MWuK1SHPvny7Pqod3RzUCZHQMBHKTc6FMia/ Z1L+1/7zosoGm87a5+V177YPt7sDNSzl6DxdfAQVZavTU0sYw+swH+eTcjpUWPMvRYfe 1bybgjyo6x68sLeTwqVA2R590MEGYVy5z5mNfwkQNn0RZjchmkTIaBDwR8bN+2AdDXsj LgiCPlx5C9JbwMXI0TA304gh884RqmZvLOzW0Oy+2eyzfBpiYcUlbWHqU8YJYEYfYvAz zMMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=lFwmxXkhndnH0qmjjjwVAXKfcgMu0DbJWxQTbEZxPCQ=; b=SG/nD0nVRwMybJIk/uqNxflLK7hr8Vmd4oRfUYQ+bRVAqdvXALs7LSgoWSk5u885Ug g2+Q+DWhlBKn76wG8EOSecGyDL0qIp0MxHj/hCoGZteelQjqh1ojStMRa0nwubR29yiD NnNKIc6X+294vEib7EgmByF2s+TM6G9fHW11G/5OLqJq8GaLteDOPEt5OIwRORtC7UWz q0ttBFZflxSOanmWyUlApThSQ2HonSjsl4u1wDRmDGFE7ItWsN9C3LSbxBhqX+6+MY9e 4xT4Bblb/oNP0nd1m0JblQtehPSw9aQW5vEFO9DriG9sOJ6aDlMqyhco9TBY1pcXV27+ x15w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x4si2434926pjn.93.2019.07.02.08.50.10; Tue, 02 Jul 2019 08:50:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727251AbfGBPtY (ORCPT + 99 others); Tue, 2 Jul 2019 11:49:24 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:58400 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727236AbfGBPtV (ORCPT ); Tue, 2 Jul 2019 11:49:21 -0400 Received: from turingmachine.home (unknown [IPv6:2804:431:c7f4:61e7:d711:794d:1c68:5ed3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: tonyk) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 6926826056D; Tue, 2 Jul 2019 16:49:18 +0100 (BST) From: =?UTF-8?q?Andr=C3=A9=20Almeida?= To: linux-media@vger.kernel.org Cc: mchehab@kernel.org, hverkuil@xs4all.nl, helen.koike@collabora.com, kernel@collabora.com, linux-kernel@vger.kernel.org, =?UTF-8?q?Andr=C3=A9=20Almeida?= Subject: [PATCH 7/7] media: vimc.rst: Add output device Date: Tue, 2 Jul 2019 12:47:52 -0300 Message-Id: <20190702154752.14939-8-andrealmeid@collabora.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190702154752.14939-1-andrealmeid@collabora.com> References: <20190702154752.14939-1-andrealmeid@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add information about the output device. Remove wrong information about what the capture exposes. Signed-off-by: André Almeida --- 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