Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3373091pxb; Mon, 17 Jan 2022 18:56:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7wJiNRU5XXwrqdoFp2DiTPg7bJcZpZ2nMfikKy8nF9uJvAp9KegTN7IGwYqrlqr+Pf+Ov X-Received: by 2002:a17:90b:303:: with SMTP id ay3mr27959452pjb.52.1642474584338; Mon, 17 Jan 2022 18:56:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642474584; cv=none; d=google.com; s=arc-20160816; b=ey4D7EIxK6W/FXB2QC56DxBpLVr4tfyhbmfmcGR3wkMX0WgFCpCEvsc0j3W+Xf9Fm0 IwnglVtuIueGE3SGRU+RobNZmgPS8n5K2MnsnlZdKFitPFqSlY82zN8o32ZZVeYCSmhn lhmB76gaCZX9Os5hgUf620mMqt4UEep/rjAlKcBwr9qsWQKna+iP1v5gB9pDGR+61ib/ KoMi6WwGCt2/QctZyE4ZdJ3MEavQ2qKW6KGoEFTo4zmQgIOvY/5lb3T5kOtzgvOioWmb SamDcuFNQQvsy7VWQaKzqgShPbTgDv+nXWuwveufsYEsEwWuGra7iNmmD3soM5MYc1qD hCCg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=b9HA3D5cyg5bWD4oDuWcsu/JI+Ptg0MH6REy+Ohif9Y=; b=uz5S9jxCxIsjeIsBj3qb26WutjftCTx3KfSgXi41X99OA7Uyvrlh+SYGPC06K74f3P XZ9VjK1URcSbSclKn0pBDvsicZeCETv0y5PQMx4bY0itNYws5HngJXP81UKpUJgVwCv+ KIge2HVh8K1fenziY4alFMqCRhQV7d1BwYwrmd58BGUf+9nfhH4uHcadYDbzqDGKgmbQ jmusxSlDiGf1cSDwTGfbLXzEnGiYtud0bFTPjPO9ZXQATofhT9/fao2sgvKNGu8DXePq HI7kem5TKFJtfHiGoGfTe0vjj2376/DgNrXfeJqXG4WFBi1gbtxFgJAPSCFPKbPZVzHw p8mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Il4OMKbf; 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 j16si3082432pll.197.2022.01.17.18.56.12; Mon, 17 Jan 2022 18:56:24 -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=Il4OMKbf; 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 S242556AbiAQS1H (ORCPT + 99 others); Mon, 17 Jan 2022 13:27:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242529AbiAQS1E (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 46862C061574 for ; Mon, 17 Jan 2022 10:27:03 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id b13so69424292edn.0 for ; Mon, 17 Jan 2022 10:27:03 -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:mime-version :content-transfer-encoding; bh=b9HA3D5cyg5bWD4oDuWcsu/JI+Ptg0MH6REy+Ohif9Y=; b=Il4OMKbfGUBg+KEZ8BqjoIiJr683lIB6ibS0Pu4uvQCReg90DgRUeFmHtzHAo2NQiP lDB0uJTMU3jrxRp+HJHjxbnVumispoBOCBdDFTJJd1tGtJbFGA9MlF1ByHhhUwgigm07 uo7WSc88WAwHTkClkWZZtaKWFcTwWuZrZj9cM= 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:mime-version :content-transfer-encoding; bh=b9HA3D5cyg5bWD4oDuWcsu/JI+Ptg0MH6REy+Ohif9Y=; b=2iKh88fCKNAwwJ8Fhm29m2i9WQg02RnfjZFKckp0m8RkRdas0ttqCow3c2m/NnbNS2 wwSwOtiXeWRF6U0boUteQNs99JLWhyMMBUCKMGh3DN21sH6g1lQy5ep8xWdk+4QDWSiJ NdMztxm0dvBmdDjejdMWs7qkqJhCKmy4zirPxQxGHDVC1bw9BJsxPVU0+w7cm0nslAwx pYgHgynr1By0ImAMSUriTuDaOKR80pXyJCoSsDLeSFwqbN040T8TsFDYNQ0dAycZLmGA ebFz/KYKDu7s82i2jplE01c4hdIbYlinM+BSob5MdfTIN0FlRE4TKGNQBP6pgwhxD60e s+RA== X-Gm-Message-State: AOAM530fAJdVu0R/LLgj4iVaosh1pCkIh/s7Cf+jVMBeDJCaoIVWUZ1T sV4JqUg3mtChN/qoj+fJED+a4Q== X-Received: by 2002:a17:907:72cb:: with SMTP id du11mr3863542ejc.703.1642444021819; Mon, 17 Jan 2022 10:27:01 -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.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jan 2022 10:27:01 -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 0/3] Add Meta: to Metadata devices Date: Mon, 17 Jan 2022 19:26:55 +0100 Message-Id: <20220117182658.468993-1-ribalda@chromium.org> X-Mailer: git-send-email 2.34.1.703.g22d0c6ccf7-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Metadata devices usually companion "real" devices. In order to distinguish them properly, add the Meta: prefix to their names. Also, add a unique suffix to all the uvc devices, to multisensor cameras do not show the same names for all their devices (IR, RBG....). v3: - Add the meta logic to the core v2: uvc: Restore old vdev name Ricardo Ribalda (3): media: v4l2-dev.c: Add Meta: to the name of metadata devices media: Documentation/driver-api: Document device name media: uvcvideo: Add a unique suffix to camera names Documentation/driver-api/media/v4l2-dev.rst | 4 +++- drivers/media/usb/uvc/uvc_driver.c | 3 ++- drivers/media/v4l2-core/v4l2-dev.c | 9 +++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) -- 2.34.1.703.g22d0c6ccf7-goog