Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp320142ybx; Wed, 6 Nov 2019 17:44:33 -0800 (PST) X-Google-Smtp-Source: APXvYqyX67OxLoYcj+xUGlRuM9X4N8hm1LJk/iiDWYxjFOn1gZMSi3iWd2PqT0fdJ0lPX2mBU9E/ X-Received: by 2002:a05:6402:4c7:: with SMTP id n7mr872984edw.263.1573091072906; Wed, 06 Nov 2019 17:44:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573091072; cv=none; d=google.com; s=arc-20160816; b=IkQW6tXibxgSIu1Z6K58PVsad5Eh/o0SBQR/a8AZkTNBc17fs0N54o+LZY3sj3Fu/K sOI1aMqsIDPF8MuSaomJs0FfVOeTKhvQ8iKqDIM2p/guYzP4uTBNWGKyvmJ6ZMkDw6eE l+bEwaELwtnh3L2disAqX9FvGdbFyOcLS+9LVxu74eAqTQzVHLrHUv7f9PvYwXxc5s+8 EQ1V8ytDLOh5eHPV4nMaGAsngpIW6P15ISroA7A6N+YXJAns2rJx4Dmqa259vHOsvAjs zghCWtQ50LkuyO+OS9Bkgv3JOYOFlhcUV7Ntt7mxah7jZEsWC/bCV44aERk9Do6V6xUE YF/g== 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=jj1I8BkihP7K2IkUhvV/5m12cz/AeOmgj7Ie67AxRnE=; b=Eo93MZs0+YUumMkftsMK9a9ohU7uL1XxizAFKKD7Z2QHAGEwnJFYg4FBYU1m8Gtmh0 5OP1J746IFMADkIEwHtu4DUqH3OcXepcv/6wfJxwUP3dsft9KEJMbsnhDSpK0PAY1J94 oBziEO3Gav54LXpHIfpYDLrvVmDVUaBjgROQNnKrG5TKcS6EsYt4Hq1kSAKbKF/A4dCC f5Y6jvBAG38xi6E6LTvJSO9T5aR929JH6I8kvZD3pC83kvEbgec+mFPfMmcoMWsoKCwA aJcFrXlAIxezs3IV2wkAobIciH3VOG6z83fvrMMUEL9/Tr1jaMsMt8YA9B38QTo5qqbf oVDw== 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 ch17si501474ejb.184.2019.11.06.17.44.09; Wed, 06 Nov 2019 17:44:32 -0800 (PST) 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 S1732876AbfKGA5J (ORCPT + 99 others); Wed, 6 Nov 2019 19:57:09 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:41116 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725989AbfKGA5I (ORCPT ); Wed, 6 Nov 2019 19:57:08 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: koike) with ESMTPSA id 23141283CE4 From: Helen Koike To: linux-rockchip@lists.infradead.org Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, eddie.cai.linux@gmail.com, mchehab@kernel.org, heiko@sntech.de, linux-arm-kernel@lists.infradead.org, gregkh@linuxfoundation.org, jeffy.chen@rock-chips.com, zyc@rock-chips.com, linux-kernel@vger.kernel.org, tfiga@chromium.org, robh+dt@kernel.org, hans.verkuil@cisco.com, laurent.pinchart@ideasonboard.com, sakari.ailus@linux.intel.com, kernel@collabora.com, ezequiel@collabora.com, linux-media@vger.kernel.org, jacob-chen@iotwrt.com, zhengsq@rock-chips.com, Jacob Chen , Jacob Chen , Helen Koike Subject: [PATCH v10 02/11] media: staging: rkisp1: add document for rkisp1 meta buffer format Date: Wed, 6 Nov 2019 21:56:08 -0300 Message-Id: <20191107005617.12302-3-helen.koike@collabora.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20191107005617.12302-1-helen.koike@collabora.com> References: <20191107005617.12302-1-helen.koike@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jacob Chen This commit add document for rkisp1 meta buffer format Signed-off-by: Jacob Chen Acked-by: Hans Verkuil [refactored for upstream] Signed-off-by: Helen Koike --- Changes in v10: - unsquash Changes in v9: - squash - migrate to staging - remove meta-formats.rst update Changes in v8: - Add SPDX in the header - Remove emacs configs - Fix doc style Changes in v7: - s/correspond/corresponding - s/use/uses - s/docuemnt/document .../uapi/v4l/pixfmt-meta-rkisp1-params.rst | 23 +++++++++++++++++++ .../uapi/v4l/pixfmt-meta-rkisp1-stat.rst | 22 ++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 drivers/staging/media/rkisp1/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-params.rst create mode 100644 drivers/staging/media/rkisp1/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-stat.rst diff --git a/drivers/staging/media/rkisp1/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-params.rst b/drivers/staging/media/rkisp1/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-params.rst new file mode 100644 index 000000000000..103b5cb79b7c --- /dev/null +++ b/drivers/staging/media/rkisp1/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-params.rst @@ -0,0 +1,23 @@ +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +.. _v4l2-meta-fmt-rkisp1-params: + +============================ +V4L2_META_FMT_RK_ISP1_PARAMS +============================ + +Rockchip ISP1 Parameters Data + +Description +=========== + +This format describes input parameters for the Rockchip ISP1. + +It uses c-struct :c:type:`rkisp1_isp_params_cfg`, which is defined in +the ``linux/rkisp1-config.h`` header file. + +The parameters consist of multiple modules. +The module won't be updated if the corresponding bit was not set in module_*_update. + +.. kernel-doc:: include/uapi/linux/rkisp1-config.h + :functions: rkisp1_isp_params_cfg diff --git a/drivers/staging/media/rkisp1/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-stat.rst b/drivers/staging/media/rkisp1/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-stat.rst new file mode 100644 index 000000000000..4ad303f96421 --- /dev/null +++ b/drivers/staging/media/rkisp1/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-stat.rst @@ -0,0 +1,22 @@ +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +.. _v4l2-meta-fmt-rkisp1-stat: + +============================= +V4L2_META_FMT_RK_ISP1_STAT_3A +============================= + + +Rockchip ISP1 Statistics Data + +Description +=========== + +This format describes image color statistics information generated by the Rockchip +ISP1. + +It uses c-struct :c:type:`rkisp1_stat_buffer`, which is defined in +the ``linux/rkisp1-config.h`` header file. + +.. kernel-doc:: include/uapi/linux/rkisp1-config.h + :functions: rkisp1_stat_buffer -- 2.22.0