From patchwork Mon Nov 28 15:23:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 26844 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp5752100wrr; Mon, 28 Nov 2022 07:30:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf4eGgOiu75F9vY65vHgzwNTe/0cQTuLQAaYEjJA+rtpTPEQBGOaXnK7OE6CpZvHdj4MxA0q X-Received: by 2002:aa7:c042:0:b0:462:2f5a:8618 with SMTP id k2-20020aa7c042000000b004622f5a8618mr48155235edo.42.1669649449974; Mon, 28 Nov 2022 07:30:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669649449; cv=none; d=google.com; s=arc-20160816; b=A1rAZzmU/5w8WvLeipZXbZNPvGFU5dA8gFKEXC+Fo+SVuiNmX5uaOoal6mOn1KEfNR ZVqJP8IBuBVbjogqSQdOcQlfwqjUnmF9ueHDBIdF4NLUSkMiNY8qzDBm4o/F7evsrX34 UOWz5PHno5Gl3VGEXMsfp3jiL+19ehteB8XJWGCao++ZeJ0/TLaBHheykep/LgOKzijg cAVN10w1kxEKSUhDLrcxlnC2A9+BXhv+VDHO1yKbRaYXFBSnbLm19BaUY3CwAxvGeJTu zlz5JtY+vy/5LPSFBpjvgzH4kAhT+gmVf5rVbjmAJCWps7WvBZydhbwDQ8Ww2QjDsd/F pT7Q== 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=7GBrmkxGUxB90OXm4GjTfStVLla9ZUuwuKwKG2o+/lk=; b=pHdHL4mC/fMXFanzHWMCH3ry7mqpU43nKwvJyFlTL6ddo1cn1HLMFKwqw7ZcAIUurv cIJMg6sU6GGJhwYEpzhgam19Kwr6PQ3BG1AdVxg6Me3K/6EZGW+cbwmowr3wrSIQ5U/d 8NbXTLoSAIlMvgkqQ2mZpUc47ACHYWG8khe26rV3o5H8onrh8oh9FKTyWycTft3YUG3p UEajzQcMdCck/dDzEMoVp8lFach6yWs7YMWS5Qw/xKPWkVXmlz4UHPtIQt398fvkJgY4 JYBI5pDvwrByuhPW9kXly6hyDbExP5qL8MrYG7pXTvd4v5u1NTMdXQvxAhXvlp/7skmo kybw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=NXeyMEmb; 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 hc13-20020a170907168d00b0078debc9d30esi11650924ejc.29.2022.11.28.07.30.24; Mon, 28 Nov 2022 07:30:49 -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=NXeyMEmb; 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 S232080AbiK1P1H (ORCPT + 99 others); Mon, 28 Nov 2022 10:27:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231843AbiK1P0h (ORCPT ); Mon, 28 Nov 2022 10:26:37 -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 035DE240A1; Mon, 28 Nov 2022 07:25:11 -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 DE242100019; Mon, 28 Nov 2022 15:25:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1669649110; 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=7GBrmkxGUxB90OXm4GjTfStVLla9ZUuwuKwKG2o+/lk=; b=NXeyMEmbp4qKoa/ZO0xNT9bueu0uHpG7m9N/wxlNvQx7rXHiM/b2a1/Nplufw8q4rHIMfB A/7onnKi+/WXuoxBPDZ7rMnD0UnGH+6kJPwiHGHRfm1vPjJztl8hcnFDPD0+aN49H7jCW2 cMvxGuGUmkZIaEu5bkD4+1IQIhTvEDiQUCGEPuMUuD1pGaHAK4O/FD2RfoFgKV8UODeLNZ kj+Y/sUiZG0G0KsYU69qyghSXBYIiY2mnetog3tsK8B4M5g6q22wMNVQVJFfBDdHgJuth1 IqxSKqUZWjTy/6Go+b9r+q2IyuCnwRIxDl7QsMjwwdyiA9rEaBJH8gwaSNSYdw== From: Luca Ceresoli To: David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter , Sowjanya Komatineni , 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 v2 11/21] staging: media: tegra-video: Kconfig: allow TPG only on Tegra210 Date: Mon, 28 Nov 2022 16:23:26 +0100 Message-Id: <20221128152336.133953-12-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221128152336.133953-1-luca.ceresoli@bootlin.com> References: <20221128152336.133953-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?1750754341153828454?= X-GMAIL-MSGID: =?utf-8?q?1750754341153828454?= 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 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