From patchwork Thu Mar 9 14:43:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 66914 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp341390wrd; Thu, 9 Mar 2023 07:07:45 -0800 (PST) X-Google-Smtp-Source: AK7set8FAxrqCwz09q6OTcVTzK4aD9wPCTTac9BTQUCjnocTaMXXz0tsrIMA39z5KhAAqjTEFfqs X-Received: by 2002:a05:6e02:1d13:b0:317:d91d:93b with SMTP id i19-20020a056e021d1300b00317d91d093bmr19230102ila.13.1678374465103; Thu, 09 Mar 2023 07:07:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678374465; cv=none; d=google.com; s=arc-20160816; b=X+ZBmAJdfmtl6SCieGSuYlK0IaZYEP2W9N4Gx2r0uc9K5kPR5WSdO/v+Ba2+M/vWol TzUrhBGEwtjLgmguCSwBQymc6uHF7VvRCnIVtzNARP4ROAljX5FSQhu1vksYz9Ws9sKg Gr+/zBBKUgxxQd3b+u2TmUC1FhvP2VtT4l+nACXYvdaSa1VSc5rz/6UFabofCf7zwGhk n3CfK0ULjWYP0QR2RJP1oSbzdy1k0vjU/l36MLvnhDvk5c507aM42887RvkB5aUgv3LG ddO7pSRC7sVeBye4ZNtHVnW7wWcPexnrDg5/k2xNrH6kxoX+Fuupn2itKALT4kwhgVnQ bcLg== 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=hOQZJz408UwYZhxZwOIRjYr3w0GQkBJDX+yhPD/MzMIvi8FheIER3aLH9zSCyJb4GU imhtulOtPi8MOqQ9i75QVs1PugHTAF9w4sfwxxQvI6v0bTqLXs61G/vtnj7vlZaBJy0m Vu5uVCeoGb2t2UHJqXh3X8QJDtogkN88HX6pd+Il0viBAU7YYOQiuVbNMBrMiaYjyDMb BG6I3YxM/QbZLLUE+q0S1EYESX8y7bi69C1EzZMfvAI6IYbbWJzQuKwhVJvK8XUpxL3W /2NloOXEzEmzab1B7nRbEotrLPrbn7lsBN+SWJFkDO4N+wrFe/axsWbrcW1v6qTojKlD fjjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=aTNXawSu; 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 q14-20020a0566380ece00b003c51893f1f3si16613577jas.64.2023.03.09.07.07.30; Thu, 09 Mar 2023 07:07:45 -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=aTNXawSu; 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 S231919AbjCIOpQ (ORCPT + 99 others); Thu, 9 Mar 2023 09:45:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231906AbjCIOo3 (ORCPT ); Thu, 9 Mar 2023 09:44:29 -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 520187F033; Thu, 9 Mar 2023 06:44:03 -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 F0C17FF810; Thu, 9 Mar 2023 14:43:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1678373042; 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=aTNXawSudwJXUBEVv8IBeXw9QvwJkyslNX6e7Ii/uQ2juNLIb79AsGJrB27tb0nM9toA5A 976vUN8BeBkfa008O35gNoe2nVji1QZbhaolZ6+J0C4O+4gD+lXVIz8gPHT5FNn9xWvfwT 3ZdRJHN+0LkDRmBFOyWG7AQpkgB1NXvvoxOQRCUm91++dmvHgHQ7dO+plPJ11Yl0QV3yIh xllhBpgL8pUbhvyT7jSYBn5niBu9s1obli4nIphL32aRPheWEUEA0Eyl5hFIYvWo0YYkcR B6R34l2s4mGfw740Mx7KXa4hRIw28+nbTLx/l2Y2bdqm9rc0XxV3urWD7zXh1A== 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: [RESEND PATCH v4 12/21] staging: media: tegra-video: Kconfig: allow TPG only on Tegra210 Date: Thu, 9 Mar 2023 15:43:11 +0100 Message-Id: <20230309144320.2937553-13-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230309144320.2937553-1-luca.ceresoli@bootlin.com> References: <20230309144320.2937553-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?1759903183523769860?= X-GMAIL-MSGID: =?utf-8?q?1759903183523769860?= 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