Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1051998pxa; Fri, 28 Aug 2020 02:12:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXgXFKtwQF8xYqKPTEQk77yglI0XG8LDksr5Yb66LFHPQZcGn4U5KjlKnL4F5WI/rFbZ0L X-Received: by 2002:a17:906:68cd:: with SMTP id y13mr825686ejr.132.1598605929898; Fri, 28 Aug 2020 02:12:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598605929; cv=none; d=google.com; s=arc-20160816; b=ZfImfly8DYJZXjIGLKGTWDv3U6ECrkbJv94p2Ww4ig3TW3RXCcTEOELq3kJAv6mJox c116drlJ4V+2Onm7wITlHVtcHOEwbqjszl215DaEB2+u689sUj7aeqYWJ6O4al9QNY0m BxwctAKoKBeWLcEuHBuXm8SJ5a5Z8n5HezVgit0SUxC7K1qTgsmS/nk/wXSw2luZcJbN V60pXqlvWbmFJ0uZkuumJ44ZZseDntv5IBYoM9Y/Q4sh7Rtep1Rmle1FukLqQxWB7IZY IwTeZ2wnh8T95H/NCKJkY6e4k7aRjhQkSFm6bNnlWBbQGXeG23R5IB+1Op96PRes+hBf o/Cg== 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:subject:cc:to:from:date :dkim-signature; bh=kSJZC5cVL11Y12mdLfGJTdt4IPVMNCJl2LcgX8h2bPM=; b=PlZ1IUvgWRMSWKgCNyxB78HQdD4OLRiEQpdlPVqIyg1L+68O1mYB1WNzx01ry9PUMu bLkHZNte23rDuLqqDKmhNeJ96elN3dIMXOMAyogRNy7aBg1ws+4hj5aOyOrJR7XJfUUx 0J8BoEB3kERMBlSISrnbK2vHVedmBdHPKoOQ8PQGvhc1nyB0hGpkuMaK0cRdR2/jQ9mq 2Jmb0HlqNkENX5w0yAMkgJXQCmefBWt7jbhjzNJTm0+4oSmXOo6XyPqjLQT6p4pnt08M j6WYtMWfIWFculXV5toMEb/jz8h/Ckn2GX7P+gGMZ+a57SWNFkKQ64PFVSLRIRea3bzK Wrcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=v2TKMF0F; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cx22si194516edb.328.2020.08.28.02.11.47; Fri, 28 Aug 2020 02:12:09 -0700 (PDT) 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=@kernel.org header.s=default header.b=v2TKMF0F; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728806AbgH1JLG (ORCPT + 99 others); Fri, 28 Aug 2020 05:11:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:46184 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728548AbgH1JLE (ORCPT ); Fri, 28 Aug 2020 05:11:04 -0400 Received: from coco.lan (unknown [95.90.213.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EB8412071B; Fri, 28 Aug 2020 09:11:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598605864; bh=oKT/2svB4V5RCSSf/IhBWh7gWH9c49rsuRrm68MCF/c=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=v2TKMF0FrQi1Mr6zXOxsLr8xXRGvLxZVKoed4jhkGhRVBTUBqDUgq5D7vv2XkuUVQ ZFslYFeaPfbxAlS7yuQ6LgXlIJPBC2yCdtsdOvaRcwcF1oYqSrwzGD6Zvi1D9cYcG8 Mlxb66mdfU0NzakVvnLbFVoKyY2W0K6BBGa4OjUc= Date: Fri, 28 Aug 2020 11:11:00 +0200 From: Mauro Carvalho Chehab To: Sakari Ailus Cc: Linux Doc Mailing List , linux-kernel@vger.kernel.org, Jonathan Corbet , linux-media@vger.kernel.org Subject: Re: [PATCH v10 3/4] media: docs: add glossary.rst with common terms used at V4L2 spec Message-ID: <20200828111100.669767fa@coco.lan> In-Reply-To: <20200827110811.GC851@valkosipuli.retiisi.org.uk> References: <20200827110811.GC851@valkosipuli.retiisi.org.uk> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, 27 Aug 2020 14:08:11 +0300 Sakari Ailus escreveu: > > + MC-centric > > + :term:`V4L2 hardware` that requires a :term:`MC API`. > > + > > + Such hardware have ``V4L2_CAP_IO_MC`` device_caps field set > > + (see :ref:`VIDIOC_QUERYCAP`). > > + > > + See :ref:`v4l2_hardware_control` for more details. > > I think this should be documented as referring to drivers, for it's a > property of a driver, not hardware. > > There is hardware that better fits for MC-enabled drivers but still has > V4L2-centric driver written for it. The matter is further complicated by > e.g. raw camera systems that may consist of several different kinds of > devices, including external ISPs. > > Say, a simple raw sensor + a CSI-2 receiver would fit for V4L2-centric > model well, but add a more complex sensor or that external ISP and that no > longer is the case. The CSI-2 receiver is still the same in both cases > though. > > Similar comment on video-node-centric. I guess I got what you meant. I'm folding it with the following diff: diff --git a/Documentation/userspace-api/media/glossary.rst b/Documentation/userspace-api/media/glossary.rst index 45f0933e03c0..023bb561c406 100644 --- a/Documentation/userspace-api/media/glossary.rst +++ b/Documentation/userspace-api/media/glossary.rst @@ -138,9 +138,9 @@ Glossary See :ref:`media_controller`. MC-centric - :term:`V4L2 hardware` that requires a :term:`MC API`. + :term:`V4L2 hardware` device driver that requires :term:`MC API`. - Such hardware have ``V4L2_CAP_IO_MC`` device_caps field set + Such drivers have ``V4L2_CAP_IO_MC`` device_caps field set (see :ref:`VIDIOC_QUERYCAP`). See :ref:`v4l2_hardware_control` for more details. @@ -203,9 +203,9 @@ Glossary :term:`bridge driver`. See :ref:`subdev`. Video-node-centric - V4L2 hardware that doesn't require a media controller to be used. + V4L2 device driver that doesn't require a media controller to be used. - Such hardware have the ``V4L2_CAP_IO_MC`` device_caps field unset + Such drivers have the ``V4L2_CAP_IO_MC`` device_caps field unset (see :ref:`VIDIOC_QUERYCAP`). V4L2 Sub-device API Thanks, Mauro