From patchwork Thu Dec 29 13:31:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 37389 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2402752wrt; Thu, 29 Dec 2022 05:33:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXt6v0DK0A4hKL7dMyn4hMptJVnsYDEmxIl3iX/+ZpPRjm/qLpQk0WGNyr+5nQoN2rbCG/jr X-Received: by 2002:a17:90a:b112:b0:219:813a:745 with SMTP id z18-20020a17090ab11200b00219813a0745mr32029719pjq.33.1672320816984; Thu, 29 Dec 2022 05:33:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672320816; cv=none; d=google.com; s=arc-20160816; b=C1q9HEW9HBvyrdMZSUi0iWOsRLO27ibKi0a3VqqIUbw2SiQExkozA2zKRvrBGCB/H1 gDdl42fbX8D3KTeVZ3xv412NMXPnbWWKisVQzgxSGR/CZ2a3AcIywwV+UUK35QSDkIdM uiS/A1BjNvQDPM7tJJodOtE2+phWq2rjc1OJXgAiOnFQ6ULq6tJ8//SdpD40V0Dj2FP6 slBiXUfzK7AqqOFLixVCrFJZJOZsXrbUqvrCc7dPn5v4nMTfZ5zo+R76yLu1L1VbjXNS fUvRqRurIBxdyvrGKPPcDZbVvB9Zj5kRNNNH9RXTNYCTroWQKkc72elkT12ZlMYigNX9 YxLg== 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=p29c+GUNfmZWBqKxZlRywO6eW34k23duVEnJrnJGZho=; b=ko6iasZuV0WPraEGcrZNmim/zCPC7UwC4B6mKVFsHzCe7kGCn1VmrglmRlSUGSwxEt 6JPQ775tGdiSoyRQ1EZqypaJAwjNKl8Gsc9UfLrFr+XPxy+C8vh1UICFdQcp5E1/v0mV Z0CB+E+gyhViIPr2Y+fFJUUBO6YMhC1LHM+tJT9F9oPCj2a8OF+kYUnzvTj9Yromop7C yK95xTEjthUNxtBeeNnU+ezA0BIKapL53qu4RACtIVOdFmEFwm5TT2ehi3667zJWumCO zumJgm2hl/6/kdNH/zvxUp0mDcKfvI6ytj3l6guUnXV1G8wjgTm53x2lZ7cJTlhm2nEB FE2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=SqK146vn; 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 oo16-20020a17090b1c9000b00205d58e9125si21393930pjb.68.2022.12.29.05.33.23; Thu, 29 Dec 2022 05:33:36 -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=SqK146vn; 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 S233387AbiL2Nc7 (ORCPT + 99 others); Thu, 29 Dec 2022 08:32:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233337AbiL2Nc1 (ORCPT ); Thu, 29 Dec 2022 08:32:27 -0500 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07C346240; Thu, 29 Dec 2022 05:32:25 -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 12923FF811; Thu, 29 Dec 2022 13:32:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1672320743; 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=p29c+GUNfmZWBqKxZlRywO6eW34k23duVEnJrnJGZho=; b=SqK146vnktp4ptLaybN8gTF2MzLGHYUJjxGUckp7aDN8yZ/wPJf85YOCogpfowN3L/42ZE 9c2h/Fctpo9xJE5hoPiwwzyu4tGZlYwzAxc/QSdLtE8A5KyyA8FLoMp7pX0ibzS1M0sRH6 pmCPvLSx07/QGmbpgBVtC+WNYhSN5CPfA9UPc+sZZQ6Q3znpJFimREAsVHBueL/wgldBq9 tHrDEG2/txi7GZ4WClQvLqUKCSU7UnYFUnAuzhtCbdq4dRBTrKCUsupQeKcNd6evwZe3F8 FM2lyjwer016kpGKYDPW0zJvaZ5uS1ZXKExJcp1NhzzFijlLMgw1b3zsOmO4yg== From: Luca Ceresoli To: Thierry Reding , Jonathan Hunter , Sowjanya Komatineni , Luca Ceresoli , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Mauro Carvalho Chehab , Greg Kroah-Hartman , Dmitry Osipenko , Hans Verkuil Cc: 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 v3 04/21] staging: media: tegra-video: improve documentation of tegra_video_format fields Date: Thu, 29 Dec 2022 14:31:48 +0100 Message-Id: <20221229133205.981397-5-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221229133205.981397-1-luca.ceresoli@bootlin.com> References: <20221229133205.981397-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?1753555472690040939?= X-GMAIL-MSGID: =?utf-8?q?1753555472690040939?= Some fields are irrelevant for Tegra20/VIP. Add a note to clarify that. Signed-off-by: Luca Ceresoli --- 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 {