Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2704484pxp; Mon, 14 Mar 2022 03:10:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysIIyFpVOMJwkc8GNnhy+lormBTYU5bCz6CnZU1SSbmCKsUxO2pKqiT7IvzmtwEUg1oVVW X-Received: by 2002:a17:902:710d:b0:152:ac2:2e29 with SMTP id a13-20020a170902710d00b001520ac22e29mr23545735pll.96.1647252653266; Mon, 14 Mar 2022 03:10:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647252653; cv=none; d=google.com; s=arc-20160816; b=V/yy8ZJ6S8n5wx2UJVgZKwvMoQEmobM1HXqu9kDHrfQ9lRBUtNTLtTVToTQVcqtM5J em2Hy5XeFFKyp44ISmbP9TCuBWn37J0HGDrTFXadvXpBDtAYddpf5D3/9dYyYU95fAJh 2+RM2tQb+Hkm9t7zCNgQFST15ICT8KCSMFyOR9wZUUwexYo7/cS4woCiH4sTqMVUqN0f tdomUjUXfLkIU48U0JTpZtSM9rSrfuLr3tjfUjJQLZu5iBES2nDQd6Wap5U5aHUMmFZw edAYjco3/Di8FQnjvtx/qaaYRO3fjz44vexul5+VFDrTZQKytj3qm1BIAZhKCxenc5V1 HXQw== 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=UEyKp4gArox79dAjEtd/n68xg6rtum/BRfUVZ+EHGww=; b=LtkwwpK43TAqjOtt8/HsGmunNvuxGBZIuGUXBpC3LITeNTefuAM4r22s2leDLziNA5 qZssUcHxPQFO/he+QK5aLpgtq/8kC0q9LCd3hb0lku1+ea/lbPPLNuuBEIu1T6sTpONs MHLLGVpYfSOMKmcE868a8GZhDEKpaL32ty9iRQWkDcu3aJ2vXAIPWlrJ0kWJT/a2gRFx QexGSvl28YqNcyR42P6SCY0s0n+XnOjTYQIWtcEliPK5rQkqxQ//etEapZFjLZawndnN mSPF9ngskKKMw/G5ulGkjvoCjO+dagmdpA7AuPhS4sEOSWwpUs3Dji4HaHgRxCTX0E3N IS5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=gosOMRhM; 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 f10-20020a056a0022ca00b004f794516e1esi8692838pfj.231.2022.03.14.03.10.42; Mon, 14 Mar 2022 03:10:53 -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=gosOMRhM; 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 S235246AbiCNH6R (ORCPT + 99 others); Mon, 14 Mar 2022 03:58:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236848AbiCNH5U (ORCPT ); Mon, 14 Mar 2022 03:57:20 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4885A4132F; Mon, 14 Mar 2022 00:56:05 -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 sin.source.kernel.org (Postfix) with ESMTPS id 6B9B8CE10B2; Mon, 14 Mar 2022 07:56:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2604BC3410C; Mon, 14 Mar 2022 07:56:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647244561; bh=in66uYtyikTpJ7PavXHL+NBm6nLR8BFLF0pe1Zxry/o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gosOMRhM6RvF+GmV8gMYnvxipYY4Ceai798HauLjETWz9eKGRyFommytERL2xWE1p ZjJpBZSiW3gSoNtkW27NgqnQawFGGz798O5tWDElXcSA0lbX7fl5jmEd8NLCzmL9ok sWPQ/Iycnm5n01Y0pDQLh9AtfU8poQlkyOlgee5eO3oMXPy5xehZn4XF9B/6N43ELq +FJffr+cD69k2O5ZNmIxLCkERlIHPZnbA+Ud0WzneAjKCic45xDg5OUo+G7deBgoyZ mZrTh9v3ITGnyppyUZa6YVpv0iWsumiBJAM87ZdqBUA8bQuDZ+ANK3yz7mZUvXpJo/ rlFymnu3MPRFQ== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nTfYc-001kV1-TE; Mon, 14 Mar 2022 08:55:58 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Dmitry Osipenko , Hans Verkuil , Jernej Skrabec , Laurent Pinchart , Ming Qian , Philipp Zabel , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH 13/64] media: platform: coda: move config to its own file Date: Mon, 14 Mar 2022 08:55:05 +0100 Message-Id: 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 coda-specific config stuff on a separate Kconfig file. Reviewed-by: Philipp Zabel 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 00/64] at: https://lore.kernel.org/all/cover.1647242578.git.mchehab@kernel.org/ drivers/media/platform/Kconfig | 18 +----------------- drivers/media/platform/coda/Kconfig | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 17 deletions(-) create mode 100644 drivers/media/platform/coda/Kconfig diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 060d6264dea4..0bf9dd5da845 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -43,6 +43,7 @@ source "drivers/media/platform/via/Kconfig" source "drivers/media/platform/amphion/Kconfig" source "drivers/media/platform/cadence/Kconfig" +source "drivers/media/platform/coda/Kconfig" source "drivers/media/platform/davinci/Kconfig" source "drivers/media/platform/omap/Kconfig" @@ -178,23 +179,6 @@ config VIDEO_TI_CAL_MC # Mem2mem drivers -config VIDEO_CODA - tristate "Chips&Media Coda multi-standard codec IP" - depends on V4L_MEM2MEM_DRIVERS - depends on VIDEO_DEV && VIDEO_V4L2 && OF && (ARCH_MXC || COMPILE_TEST) - select SRAM - select VIDEOBUF2_DMA_CONTIG - select VIDEOBUF2_VMALLOC - select V4L2_JPEG_HELPER - select V4L2_MEM2MEM_DEV - select GENERIC_ALLOCATOR - help - Coda is a range of video codec IPs that supports - H.264, MPEG-4, and other video formats. - -config VIDEO_IMX_VDOA - def_tristate VIDEO_CODA if SOC_IMX6Q || COMPILE_TEST - config VIDEO_MEDIATEK_JPEG tristate "Mediatek JPEG Codec driver" depends on V4L_MEM2MEM_DRIVERS diff --git a/drivers/media/platform/coda/Kconfig b/drivers/media/platform/coda/Kconfig new file mode 100644 index 000000000000..ae495fd7b25a --- /dev/null +++ b/drivers/media/platform/coda/Kconfig @@ -0,0 +1,17 @@ +# SPDX-License-Identifier: GPL-2.0-only +config VIDEO_CODA + tristate "Chips&Media Coda multi-standard codec IP" + depends on V4L_MEM2MEM_DRIVERS + depends on VIDEO_DEV && VIDEO_V4L2 && OF && (ARCH_MXC || COMPILE_TEST) + select SRAM + select VIDEOBUF2_DMA_CONTIG + select VIDEOBUF2_VMALLOC + select V4L2_JPEG_HELPER + select V4L2_MEM2MEM_DEV + select GENERIC_ALLOCATOR + help + Coda is a range of video codec IPs that supports + H.264, MPEG-4, and other video formats. + +config VIDEO_IMX_VDOA + def_tristate VIDEO_CODA if SOC_IMX6Q || COMPILE_TEST -- 2.35.1