From patchwork Mon Nov 28 15:23:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 26837 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp5751209wrr; Mon, 28 Nov 2022 07:29:37 -0800 (PST) X-Google-Smtp-Source: AA0mqf6HxYCjV2cWUkwnMuk0x+iTS9HMesaTLzozw67hFhMkdrHp2gl/j79gTtlLiAcP7fFHk66h X-Received: by 2002:aa7:c04f:0:b0:45c:f13b:4b96 with SMTP id k15-20020aa7c04f000000b0045cf13b4b96mr13345102edo.129.1669649377141; Mon, 28 Nov 2022 07:29:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669649377; cv=none; d=google.com; s=arc-20160816; b=KDdeiRj0DiqXsOjGkG1V5tPCmq3K5YYBDr7huIHSHGWMjiktSWeGarKBoQevLHFRNu Y691Fw2urdFDzgK/zUDvx99ThQe9qn7fH9gP/P4VqlomUCmv4QsqGoHP5kaK3KnSl28y MdAWn61LVwMcES2qEPpacBdQnNzOrN7SkfZ8/ZpCzPzTKMfwy51i8iEFXZNylBasrWKV XpVN6tUt2bSy+roMTeqVKKig+C8lqfr4snhZ6y8bzqVqrbGe/hE4G8U+Sh2/ngzsYS+1 45ZSdUI+wbgC511GN7lGXKKqPCciEniE7gdWvZ4OMtUUseo+1SchIBtjXcOwsuJaj2vG eIMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gl15CMrLV9vsbPaK+roIAuV2iVcUDUEVC8Co3Fa64Tw=; b=wFOfqQrTRCPUjMEkeBJFPj3GU7/4DasVYi4TQt6Q8KqulLs9yFmwb0nlBAOgj2BDGC 5MndrCa2uIiXFPYb2+X+fQD6EjNKi4ymxtKSxmXcRg+OS9+MP5VYib2J/TAuaAqDqECs Dc7PrFKge7eO/iEaoQN6bE7CyHtYCl8ot74aG3EJQOB+EtCerbG8azdYtWxGsiSsRp4l HgQ8yf1QShhBQB3c5XUBkpfb6Gh069WiZvOevy+weU11Ew96ahvkjYOTNP+fPHJzh+kx 3rRYV4JW3UfHXnaMCJYk/wHo29nUgbY/L0q84B1Ad4ND8GE6+X4Qac5Vl+QvfcmeAjlt On5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=JcaxoD+j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa24-20020a1709076d1800b0073866c0672asi11547143ejc.73.2022.11.28.07.29.13; Mon, 28 Nov 2022 07:29:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=JcaxoD+j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231917AbiK1PZb (ORCPT + 99 others); Mon, 28 Nov 2022 10:25:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231796AbiK1PY5 (ORCPT ); Mon, 28 Nov 2022 10:24:57 -0500 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF9482495A; Mon, 28 Nov 2022 07:24:15 -0800 (PST) Received: from booty.fritz.box (unknown [77.244.183.192]) (Authenticated sender: luca.ceresoli@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id F310610000C; Mon, 28 Nov 2022 15:24:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1669649054; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gl15CMrLV9vsbPaK+roIAuV2iVcUDUEVC8Co3Fa64Tw=; b=JcaxoD+jtOTUia4RUNIlp0lGRono/OPNcAE/+CmDa0K8UH9gd4/czBa8FoaqIrxOYIOr2z wiAT/jQLxCpJu1VEGRX1OrPUm/8B3tjj7/WcxMPt9B+ZdUW00EqVlLbKQBPjNPsuZ7P81c Dx+eCxNOMBHU9gITrAZmHUc3tMC9tFzx16mjST6tt+1q8NHwKbwHH0+ZE9tfC2dI8Tl6zv Sm0A7g3cvPcRifrggvZq8rf+56dLA7xixfOagpR9YHS2wEs9z6H6VOtq5Cqigx3d9jRoX9 zVGD8QsPHPTOfEoqTIhnfTiP1b83YxBojgnp8hL4L5XlqsNabpBV63zkhU6+ew== From: Luca Ceresoli To: David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter , Sowjanya Komatineni , Mauro Carvalho Chehab , Greg Kroah-Hartman , Dmitry Osipenko , Hans Verkuil Cc: Luca Ceresoli , linux-media@vger.kernel.org, linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Thomas Petazzoni , Paul Kocialkowski , Richard Leitner Subject: [PATCH v2 04/21] staging: media: tegra-video: improve documentation of tegra_video_format fields Date: Mon, 28 Nov 2022 16:23:19 +0100 Message-Id: <20221128152336.133953-5-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221128152336.133953-1-luca.ceresoli@bootlin.com> References: <20221128152336.133953-1-luca.ceresoli@bootlin.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750754265415056761?= X-GMAIL-MSGID: =?utf-8?q?1750754265415056761?= Some fields are irrelevant for Tegra20/VIP. Add a note to clarify that. Signed-off-by: Luca Ceresoli --- No changes in v2 --- drivers/staging/media/tegra-video/vi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/media/tegra-video/vi.h b/drivers/staging/media/tegra-video/vi.h index 183796c8a46a..dd35c3ac992b 100644 --- a/drivers/staging/media/tegra-video/vi.h +++ b/drivers/staging/media/tegra-video/vi.h @@ -256,11 +256,11 @@ enum tegra_image_dt { /** * struct tegra_video_format - Tegra video format description * - * @img_dt: image data type - * @bit_width: format width in bits per component + * @img_dt: MIPI CSI-2 data type (for CSI-2 only) + * @bit_width: format width in bits per component (for CSI/Tegra210 only) * @code: media bus format code * @bpp: bytes per pixel (when stored in memory) - * @img_fmt: image format + * @img_fmt: image format (for CSI/Tegra210 only) * @fourcc: V4L2 pixel format FCC identifier */ struct tegra_video_format {