Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1143422ybl; Wed, 8 Jan 2020 11:47:54 -0800 (PST) X-Google-Smtp-Source: APXvYqzThpGgTu3ZkJeOwa7flrxzcXykAGt8NIB5XnnNnN/cmVMiCaIW87r2IE6za0nt+CaWwun3 X-Received: by 2002:aca:f456:: with SMTP id s83mr224052oih.12.1578512874486; Wed, 08 Jan 2020 11:47:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578512874; cv=none; d=google.com; s=arc-20160816; b=L2rywXAXcUWIGOAwLybkBiffdXvlrcHxVhAeqTdbbBj/qiijVrmdzE7eOu/3vPG2EH mOTAQ01EHdGqTUGCP7MDHutjmxJ3DPVCrsql8k08lW652QaazXFsYrl5r5+5mh3v/SI7 LJmOURATRNCic3ZluZkvspjxoXX0S+Q+mPdBNcKdG3EcxDaol7YmsbuHT3viZG4+45wd AkyjCHN7zLy5bMadkijE1ErGGEq2+8lOy5CTjHCKJ0Y69VCL7cYMmTfOSH3uXFanf8H7 igj0CD5CCtIzzzNx2I6nfbr/63SiYfcyV0G2Sjg7Zjn/9OCSNCk8f86gKOd0mUTlYXNV bQ2g== 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=YXdWGIP0yTE4DIRXqlxga1SCOY9y1OV0F2wvI4NK0lw=; b=H8eZ8eylne9458wtueZQY3JsWMu+AZ0v5MERGaHykt+ctGbdb/g+v6cf567GmBQsOE Ix/e4OuRp/BmWl77szNsVBdBM/phQS3Dgq06ujOhZK2+GhMQ0/itfM2wya5dXrfiSq1s DIli6ju2++ZxQfjlXauSlQ5RLqkHhxzICOQ9RxDQIzo1w+gtzrCexDFp1u4KtqufVQMI J92+feB/59lLfM90FkwJHuEL5Y6Fk45DSJSr2w3ouYLdZttWRY/jd2k6K7Y5wm34xpOh ABFX2jc0n/DqmjKD6FXUaMpT6rSydSZLvM8mNqxfx2QdO5B2UOsKCLWQPLwCOe+Iwfrc gNFQ== 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 j16si2378062otq.23.2020.01.08.11.47.42; Wed, 08 Jan 2020 11:47:54 -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 S1729308AbgAHSqU (ORCPT + 99 others); Wed, 8 Jan 2020 13:46:20 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:59822 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728249AbgAHSqT (ORCPT ); Wed, 8 Jan 2020 13:46:19 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: koike) with ESMTPSA id 7E79C2912ED 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, gregkh@linuxfoundation.org, andrey.konovalov@linaro.org, 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, joacim.zetterling@gmail.com, kernel@collabora.com, ezequiel@collabora.com, linux-media@vger.kernel.org, jacob-chen@iotwrt.com, linux-arm-kernel@lists.infradead.org, Jacob Chen , Helen Koike Subject: [PATCH v13 07/11] media: staging: rkisp1: add document for rkisp1 meta buffer format Date: Wed, 8 Jan 2020 15:44:50 -0300 Message-Id: <20200108184454.825725-8-helen.koike@collabora.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200108184454.825725-1-helen.koike@collabora.com> References: <20200108184454.825725-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 Signed-off-by: Helen Koike --- Changes in v13: None Changes in v12: - Change Jacob's email to original jacob2.chen@rock-chips.com 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..32034e481357 --- /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_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_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.24.0