From patchwork Mon Jan 30 14:15:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 50305 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2202821wrn; Mon, 30 Jan 2023 06:17:44 -0800 (PST) X-Google-Smtp-Source: AMrXdXtGDoPabFFqPckO/GvkXpb/kjuryIPaF5s9FOzmAN+Fadz1siWLlJoAd+79fPczoi4MIRfS X-Received: by 2002:a05:6a20:6984:b0:aa:15b6:6322 with SMTP id t4-20020a056a20698400b000aa15b66322mr63565413pzk.42.1675088263714; Mon, 30 Jan 2023 06:17:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675088263; cv=none; d=google.com; s=arc-20160816; b=s3CwucJKJOxpQymcpgfYEwSleeUdQFtOfUm9CEaCio7Qy19XS0NzYB1qkFOK9ufIf5 kGi+mRhN4rHrmLJjcd9dxstxMuWuI3PvPoSbrrpRTlysTJxZW1JnLUdj89yTdv8y8txA MqjZJkGjjSKnXnE/AN4U4nUFAR6rKOiJKFfBfbmT2Socph2AKQcNTiuB5X19CVtsXwEz nN6B91cmquo8xMVRTlMjU4yJleSOf1hwSZaXIS2KDcU5PtEgnwHvLx2hH7S4ZnQ5ipjl pXOGlii2fdYCmHNj2jCSi/liO6apfGX6dNtCw9/7k09hyVStSBXzxFOhNrRCXUGzrk1L awsQ== 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=9N6QfVVrKZcw1ffwFaVTv55AGDMNh1cJeI7q8gczYrk=; b=Qm1fIwYmxCawcYRvOEaIv2Xg7P4SNJLXNUL0MeqRprmmTT1KApVt/udk3i40crvmYj IpBoqmufcFDRHj5er7zn/6pNzUMkHDa6Y7uUMuP9+douhwJGMyB/dp2t2dDhEFgcsQcY sdxcht4ulpmx6I1luECJ8AuibhJPQGsQEnrWHjalCisx89Ni3EaLlUGe/KhGcntDmapW DzY2GQtzDT+0XngzpjcsMbII6j1ADqSf/0+2XPI0EtdMmEtuQMfKhpAn2BveGspS/QzC V+gJ4ANeDnavDKlUPhvo2oaWvw1qE9PC38BQ+Mxe2zzDo0lVZ8o22AAV2FirIp6HrVq+ D9Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Le4Yg2cA; 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 s82-20020a632c55000000b004b9ff24ee40si12948875pgs.550.2023.01.30.06.17.30; Mon, 30 Jan 2023 06:17:43 -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=Le4Yg2cA; 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 S237404AbjA3ORL (ORCPT + 99 others); Mon, 30 Jan 2023 09:17:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237449AbjA3OQz (ORCPT ); Mon, 30 Jan 2023 09:16:55 -0500 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [IPv6:2001:4b98:dc4:8::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E95513CE0D; Mon, 30 Jan 2023 06:16:46 -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 BECA4100010; Mon, 30 Jan 2023 14:16:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1675088205; 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=9N6QfVVrKZcw1ffwFaVTv55AGDMNh1cJeI7q8gczYrk=; b=Le4Yg2cAZfh2xsngn/QVZVn3KCaXLRC3Uzn+0B52kgGKi9OGuyT6GHKx/xvJmCCZ0ek7Mz r18b1E5haDNRcbmDFdOYrKLYV9g2cihXRZDCEirjUePZ59rGrFdHSg/wWbnEQDJrBXFM1t OYeWkQlhCk2xznr6WzZdQLcYqHiQ1Y6DS+Pxho23GtLKqCi6MJ0mh3QroqfezYepc5h/hP ZxjdyQKYzWbwest0JRnQxXbdnx7b5tNgn//tmvwI1sk7ycP0tZYCn/HdLbXPWql+jLtTpu B5EKHG/Ag2DAT2ymOJCSTSmJigCdSEL4hZ1BtLdTb0BRZ7s0nuEOBv6H7EqUGw== From: Luca Ceresoli To: Thierry Reding , Jonathan Hunter , Sowjanya Komatineni , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , 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 v4 04/21] staging: media: tegra-video: improve documentation of tegra_video_format fields Date: Mon, 30 Jan 2023 15:15:46 +0100 Message-Id: <20230130141603.323221-5-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230130141603.323221-1-luca.ceresoli@bootlin.com> References: <20230130141603.323221-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,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?1756457351673486309?= X-GMAIL-MSGID: =?utf-8?q?1756457351673486309?= Some fields are irrelevant for Tegra20/VIP. Add a note to clarify that. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- Changed in v4: - Added review tags No changes in v3 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 {