From patchwork Thu Dec 29 13:31:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 37397 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2403008wrt; Thu, 29 Dec 2022 05:34:09 -0800 (PST) X-Google-Smtp-Source: AMrXdXubVm8KvdDCS2gXI80XHLXxGo2Qdq3q1YV+RxsLLmGYjpK2s3RVS0y7qhvM5J+bkNpv8Gq+ X-Received: by 2002:a17:903:1091:b0:185:441e:222a with SMTP id u17-20020a170903109100b00185441e222amr27026013pld.37.1672320849515; Thu, 29 Dec 2022 05:34:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672320849; cv=none; d=google.com; s=arc-20160816; b=Ju4Bo9OsqJxVKa8O6qm+sChtNfp0RZa5dpn6ECjdG9e12exFJLx5UQ5ZdCv0ZK9ZQ3 SOxOHDe6994u8nALaFjRjVqBCBWR8vQY4VLzR2CHX/A3TLIZOdUM+pdt3haBIO0JE8N+ LtzCe8ziuXPSQmE+QHHNu0EUwqTP06Id68F4OAJYZfq3rMuEETOIM8S3iyRijErM6bAQ YDTM6fagZNkg7c9XO5tO9HTmPwapCbHW8J28dlUptvMGpXfxUugxI3oFMjL0IxzfRfEw Qcla8mV6gtMlMRHEXEKsy5gcOWLptJKBE8fHC7jS9rpbm9RwFMGXDoG+SlK/x3G7sKKF womw== 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=QfVO7AZAqiYLzD7p45tSKrIhpVD/geNGM0ElIJ2Gj3E=; b=yUL4dxg/CxOXbY+qX0MIi76iWmaVpV3fw+eoo0JhB4PKYc0TrcPUV82kT4vArSfN0D dZYEAHb6lM0o9vamyKQHsCmLUun+Mfb3iijlHM9LMjaVldEq3KfF7VBs0xX4gZENUJFU vUQHxUYt9jX2wRxDX+ZEzWNMrzp1ktpUVdPrEOgGYX691YLs/FdvJJJ6U3yOme6nIXcz 8eMy3U6+HL/q/2qZzJSAjm74eAePrbKaTHGOv/3+79NuB6kbHk9VF/eNEhvt6h/TW1Hg s9p/3Hcwdt3jHpKBJCwvIZY0gVHjUAAIC2ooi93xsIpEqvTsOm74Qf46iohsfcl9ljt/ mB6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=hUJ1YvTr; 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 a17-20020a170902ecd100b00188f0ca6838si20570382plh.569.2022.12.29.05.33.57; Thu, 29 Dec 2022 05:34:09 -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=hUJ1YvTr; 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 S233536AbiL2Nda (ORCPT + 99 others); Thu, 29 Dec 2022 08:33:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233442AbiL2Ncu (ORCPT ); Thu, 29 Dec 2022 08:32:50 -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 390756240; Thu, 29 Dec 2022 05:32:49 -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 7086FFF804; Thu, 29 Dec 2022 13:32:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1672320767; 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=QfVO7AZAqiYLzD7p45tSKrIhpVD/geNGM0ElIJ2Gj3E=; b=hUJ1YvTr+vM7giGxSR71JfxFiibfTv+I4udvv9swMdkMw6kub5wVMADusVZJycjTI08Ie8 QM6e3xQIyYH7VwiUHriFfheJi8W/NxgYwpp6PgSiu7wJkrhBDLqLWPIYhlJOLU/SQ+aQLC RxD3AcRkcF2o7daa6C1+7P0Hit2u1aNs6hizknpsnTUxoGgbXj1/4vo9Aar/agVmLtZxPv hdvQSO6sBqZmjJmmvEIpL6WK9JyjMxgwxNpMU9heG4rtFbqP4D6+TvkOh9c2tSeWSEA01M 7tc9QzqlHaO+eThox6OU1/E7RXm2FQdexUeUE8S+N9OJ9k95EVYmEQJE3LFBBA== 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 12/21] staging: media: tegra-video: Kconfig: allow TPG only on Tegra210 Date: Thu, 29 Dec 2022 14:31:56 +0100 Message-Id: <20221229133205.981397-13-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?1753555507333708923?= X-GMAIL-MSGID: =?utf-8?q?1753555507333708923?= We are about to add support for the Tegra20 parallel video capture, which has no TPG. In preparation for that, limit the VIDEO_TEGRA_TPG option to Tegra210 which is the only implementation currently provided by this driver. Signed-off-by: Luca Ceresoli --- No changes in v3 No changes in v2 --- drivers/staging/media/tegra-video/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/media/tegra-video/Kconfig b/drivers/staging/media/tegra-video/Kconfig index df1b2cff2417..c53441822fdf 100644 --- a/drivers/staging/media/tegra-video/Kconfig +++ b/drivers/staging/media/tegra-video/Kconfig @@ -15,5 +15,6 @@ config VIDEO_TEGRA config VIDEO_TEGRA_TPG bool "NVIDIA Tegra VI driver TPG mode" depends on VIDEO_TEGRA + depends on ARCH_TEGRA_210_SOC help Say yes here to enable Tegra internal TPG mode