Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3373327pxb; Mon, 17 Jan 2022 18:56:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJwHIWE8TG+vDIx1iKyqkMAhZ0IPjL8eX+LJ6JvERogjVo3mULCOM1p+NWR1L8+IWUKRFcrA X-Received: by 2002:a17:90b:4a0e:: with SMTP id kk14mr28342965pjb.12.1642474603142; Mon, 17 Jan 2022 18:56:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642474603; cv=none; d=google.com; s=arc-20160816; b=PaAaITwV7JDK6QKtOZgSDGDR5PfHadxdMNVMcToO69zzUA1k0VGimE+rvQsLOgP60B dEeK9SoT9XRJFUgKxjM5ueoqd9gdETPk1+O0cV780tNlrfaIgkhowVh6+qJ7hZ7kAGz6 q4ZdpUQSVY3+BEhqn9W7KlNCCzGpBvANQOOlAdsJg2z06ImdJ0+LhXByK7UFLVeqqgy7 SQsitQ1bp9AnXiFrfUU3qsz+FHZ9QEHYUj7rfQp1xiB+APwuKqOR9OIwyluqu2ulX0zS ETZl3ZafCH48+LtjDF0GiiHXxfkgLqCN/FC+U7A6ABpcCWIR1WknyblFpmG7YS6vjjW+ AqnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eO3SarKuawfnSDlycroRnbnpPkYTlr8nD5yeqFUVHFc=; b=Q7kuUzECzQY0ZB+8NfKY/4/JGgSaMM8aY8SOB87kUYpuZAOuYW7u/eBrQig7Ml5N8r KG5FWHhGMakq3EnVziLLdwH+xn1/U9rFwIA7gqiJBiMjy/02WTjB4fEe/dVsv249bIIo 80CBWn2iCjyAKM2DGxAT5nhd6njoclFhS3nw01viYxL0dO0FgOQl0dODdQFWs9teKY6T S+jZmYugdl2kcpf/V9ZLxW8ZxBNvo6KdwT+9oMihjlKXDITL5SiT3L7bivz2TFFKK3R8 92aB8cZubquErf0gYmJLKUXsKx2a/6zYUx69TYsk+XAp2ByBhWQzDAGehOh8SwNXbiLi y0mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=O42iWlmq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n88si1226868pji.26.2022.01.17.18.56.30; Mon, 17 Jan 2022 18:56:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=O42iWlmq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242695AbiAQS1V (ORCPT + 99 others); Mon, 17 Jan 2022 13:27:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242535AbiAQS1E (ORCPT ); Mon, 17 Jan 2022 13:27:04 -0500 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B0C2C061746 for ; Mon, 17 Jan 2022 10:27:04 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id g22so22689003edu.1 for ; Mon, 17 Jan 2022 10:27:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eO3SarKuawfnSDlycroRnbnpPkYTlr8nD5yeqFUVHFc=; b=O42iWlmqZFfrZT1YQH9NZLLqWeHsjrezFg0IKlF+MbOJe+MmgTCMTBO6BLj86ZhqgZ Ktth5BBRygqea9NiPD3Du+Dp9tbZhmz4BgHQMpWRrgnxtjXP18bxvCJP0qh5SIp85N8t En/NuGe+o1wwdA2DLdNhasLj4fF3Z4BBqsEuE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eO3SarKuawfnSDlycroRnbnpPkYTlr8nD5yeqFUVHFc=; b=WZy0EjaA3aikwcqcRLYtceOCQoU8qCXjYCylwNbqt40sZ8wXWrrhMjleZj80WMTb9t QIwEjk+biRfW4Ob3sS549gUKMqt1JR9M49TmuDUtwdpu/n57Zjf/uyiSt7K8EVEauv6H Ws8gQJYMT6U8nuBfxOVK84ti4d+5ja+SNzj2nTyX0crDuiOL6Vp3KtUfnEV5B+BRa3XL kgWT2CP9KXhGbN/kLT7SM34RL82KCisKK4MfEOHXkC/4T+fwoyiSs7xGU2E/KCAuKsd3 MF0TFDxfbFiMkA+CkOyVSmFk+CRT/DiFC9xWp4fur3e8M0dk2jxIDVChr/CwpeCm+FPI IxBg== X-Gm-Message-State: AOAM530qzZjMGLEpm9Spb1LrYBr2J+Rx4JdZFnmVl88OOv8x8L/B2U5e GADFOdqjLi3daKg/vtuH8bO6Dw== X-Received: by 2002:a17:906:175b:: with SMTP id d27mr17982456eje.476.1642444023056; Mon, 17 Jan 2022 10:27:03 -0800 (PST) Received: from alco.lan (80.71.134.83.ipv4.parknet.dk. [80.71.134.83]) by smtp.gmail.com with ESMTPSA id la10sm4657462ejc.22.2022.01.17.10.27.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jan 2022 10:27:02 -0800 (PST) From: Ricardo Ribalda To: Nicolas Dufresne , Laurent Pinchart , Hans Verkuil , Sergey Senozhatsky , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, tfiga@chromium.org, Mauro Carvalho Chehab Cc: Ricardo Ribalda Subject: [PATCH v3 2/3] media: Documentation/driver-api: Document device name Date: Mon, 17 Jan 2022 19:26:57 +0100 Message-Id: <20220117182658.468993-3-ribalda@chromium.org> X-Mailer: git-send-email 2.34.1.703.g22d0c6ccf7-goog In-Reply-To: <20220117182658.468993-1-ribalda@chromium.org> References: <20220117182658.468993-1-ribalda@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document how the name of the metadata devices is modified. Signed-off-by: Ricardo Ribalda --- Documentation/driver-api/media/v4l2-dev.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/driver-api/media/v4l2-dev.rst b/Documentation/driver-api/media/v4l2-dev.rst index 99e3b5fa7444..935a46e29c5e 100644 --- a/Documentation/driver-api/media/v4l2-dev.rst +++ b/Documentation/driver-api/media/v4l2-dev.rst @@ -42,7 +42,9 @@ You should also set these fields of :c:type:`video_device`: - :c:type:`video_device`->v4l2_dev: must be set to the :c:type:`v4l2_device` parent device. -- :c:type:`video_device`->name: set to something descriptive and unique. +- :c:type:`video_device`->name: set to something descriptive and unique. If the + device has the `V4L2_CAP_META_CAPTURE` or `V4L2_CAP_META_OUTPUT` capabilities, + the string `Meta:` will be inserted before the original name. - :c:type:`video_device`->vfl_dir: set this to ``VFL_DIR_RX`` for capture devices (``VFL_DIR_RX`` has value 0, so this is normally already the -- 2.34.1.703.g22d0c6ccf7-goog