From patchwork Thu Jun 11 15:35:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dafna Hirschfeld X-Patchwork-Id: 11600309 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D457A175D for ; Thu, 11 Jun 2020 15:35:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ADCDB206C3 for ; Thu, 11 Jun 2020 15:35:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hhTpeKcA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ADCDB206C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=collabora.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=42imL2QL3o16OJqD0/Zf5H9SGF9nHO8TRz2dlz0bvw0=; b=hhTpeKcAN/wSgKkK1mX/Ll6ZGh j6XBw0aOUKCFizvzB8KFOEcbxu6lSwDatzj05MdxzK8NNuqCW/Tr8xfKfpX4tG4/sbMzihjMy4y53 1c+NhEUuj+AbG103rccQfs5Byncyl0UoB1b049M/429ABwHkKOVjJW6eBvmig7BdoLgcQ+I/R8Bs7 vvaRKy7StpFfv6KHNkNtj6lPgfljjQlLb9+Pd1fFDm8K1rTCmswYflIIIi7s0LfJyFnPQLngCrA0d rkilUlfboYuC/zbeayGlYr79W8EUlddzFBq4NfeL5e7twwVqpkgHmGwYST6+6DahsPQPFoAhOt5LD K1foPz3Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jjPF0-0001ev-Qw; Thu, 11 Jun 2020 15:35:42 +0000 Received: from bhuna.collabora.co.uk ([46.235.227.227]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jjPEw-0001bQ-SS for linux-rockchip@lists.infradead.org; Thu, 11 Jun 2020 15:35:40 +0000 Received: from localhost.localdomain (p200300cb871f5b00895b3f12fcab1eee.dip0.t-ipconnect.de [IPv6:2003:cb:871f:5b00:895b:3f12:fcab:1eee]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dafna) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 4463F2A5093; Thu, 11 Jun 2020 16:35:37 +0100 (BST) From: Dafna Hirschfeld To: linux-media@vger.kernel.org, laurent.pinchart@ideasonboard.com Subject: [PATCH v3 4/4] media: staging: rkisp1: common: add documentation for struct rkisp1_isp_mbus_info Date: Thu, 11 Jun 2020 17:35:27 +0200 Message-Id: <20200611153527.24506-5-dafna.hirschfeld@collabora.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200611153527.24506-1-dafna.hirschfeld@collabora.com> References: <20200611153527.24506-1-dafna.hirschfeld@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200611_083539_041666_4871FD42 X-CRM114-Status: UNSURE ( 9.74 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [46.235.227.227 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mchehab@kernel.org, dafna.hirschfeld@collabora.com, dafna3@gmail.com, stable@vger.kernel.org, tfiga@chromium.org, hverkuil@xs4all.nl, linux-rockchip@lists.infradead.org, helen.koike@collabora.com, sakari.ailus@linux.intel.com, kernel@collabora.com, ezequiel@collabora.com MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org Add documentation for the struct rkisp1_isp_mbus_info with one line doc of each field Signed-off-by: Dafna Hirschfeld --- drivers/staging/media/rkisp1/rkisp1-common.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/drivers/staging/media/rkisp1/rkisp1-common.h b/drivers/staging/media/rkisp1/rkisp1-common.h index 13c5eeff66f3..6104eddac0e5 100644 --- a/drivers/staging/media/rkisp1/rkisp1-common.h +++ b/drivers/staging/media/rkisp1/rkisp1-common.h @@ -268,6 +268,19 @@ struct rkisp1_device { struct rkisp1_debug debug; }; +/* + * struct rkisp1_isp_mbus_info + * + * holds information about the supported isp media bus + * @mbus_code: the media bus code + * @pixel_enc: the pixel encoding + * @mipi_dt: the mipi data type + * @yuv_seq: the order of the yuv values for yuv formats + * @bus_width: the bus width + * @bayer_pat: the bayer pattern for bayer formats + * @isp_pads_mask: a bitmask of the pads that the format is supported on + */ + /* * struct rkisp1_isp_mbus_info - ISP pad format info *