From nobody Thu Dec 18 08:52:36 2025 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A19B3502A0 for ; Wed, 22 Oct 2025 14:21:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761142921; cv=none; b=qslCHOcbjHhYbPrDkzBNMboN0rY8zA/G06CZglYcB9uq0t9x//pFvCZ0dG81T08zkZFMg2Ry3uq5mhtDh/p48wKeYHKPEGwB7/ayZC4QO1dXfpnhEn+3g9lsj9H9RjgoqUfp/l17cYhJK+Q/PsfKDi8iQew2a/j4wpqXwDLHQeE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761142921; c=relaxed/simple; bh=vH0xJgN2W2szoe//wNhYvtT1BAPozP86dafTWttSucw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cKdKHuphOUOyu3HdrasLmmSyKhASMSgKesXFWk8Zg8+2Vsfoub3KlqMM364KMFMA2qYkm66lumWI2Xsu+Fiq4f/9DZEXgdZ/auCN5F37pHl6gb8Iyn4DCf5VROBoSvI63cIckxclJVclpXsy1VqSa4YGfi/e23zKTEN8Szh6sYI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=hYXZiVV+; arc=none smtp.client-ip=209.85.221.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="hYXZiVV+" Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-42701aa714aso4192812f8f.3 for ; Wed, 22 Oct 2025 07:21:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761142914; x=1761747714; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PAqyge5iPysoNexKPCog6vdhewd7fraGc+GRNda+uus=; b=hYXZiVV+NzC/JWaAHkyCwNcer5ruwq1gcoFh+6avL7XUhe8n45TZnlY/mQ8FvXhbYA lXt+DD/etB3MZv2gqG6R+inWhzJ6XRSlk9BnHuEYZR7usExKaT5zuii9JnVMJnOaVSsM mPnIa9jW3mx4B83CVlyxIwaE26GagxUHfJbQ14K02msYBfNow7xxrd055DOygP+t7/hk p7+uWgfihLdmY8+rqSjk3ZNMxRfcMLoPeEfcB45AHVcrQxw3wKirzY0gczw6uUGCpbj9 Izh6i0RQAMdyLKN8cXds4YsPpd1sK7yHj/ipOE1+ChL9eXVPwsidHO6O6Wn2qpzFge7R V5xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761142914; x=1761747714; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PAqyge5iPysoNexKPCog6vdhewd7fraGc+GRNda+uus=; b=j7bDOOJ55dsfiZ9zrUQmc6IYWqUJyPVS6MypZP788GefCNbWTL9d82RgMx4EVQQLW0 wTdbUJ6M9IIFGHodmnOjeDIki3U/MtEJ78feAsSQQZPfjPWJDescrYvI//KKtA5KdQ61 psWX1y+NRyuaXkgfti2SK0rzLTat3pqvsFbm8Ni1g+A2C5We9Ac77R9+MPyjHFV3bxwU XXCnTuKVHKc8c9FSwn0wOkzgoFsJlyTDVAKFyEaObEWPxi0skqjkd0iI76pQbL9Ne2oJ dJdpmjZ58IgU0GSNd25XEpGPvAeK5MgaPQZAec9Gh/XSqx4unGVU7lV4Lw2pEIWliRVr +dNw== X-Forwarded-Encrypted: i=1; AJvYcCWg0KX5nKIT0l1W5G2J94lJ4VJRkR6rgeAfv8HbvMI4Z9VBA5minsa36qPPbgz5y+2YQ2M7z+HGBI9F/Ro=@vger.kernel.org X-Gm-Message-State: AOJu0YymziGdp8TnrbNG0oFyJm/x3pw7kkDm6okQJZVxhIDhgZt/lm0H g07MfDWVf4rlvCtXFK4Yp8oYwPbZe0d4BzMg8N32Y9mJ0nqGZ8Oz/YDO X-Gm-Gg: ASbGncuAjazck0lilRyEURltZXVQvAuGNPd/knq6EqCUreN581BmpRwvK9k/lbakyxN pA9fBjWvOhKoIsJIVbucLDmi8xiVru6/VrD7VdscWbBW+X3JISUeweejit7fNqPG+sRzTFWcMUX k5fjD98xKaE1PfGAkNLt2Yctl09xriNl7XFEfzKq6O/jq3rhsjojTfFj0M9HaqAB/IdkyG5i2+m 7zCnIYAG7F+Ld7dY0R6nGItA7HxRrtMlhbGr+FS7Gfs9FqrnMy16NP9WOCUZ27IJmxhAuQWyg+R PLbx6dujM4YAiFDBd7Jkx8SHVydfiVh83eEKXscBxbiHJrLDGoNlOAB7l2PlNtsAdU7xSjCCB0n P1xOXY+vdH7uopsa3bA/J2rMEtd3oE/bRgca4B4Q4EJsCMNFzp4R7UGIFchXQ3J5HN/09mMwtUq Clag== X-Google-Smtp-Source: AGHT+IGVyh/0Lq21fHxZjLwl88/dShL76QWY1ZVpGVbU3hFOea3guFlvCdv+uCzmXqru7Kjn7g1lZA== X-Received: by 2002:a05:6000:612:b0:426:dbee:3d06 with SMTP id ffacd0b85a97d-42704d55398mr14180974f8f.22.1761142913609; Wed, 22 Oct 2025 07:21:53 -0700 (PDT) Received: from xeon.. ([188.163.112.61]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-427ea5b3d4csm24803518f8f.19.2025.10.22.07.21.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Oct 2025 07:21:53 -0700 (PDT) From: Svyatoslav Ryhel To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter , Sowjanya Komatineni , Luca Ceresoli , Prashant Gaikwad , Michael Turquette , Stephen Boyd , Mikko Perttunen , Mauro Carvalho Chehab , Greg Kroah-Hartman , Svyatoslav Ryhel , =?UTF-8?q?Jonas=20Schw=C3=B6bel?= , Dmitry Osipenko , Charan Pedumuru , Diogo Ivo , Aaron Kling , Arnd Bergmann Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-clk@vger.kernel.org, linux-staging@lists.linux.dev Subject: [PATCH v5 17/23] staging: media: tegra-video: tegra20: set VI HW revision Date: Wed, 22 Oct 2025 17:20:45 +0300 Message-ID: <20251022142051.70400-18-clamor95@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20251022142051.70400-1-clamor95@gmail.com> References: <20251022142051.70400-1-clamor95@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" According to TRM Tegra20, Tegra30 and Tegra114 have VI revision 1, Tegra124 has revision 2 and Tegra210 has revision 3. Set correct revision in tegra20_vi_soc like tegra210 does. Signed-off-by: Svyatoslav Ryhel --- drivers/staging/media/tegra-video/tegra20.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/media/tegra-video/tegra20.c b/drivers/staging/= media/tegra-video/tegra20.c index ffaaa2bb8269..93105ed57ca7 100644 --- a/drivers/staging/media/tegra-video/tegra20.c +++ b/drivers/staging/media/tegra-video/tegra20.c @@ -596,6 +596,7 @@ const struct tegra_vi_soc tegra20_vi_soc =3D { .nformats =3D ARRAY_SIZE(tegra20_video_formats), .default_video_format =3D &tegra20_video_formats[0], .ops =3D &tegra20_vi_ops, + .hw_revision =3D 1, .vi_max_channels =3D 2, /* TEGRA_VI_OUT_1 and TEGRA_VI_OUT_2 */ .vi_max_clk_hz =3D 150000000, .has_h_v_flip =3D true, --=20 2.48.1