From patchwork Wed Nov 9 14:18:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 17579 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp360214wru; Wed, 9 Nov 2022 06:20:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf676g6u9PbmZdszgXzL2bMk8WBzIMd99RrYjySR1dn1eBiLVBzrqkB8N7I4y5HQ8b0Xeg62 X-Received: by 2002:a05:6402:1d84:b0:466:7ef1:bc0f with SMTP id dk4-20020a0564021d8400b004667ef1bc0fmr11787903edb.12.1668003650230; Wed, 09 Nov 2022 06:20:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668003650; cv=none; d=google.com; s=arc-20160816; b=v1r2fxVj584XeQFiRjtWJSJ5W4UIAzZpoYZB6RGZkI/h/ADBqCqnbs6KcuSouWF54H pQOfe72vGZROu7ceY+6tAY9viLvCXwDo8vyHsEdNWxXqkQMZFXJaT9gEnJVlQdDZ9Yb6 M0Ea8X2rYrRMwoLAM0lKDuhvATSNBqkkhpCGHdFV6i5tX6H6Uier3NbQvrQZC6PCO56N bPkDfmKFqnDCcGVLkVeY+lXCCEaikv5BROAps1SICL27X/K6QZva1tKPqEe++f2QHHb5 q0Gi/1u9Xaa30pQzDWiF3/C/okw13gqNxIEbKYIzIGrJKf4REraUBMzLZGAomJhYGVWt HD2g== 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=BJlzuVONFEpiaYrldIzh/q/NNHairzTg7dXH/ruzq4U=; b=FDWZARrz71Ma4kaqQJAOXEFivmHLg6ppjFX0PXgLD9eTkxWklWoY7YJL1MNLEeClIF hPoTBxmIrF2Mfh8QaR4r64CVVGnFA3RoxipAOuI+4jITLY02HIGNP9vzjweQN8aMfvD4 6jdW/Xb5NM4vzqIiEyzSaK54OPzsKIC34mPQeQD2C9H1rNgXs9jlXvXtViWshHyTgndp K6vEvYIBs7dDAu9GtuufkJW28rI37Aiu1sjGR8C5fzRJJXTrGFmgzQ2qfNLkb++hi0zW xBxYM+KMmBY4XDb83p/iv28a3o3rhtUqoobeqs356Mr528Q+sdDGSx4wGn1IuUfPFFKS t6Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=o6F8fyvz; 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 a15-20020a170906368f00b007aa6262f627si12304824ejc.640.2022.11.09.06.20.25; Wed, 09 Nov 2022 06:20:50 -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=o6F8fyvz; 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 S231221AbiKIOT4 (ORCPT + 99 others); Wed, 9 Nov 2022 09:19:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231253AbiKIOTp (ORCPT ); Wed, 9 Nov 2022 09:19:45 -0500 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2A601F2FA; Wed, 9 Nov 2022 06:19:33 -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 20AD5FF810; Wed, 9 Nov 2022 14:19:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1668003572; 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=BJlzuVONFEpiaYrldIzh/q/NNHairzTg7dXH/ruzq4U=; b=o6F8fyvzViN80butPvVwZpXC84UKR7GjN5NQ82XS+sU72u6cLrxeMuiIGiJyurEXqc/Bpw N+MzMlbjA+vznUbrYouCBdp8k58Oidykv/pvnvkT29+DEj/5QFSeosfqRd70WTXex0c6Hz GKmATB8Gk+2Ax00n40Mq7+6MRt0JgpDl8a4StvaBLd+sDD6iHtbAEx5r6+Or3Gho8egSRl z5frJDQ4K9uBc5qk3FjblsGmgk9S43S+gvp4LT8PiljWuy2G1YCD670M7p3IYlWt4t2iBy boxqxfkBKojS9oo4NFKcxUFNh9skPGdehq8t4THr+w0FQubANtr+O2+yW5kL+w== From: luca.ceresoli@bootlin.com To: David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter , Sowjanya Komatineni , Mauro Carvalho Chehab , Greg Kroah-Hartman , Hans Verkuil , Dmitry Osipenko 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 , Richard Leitner Subject: [PATCH 06/23] staging: media: tegra-video: improve documentation of tegra_video_format fields Date: Wed, 9 Nov 2022 15:18:35 +0100 Message-Id: <20221109141852.729246-7-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221109141852.729246-1-luca.ceresoli@bootlin.com> References: <20221109141852.729246-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?1749028595521357515?= X-GMAIL-MSGID: =?utf-8?q?1749028595521357515?= From: Luca Ceresoli Some fields are irrelevant for Tegra20/VIP. Add a note to clarify that. Signed-off-by: Luca Ceresoli --- 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 {