Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2750540ybc; Wed, 13 Nov 2019 21:16:57 -0800 (PST) X-Google-Smtp-Source: APXvYqzeWhFqszIyDwqCfvsUk2OqcIOXg0/TNS9bx6H2ifld03vmj9pUDegj6tffxlCLpPtMHTUb X-Received: by 2002:a17:906:c797:: with SMTP id cw23mr6545959ejb.19.1573708617659; Wed, 13 Nov 2019 21:16:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573708617; cv=none; d=google.com; s=arc-20160816; b=JX8J0HjJsN8w8ICJi8H11ikXRlaXqNmQ6XBhNTft+DXRolUTfqze9+asBm5RELAvIH FLcrMkKFOAxac8jPL70YqsoQQbFn9dI+rYJ5VGmTLMFSl66kQVslQVy0BgKY1pAedfWK GYjhfdYiKRG8K1Zh2cnFh0xwBPW1frQb4P4rMAhlx0p4N+kxwIRhDWFkRbQjqWbSEgqx yKl+rfg/WURB97JwhfjJsSCU+aI0tw7IuJq8A3ehwXgj2UzetCONG6BjR6C7L468qPe8 OT46YwWk6/ehoinnUPRwrUM7ykei2B/X0qPguXxMqBBY/om4+NaT2UlXG4bkP2O08bkP JAaw== 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=SHStFZi1EMvcUzcH4iQ8AiqZOOnzOT4KlmgdlDp9GfM=; b=s1xzP6m19TiV9KQpqqggQHfccpvMIM3RTaA6zOyNULsoc1ATI/2ZPcvI0Z1CIcJzYd 2CCZXa/9lOQSBFheBqtBmU3iPR9olsMJlkat+DnLHLDkCDztRzDfO/9Xjz8OxA6//yP5 KR3fZkLKptGQEmHR3ypbFwnX1oOcWlAFq6TSIcw5/ns0LZo4Ca95uJm8ZmXUSXV/29rX rnd+G8Sr3wh2Y3Jy5dIJf+GCg0sbwztkbAkCMCUvGcHPKsOqZ24rScEY6XMlr+wC1hdO 1h+OCRljO84j+NXK02kZDxphSKNVXvwUiEPV/SYt+kGq7+0K2uHZ1QXETzBBw+zmbjJP G8jg== 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 j7si2662456ejf.155.2019.11.13.21.16.33; Wed, 13 Nov 2019 21:16:57 -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 S1727032AbfKNFN3 (ORCPT + 99 others); Thu, 14 Nov 2019 00:13:29 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:43902 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725807AbfKNFN3 (ORCPT ); Thu, 14 Nov 2019 00:13:29 -0500 Received: from floko.floko.floko (unknown [IPv6:2804:431:c7f0:da1c:a086:2727:e196:fd8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: koike) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 0D63F290B91; Thu, 14 Nov 2019 05:13:19 +0000 (GMT) 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 v11 02/11] media: staging: rkisp1: add document for rkisp1 meta buffer format Date: Thu, 14 Nov 2019 02:12:33 -0300 Message-Id: <20191114051242.14651-3-helen.koike@collabora.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20191114051242.14651-1-helen.koike@collabora.com> References: <20191114051242.14651-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 [refactored for upstream] Signed-off-by: Helen Koike --- Changes in v11: None 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