Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2767636pxp; Mon, 14 Mar 2022 04:41:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw40Ppkx8boT4iQDSMU73APZdfPKjkloWHjLF1UQLqMovR88rGeGLRM/dvMLYkWHq4hnDLP X-Received: by 2002:a17:902:eccb:b0:151:eb7e:465c with SMTP id a11-20020a170902eccb00b00151eb7e465cmr22915480plh.54.1647258089032; Mon, 14 Mar 2022 04:41:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647258089; cv=none; d=google.com; s=arc-20160816; b=I8aPeMCQanO29IQ7OTB2jqplb1cBEHNMfaCba6NTHIx9Lebqs+qBm+nFJRwOnna/0l 1uzVQ/oFJ/80ntLSlvPWCxpZa/GzdTMJw7O7eYWK4DklRnimnsrjgwygG9s7j9I6Fmjg ubtWnVPTLqTPhlpT6F/HImw5FVeZ7JC7vbOqt6MIsenHUf2fwhtZDcv051XSymKAelwS AtpLj0Oo3oeaDShO/CKE4HbuJCw7k2tedEXsBSKlsRy0SDvv1qGR+WCnao23mbG1xmXg 3IQJOhhO3zdbFwmCvBZ/QIViaDjvUb2MHUF+4thEqOflREGOlncIz/9vnFEu7YyWFA4V ipLw== 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=OqSKbVnHHSMOewfN1+4S5dQibGbbxaY12ozu27u6U/w=; b=MwsysVeWNYtNgxRztzYmRXeHhzMj5l0EDc+MWScSR8+AhYhQSyw57U8yd9HzUq7uQC UOOHeXZY2hBZVz9WiSUFlz3oVVFtRWTgt2yimKIdF9QXpCs7pAAbl1/uO13EnbTEXhM3 F9CCeJb2k/YYBoNcU1eOVW/1l6Wyh3R4dudWP5xJ/J/wTxeoXmXfzZq7Y37kVIuBvgwO AuTmg/WVJ62T/pbpzXn1qhMba/fo5nLPSC4veOJXOH/gmnoZI36CLWHZ+cZl4CQvJ32i shLfVVFuWxKd6FsAQ1fUQCe57J8Jia5L5Um/OpzAqbwuXcNLnuYys8TkmEukwLP+oFK/ B+HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b="RaOPnE/H"; 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 f5-20020a636a05000000b0037c4b5f0e56si15012230pgc.377.2022.03.14.04.41.18; Mon, 14 Mar 2022 04:41:29 -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="RaOPnE/H"; 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 S233883AbiCMHYA (ORCPT + 99 others); Sun, 13 Mar 2022 03:24:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233766AbiCMHXJ (ORCPT ); Sun, 13 Mar 2022 03:23:09 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5FC019455C; Sat, 12 Mar 2022 23:21:56 -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 ams.source.kernel.org (Postfix) with ESMTPS id 71CD5B80B9F; Sun, 13 Mar 2022 07:21:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB93EC340FE; Sun, 13 Mar 2022 07:21:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647156113; bh=lq08p9gLPSiFtHlvgnK3Mc7VumY/vjnlV/dKELPDBiU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RaOPnE/Hl+fdQRfjYDQwuLbCxop/mwSfvrCFJu4AveHI4pjXwfNc02ygoZHkxf4sl LpnE99dzaCLEz2gMVfxvRx1vVpiXA5ny8QqN194LTSeMsKGf0Tv3Ity4XYvBjzYNfx 5tzju8s8xPSaccxSmhQf3TVlkc5h2Gw3bGIARjROjKdzTveQBB2EqpfFUgLeY8xNlC aWYgflI4AZwSVLP/fPdQTEtPddjl2VkdJJnP+Bs5Yx+ow+5i4+kTfmSi1bxeHEc00p QHv1I+T5fd7fRzYj7ReZsdrQYGxLNF3/i8ZYSQQ5mSowdbytdWsTBwguLeQU8JyNMZ C85oDgfzAKcrg== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nTIY3-0012wC-GF; Sun, 13 Mar 2022 08:21:51 +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 v3 11/39] media: platform: allegro-dvt: move config to its own file Date: Sun, 13 Mar 2022 08:21:20 +0100 Message-Id: <589e645dd3740f269d80a3a17de13e74794e7f6b.1647155572.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=-7.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 v3 00/39] at: https://lore.kernel.org/all/cover.1647155572.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