Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3315047pxp; Mon, 14 Mar 2022 16:23:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrEIQzP8zuIZ4yrmuXGg6D92k7BTYIUzd+mHpSJ6bCBGbXIZu6xPEoB/eQRks72KLrym49 X-Received: by 2002:a17:906:3117:b0:6cd:f81b:e295 with SMTP id 23-20020a170906311700b006cdf81be295mr19556877ejx.511.1647300198209; Mon, 14 Mar 2022 16:23:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647300198; cv=none; d=google.com; s=arc-20160816; b=gOPbow5XHudxtWVK556GdXLOwEjDxjtmFo9GGuGb037h9NzomWFu2F2odM4XYYO0KB h86apkx5TtWuCbqYHLDXKo9YKYKx0dfj6IMY+YkQUjvcoHReUsfDFAyZpu8TuBYgo9RC g0mJnnsIuFG58Oo57v9/2d+oTPdyXsJPtU+OloyB9DuTG5SxMvBODk4/dB/Jc4jasfX5 czVGZClXmkLpzsUgh5mN/5fBxIx79pGoApd6tKQe0LXbGKOflfx8NIE6g8G4c31HG4wX e6JVbPWRPJ5cKIcPJ5In3iNXFX+iML9PK6zqg62WMkizYXDdV5vipxVQEdnMM5UNlqkU O7vg== 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=tUmy7dejOg1EDmIvZSXKjpa3vZGihSqURJMiQ7Yf0So=; b=vjhqfHmAkNI80YKu/9Of40iiFPrefBLA5xSLpCPPLGsAk42WW7iucrLsS8bkXlTUN8 L53HRBMHYWz2dmkio3ZUVRwd4pA7i1+Yfs7GinwHkdbtqOgYACMWqbgn4uggz9vY6r/j dMzUEBO8urqr91DnxZRoh3jOQn/5IgeKyhjNTMlTzwLRLbNZYGOjawEd92f+SN+trkSg jSsPCkjAyI38wgjN1Xrp7SC3aVvVQRkKv+tmGzSXtJX4JMzzTiPyNvuOPRoxifmXvsbW clEe357V1jjyH7+WBbsfbAO+0vnqp/0V8VOQovYvJ3acOZxr+OpFKVS/2yw0xmRVPiZp uZiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=ROJV72nQ; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mj4-20020a170906af8400b006cfe5c91e1asi9752810ejb.110.2022.03.14.16.22.52; Mon, 14 Mar 2022 16:23:18 -0700 (PDT) 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=fail header.i=@kernel.org header.s=k20201202 header.b=ROJV72nQ; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243235AbiCNQgg (ORCPT + 99 others); Mon, 14 Mar 2022 12:36:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239516AbiCNQgU (ORCPT ); Mon, 14 Mar 2022 12:36:20 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F08A311C24; Mon, 14 Mar 2022 09:35:09 -0700 (PDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id 9E3FDB80E6F; Mon, 14 Mar 2022 16:35:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2096EC340F8; Mon, 14 Mar 2022 16:35:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647275707; bh=4ZZeF89BWiFeaRGqbHCo4gFM8pv8gEt4whdo+S5ROH8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ROJV72nQy4tz7OC7J22vGTBHaVjc0k5uVJR3niFihGQv22mTs4nMvJ5+rtaEychZy Hnw1R++QB5qKtPItV8+58S4caeZX0OoNt7JqGG93U2sZOBG021Y5pCpRUHx4UJx79k 88eejbXK0PQKVI3GcNB3L7BLvnJ9vznEOQGJPAx88cSoJfRQEkQIlaY0h2maW3Eail Nw0uIY42vqHD0PwbbVQgLCXUERnTUPFOeuJwosTGOAHKA81NUC0fIce0z1+PUQgwsM 8I9BDG7dg5PBgaF0fXaAd7curwUaDyPbgdmnzGVZkF2Sl1ThUaNfTWxpcAYaBPG39W kKFNBy+nrON4w== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nTney-001wwp-RZ; Mon, 14 Mar 2022 17:35:04 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Dmitry Osipenko , Hans Verkuil , Jernej Skrabec , Laurent Pinchart , Michael Tretter , Ming Qian , Pengutronix Kernel Team , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v2 11/67] media: platform: allegro-dvt: move config to its own file Date: Mon, 14 Mar 2022 17:34:06 +0100 Message-Id: <5a20fabf71d7aa1fe2a72b5f69671ce99f003c0f.1647274406.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=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 --- To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v2 00/67] at: https://lore.kernel.org/all/cover.1647274406.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 b6650caecf45..25e5ae27210d 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -29,6 +29,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" @@ -176,22 +177,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