Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4016655rwb; Tue, 20 Sep 2022 07:45:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4D+IpnKUOfV9lXmx560tPxwF82/x5G/WlyLiVwlveyZLw0nxkOCxiZjJRaOgQgcsxwLrKr X-Received: by 2002:aa7:958e:0:b0:54a:792d:bce4 with SMTP id z14-20020aa7958e000000b0054a792dbce4mr23467542pfj.25.1663685101352; Tue, 20 Sep 2022 07:45:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663685101; cv=none; d=google.com; s=arc-20160816; b=d3wlXuAW1pbI0OxPDj/NL4QxXYE/FcSlffGaG7hIjdWh6AqNVEJZqsHAPHKLhaZvW2 OxPtwJ+rwlboOw0K+2IIMAdTOh36e33k0SfuSi07BonxH/tNFO2oia4rtWHdNtRm90Mx 8tSyN/SaqjD06kvjU2FsRjfOEzjXwY/idWgjmBaHKjpzH5/M0lnyMjhkvOpbPWcuBiLO DfAr+ZoI2JzCEeSRTqKC9dSTiupDNft0oI6n9yfHoxbMqvP1WcsY87IHpAZWai8VrV1w bTndZrH3ry3E+lXMF0mAlEsaOLx3wnOdLvg/x05ydeu46c5cZV6o9n+zsoKYCAlddfRG s78g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=2PCHXmpS3a4cpm6Nvunds7hNUWRumI4ZR//08i+61VY=; b=d/xiUuQjnMRzkgGz+4IILr6lq7cGJ4lH8PHNTOOo+Y5M6+cCSdBqIVPXwPQpW14lwF Nn66vUzZmFGHVEZ/6zrJYrLSD+IxebfoE5mFrMWblpHl9ftVhxPaEb3kp4twh3C1Map1 +4cT3qEHFBnpetliREkI4tqrTbRGDaeBRvovFi6MZYFw9Vky2Gt08Xd1POYgmpKu4SWt Es/jcr8hKfUjwt+uHB60rUznH50eXgf5bSEAVJaRNqiPZmQNBN0W6T9ETkzagrfPPmye cyEtXhUBGxFF2RiZlCpOTbpUCJd9SyWmkpDRs9n/0/kEKlhSAXRDqcO6m4fzqiFgcEvj 4CMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=D2wAPJIS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kk4-20020a17090b4a0400b002003464d815si18524696pjb.134.2022.09.20.07.44.48; Tue, 20 Sep 2022 07:45:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=D2wAPJIS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230394AbiITOK3 (ORCPT + 99 others); Tue, 20 Sep 2022 10:10:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231637AbiITOJx (ORCPT ); Tue, 20 Sep 2022 10:09:53 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B9436050E for ; Tue, 20 Sep 2022 07:09:18 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id go34so6505301ejc.2 for ; Tue, 20 Sep 2022 07:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date; bh=2PCHXmpS3a4cpm6Nvunds7hNUWRumI4ZR//08i+61VY=; b=D2wAPJISTcLpYO4j2hX8z2YoGvo4E0F/zz8vRLrSJoy4irorQeC/xtj4aqJVfZToxH u6iuorVsRURTRKKXDP7+mG0egL1MKc2yY0Rc8IKbHNZShB1qfaYEbU7CX7Sdt9AjcXhh vo5qkcqJLiZcZ3mdVDV//q3ouHqQmyi/HnQ78= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date; bh=2PCHXmpS3a4cpm6Nvunds7hNUWRumI4ZR//08i+61VY=; b=gyPgcYS5w25HJHeK1pAf6aWj/3OgnuYOfYtV4VKqCQSVy3bts6YGg/vcosXXbr5MwE zQWK085x3wS1ZjRQv68q8L1VjKfaQ+2RJ/8Kpy+Hjh9nF9HX0oX3V0zca+AnBCenmEyJ rFpG/mSN+MiKh0KmIX3zwCS6yUyGzS7ia27JrAJYndzhSCf02Pt6FWlKDS25XunZGrVu AGQMyMBGqklYKRuNL7TDZY9R0TV7Gwx2PYVYCaUKgROlQ28pbdnLALvDDzLVpcm25n4C q4/wU0XuMx5xJs2hBV6x9JDNs/TB9j76tm+qmhYCx0JtHiIFbXEiZW3zzlPQu15Z7dDf XiVw== X-Gm-Message-State: ACrzQf2XB7EBQNAynpkulkTRebr+KGQVpguNr0q0XtAORrurORvhFy3v zXadJCMxI7D9yI/IriZwvhhZVOnGzexGUxxvung= X-Received: by 2002:a17:906:328c:b0:780:7574:ced2 with SMTP id 12-20020a170906328c00b007807574ced2mr17218545ejw.634.1663682955943; Tue, 20 Sep 2022 07:09:15 -0700 (PDT) Received: from alco.roam.corp.google.com ([2620:0:1059:10:935d:52b0:7461:88e1]) by smtp.gmail.com with ESMTPSA id l10-20020a1709063d2a00b0077f324979absm927133ejf.67.2022.09.20.07.09.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Sep 2022 07:09:15 -0700 (PDT) From: Ricardo Ribalda Date: Tue, 20 Sep 2022 16:09:04 +0200 Subject: [PATCH v1 2/3] media: Documentation/driver-api: Document device name MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20220920-resend-meta-v1-2-dfcfba923204@chromium.org> References: <20220920-resend-meta-v1-0-dfcfba923204@chromium.org> In-Reply-To: <20220920-resend-meta-v1-0-dfcfba923204@chromium.org> To: Laurent Pinchart , Mauro Carvalho Chehab Cc: Ricardo Ribalda , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, Mauro Carvalho Chehab X-Mailer: b4 0.11.0-dev-d93f8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1032; i=ribalda@chromium.org; h=from:subject:message-id; bh=HciaCCHyEvIeKVlrlc8/DyoOKo+/6DQ85iWol0LXRbE=; b=owEBbQKS/ZANAwAKAdE30T7POsSIAcsmYgBjKcmFzWpUkjaI0rM9439zD7utogdFtHDytIIQ715s 163jHKSJAjMEAAEKAB0WIQREDzjr+/4oCDLSsx7RN9E+zzrEiAUCYynJhQAKCRDRN9E+zzrEiCrOD/ 99Ws+U83b/ujdRcBlQC/bTHWwpmOlA1KQrDTD6BrJNb6Mxv1/A5387x6PF7xMkHPGdE8YR1aqgymPS 6fu1WgeVlvdlcqYjHhYd+i7Mm4/2IKyFHEUcKfHXDjn4mpomb0RL17/3wrsiKsGbfFo/aMLAnKUbE/ iUYwioRJLg/3VTLu1je93hWsardGfR1Nja3ABreq8YmQpMwzyIr/GAXuJkcpZVEMLUj7eZSSHwVm6X aJ8cyoOGRudSpfpcLgZkltZHOUTZRL8E1VEwZKbHRpK4en4ZnYOXtFgMB4PjSF5SflDQKKI9s2e0zu +D3GcSL8LD1VZhdVVunho+fXh+c8ocjkr1YQ+VGVmYiV5crKOFCRtq1JmdQe02i6devgvEvQlmslH+ a/o5bk9VmUXqQts38YWVX9aHV6cpD7AJdCiaNPZgXOvpIhY14k+/ygiMHkRHa0qRqOKyulTOhlmOHX I+dj4jOExZYH/OGtp0gBft1im3iVTlfAUSE2isru0pViuBhHn6eLoDOz2D5SV2OKcWfgK0M0ZUJObu rdylqzKd/LvZxm92UTdPDWaaCOg2bG/BKtlBRtNAXvG2ZpujFVUY4GAE/vmWDcFbj7ed3SHEMNqZEs V7X3bklXy2T56G5DDAMdFAtWhL81RPuYKrEEuB0quBBeDJks+A502yS1iJmg== X-Developer-Key: i=ribalda@chromium.org; a=openpgp; fpr=9EC3BB66E2FC129A6F90B39556A0D81F9F782DA9 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 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 -- b4 0.11.0-dev-d93f8