Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp745864pxp; Fri, 11 Mar 2022 14:02:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJwIkYlv8gL4wJRt1sCp+zfQGLZGEc+Yh6y/U5i/oTaT4H6MH1K8XB+HXsnw0cFYHchefbjJ X-Received: by 2002:a05:6808:12:b0:2d9:b7dc:cddf with SMTP id u18-20020a056808001200b002d9b7dccddfmr8116208oic.77.1647036163187; Fri, 11 Mar 2022 14:02:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647036163; cv=none; d=google.com; s=arc-20160816; b=sBnnN7T69qyOfDXgGSb5Nj+ZEMIZTMvDUfuOs7iB6mJEW1HZSwJzTiQNVKc8j3N8bC U9p9RWmxuRI6azuNdfewuv8ZnBJCWdwlowqvg2h4gDF1EFv8i5DvE8ptVnPRvTqaebak 4OjDIQXBLoIAoZqbwTepOubiBeDstzW+BOP/Sl2L37pq9jXXlL64Wn9gpZkxnp8eYUJi 3ZSbiNchIdbd9ReSP/ZEA/yCra6DRQV7KZ8gu/6YFPTxLUiMGdnvkeAZDoKBCebPp4W4 6rp60xZSuaOIjaKVWkgEjniNGOMAoVg6E6zDrKtOsr4dd3PW6JWmS7XCpdhwFeGWQCUJ 7FdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=8P0gKFzpXmLNLwTPchkkb8DXrDqEx0EfepqtXPgY0f8=; b=sRpvBNpqNr965Cw5kyQcFb5zXveIssFvghFsxmvCuT63MZjBSfJuz/JJFBRcx+44ak fZCLLzRAqfuQ6uv5MJW0qD+SvdC5BZ9NpIAEkwVbXCx97Nzd70DaZEcHSxVxEEc/alma gY4uI47PJdbbicwiGoO8Jf23mVz3fretNpqUhtrlKMgDRLx5BAqFej7rFFWo6pJ3tCu+ rnwr66xJ8miJdrOCgFaDxKLQ4JrMwXD/GhcynBKkqj80M0nTmTOVDViGzpa7XtkOMMGZ 12W+nmFpH6tcJYF4LgPfHL1VWqOJKWCSmDJsRK0sgfzUWMIhOaqXIn498MAFhhu86XI0 J3hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=Y3NACKJw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f6-20020a056830264600b005b22a0541b6si9230698otu.152.2022.03.11.14.02.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 14:02:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=Y3NACKJw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 276972FE507; Fri, 11 Mar 2022 13:18:28 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235340AbiCKOLA (ORCPT + 99 others); Fri, 11 Mar 2022 09:11:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239350AbiCKOKt (ORCPT ); Fri, 11 Mar 2022 09:10:49 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23CFF1B1DD0; Fri, 11 Mar 2022 06:09:38 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B6BC761ED5; Fri, 11 Mar 2022 14:09:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29B74C340EE; Fri, 11 Mar 2022 14:09:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647007777; bh=YrrnYq7xL8JFq0xja3ewNHJ+8MIXWdxCPWeemCfhNyw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y3NACKJwHgLhSOPkNeLuy9wIZy5Rr76+49Ont7CRKg8gpURKOTPP+ixDgyK26mGwF RzBVhSi7fCj1szv98Fx8Sv9nei+KUe8kfcBZIfMkOV+MLvagCFRgNreBNnGa0EWOd6 65rWU5ReD+b+ry30A3kXtvk3vf+F31QDKpeVYNCcxr3WsTNvYm8qnoV1DS5lkByq/y bSXASE8V1b8nss6H3mc57a6FW8cd8W3s54sSGgTtVET8g5n1A8zpmcVJS+TNc3h+xb WOsuyR9W4jKWe7t9zGzzXLiGGwahplZrgz/I0XeVurArOY3FaErCs/2NTwKDvYjDg4 OA0D7x5ikbUkA== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nSfxW-000lH4-Tq; Fri, 11 Mar 2022 15:09:34 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Dmitry Osipenko , Hans Verkuil , Laurent Pinchart , Michael Tretter , Ming Qian , Pengutronix Kernel Team , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v2 11/38] media: platform: allegro-dvt: move config to its own file Date: Fri, 11 Mar 2022 15:07:24 +0100 Message-Id: <96c538dfdef76361537c27993df2ed4e497d807c.1647006877.git.mchehab@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In order to better organize the platform/Kconfig, place allegro-dvt-specific config stuff on a separate Kconfig file. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v2 00/38] at: https://lore.kernel.org/all/cover.1647006877.git.mchehab@kernel.org/ drivers/media/platform/Kconfig | 17 +---------------- drivers/media/platform/allegro-dvt/Kconfig | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 16 deletions(-) create mode 100644 drivers/media/platform/allegro-dvt/Kconfig diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 87ef4fb68bdf..e795a0862841 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -36,6 +36,7 @@ config V4L_MEM2MEM_DRIVERS to capture and output drivers, which use memory buffers for just one of those. +source "drivers/media/platform/allegro-dvt/Kconfig" source "drivers/media/platform/nxp/Kconfig" source "drivers/media/platform/renesas/Kconfig" @@ -185,22 +186,6 @@ config VIDEO_TI_CAL_MC # Mem2mem drivers -config VIDEO_ALLEGRO_DVT - tristate "Allegro DVT Video IP Core" - depends on V4L_MEM2MEM_DRIVERS - depends on VIDEO_DEV && VIDEO_V4L2 - depends on ARCH_ZYNQMP || COMPILE_TEST - select V4L2_MEM2MEM_DEV - select VIDEOBUF2_DMA_CONTIG - select REGMAP_MMIO - help - Support for the encoder video IP core by Allegro DVT. This core is - found for example on the Xilinx ZynqMP SoC in the EV family and is - called VCU in the reference manual. - - To compile this driver as a module, choose M here: the module - will be called allegro. - config VIDEO_CODA tristate "Chips&Media Coda multi-standard codec IP" depends on V4L_MEM2MEM_DRIVERS diff --git a/drivers/media/platform/allegro-dvt/Kconfig b/drivers/media/platform/allegro-dvt/Kconfig new file mode 100644 index 000000000000..dd528e9d0958 --- /dev/null +++ b/drivers/media/platform/allegro-dvt/Kconfig @@ -0,0 +1,16 @@ +# SPDX-License-Identifier: GPL-2.0-only +config VIDEO_ALLEGRO_DVT + tristate "Allegro DVT Video IP Core" + depends on V4L_MEM2MEM_DRIVERS + depends on VIDEO_DEV && VIDEO_V4L2 + depends on ARCH_ZYNQMP || COMPILE_TEST + select V4L2_MEM2MEM_DEV + select VIDEOBUF2_DMA_CONTIG + select REGMAP_MMIO + help + Support for the encoder video IP core by Allegro DVT. This core is + found for example on the Xilinx ZynqMP SoC in the EV family and is + called VCU in the reference manual. + + To compile this driver as a module, choose M here: the module + will be called allegro. -- 2.35.1