From patchwork Mon Jan 30 14:15:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 50312 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2203885wrn; Mon, 30 Jan 2023 06:19:33 -0800 (PST) X-Google-Smtp-Source: AMrXdXtT2SRV82hs9E3yjP9+sZIScPKPwAGmTcJ5wNuAv40NNF9KTcv+Spv/V3Wi7HFuw/tC/jaK X-Received: by 2002:a05:6402:449a:b0:499:d1ca:6d83 with SMTP id er26-20020a056402449a00b00499d1ca6d83mr52604599edb.2.1675088373385; Mon, 30 Jan 2023 06:19:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675088373; cv=none; d=google.com; s=arc-20160816; b=a8+BwN1Sww0euOfud0AaK5W8jO/Ls+dWeweLcHZ7Vxyoxw/ob4aFX4qn2+WW7rK2xo 8bxgUIv28fj7JFbKyk//dfY7ZlodpVgr/bAHXmgX8Cj/B7/N2b+MPY3SwRmg3VH4ToWa ZyLqlUJ0eS6LpQT2tdeQMAf8XrIp2OGQxBUvcf1pHwyp3xzgn3IMYE6W6Hgd9kdTmOOt gRtnPFmiJe92k29vt4n1VrOFa0uoCbTp6hb6WV9qSajV3VJdXzobO5e0+KppaFuG5xOc khKCqBfkgpL6WcWTiwe/IXSqFHl/EWEbUEAwzXrDy/z18+cFc5pxq5IZUwqKdWuE8cZI vNuQ== 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=LS5vomXjVpVy5vUxgvr9Snjb35gKgVrb13Y7ThCyles=; b=Lw454xHr7V9xgc+WlEfsvphZnWZ8i4VyLj7B5tnTERlxH8d5JiUw+v/2YZz4qaxIGs jz2C831eqdltN8790Tze/HxBt9IPakSt/lD6CR50sGVN9p6+BT/EdSnT9Zy5nqvVA+ln GGL+AoxS6/YFQMn+5JxzJafLYeOosRs00yTIbPMHTR06CXPayDO0DBIB2gbQIk91x8ji lC1136aLYXSrU1K4Mf5F9j4iaexSURplTugXUBSBPVWPbD0fEjL1rqC7Dv7CyvWiUOZ1 tgPqLweSMmFFygoiZTtiEmBvXKaKBfyjsZD0pRu87UalVkpQROBcSYvQKKX7k96Lb6WB Xyaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=emZ5wujS; 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 ey3-20020a0564022a0300b0049e24913887si15730800edb.356.2023.01.30.06.19.10; Mon, 30 Jan 2023 06:19:33 -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=emZ5wujS; 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 S237441AbjA3OSd (ORCPT + 99 others); Mon, 30 Jan 2023 09:18:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237543AbjA3OSE (ORCPT ); Mon, 30 Jan 2023 09:18:04 -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 73D653E63E; Mon, 30 Jan 2023 06:17:24 -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 D5E5E10001F; Mon, 30 Jan 2023 14:17:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1675088241; 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=LS5vomXjVpVy5vUxgvr9Snjb35gKgVrb13Y7ThCyles=; b=emZ5wujSkaPd0exc6AXIQkqtPyXwJ9O8rIZmAm/m/BFeYRIiwngcZz9tBGlpij3WNh9+0k FYGT6OPw6xk63kpdtMTAxJxwjcV9KiF6L5nzgfjcFWF2iVd1odV/AYKgjlpChSyePmKjF6 rwOXaPNu0ufQ4cQug2JP9Sto8b/KzfJrfFopWkKKFrFUgN61v0oWVl/Gkbkk4rNnla7OfN Y2+AQRu2hx3/fRxbTfC0Y4Z4qYWOZw5OytoTIdP14lIQIQ93vGCMacBJLbXW9lnNtS9/68 EjAxKfYGpDoRme0G/haV1rXsDVvDbTUjAN4uM/1d1Hmi6XodIjL8g22v9nd4Jw== 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 12/21] staging: media: tegra-video: Kconfig: allow TPG only on Tegra210 Date: Mon, 30 Jan 2023 15:15:54 +0100 Message-Id: <20230130141603.323221-13-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?1756457466078017546?= X-GMAIL-MSGID: =?utf-8?q?1756457466078017546?= 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 Reviewed-by: Dmitry Osipenko --- Changed in v4: - Added review tags 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