Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3487115pxp; Mon, 14 Mar 2022 22:12:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqomjXzNozSSaQs2aK1Ooj85nsKrt6cQI5gixgmVw07E64VxJtV7JurhbjFWpPSPA2qO3F X-Received: by 2002:a17:907:7f1f:b0:6da:7d72:1352 with SMTP id qf31-20020a1709077f1f00b006da7d721352mr20752220ejc.225.1647321142946; Mon, 14 Mar 2022 22:12:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647321142; cv=none; d=google.com; s=arc-20160816; b=OZR73xJfrfYTKZqyHTZZQQdXPXBsfEJGBy0+XG9Ao+SdI7gaS79hH6UiZd9CMBF95v kaDZXb4xFWqo3o9Hu1TDZsxsuJNr+w7U4ZYApc8b2vrqQgdQdEn0bd4ZremStUfoeHCr 3yHn6Xnd9rD+J5/oGobUZJZphDe10E0jib55ME9ijA+wu5AiZDiLpx6hIZBu96Q0TCwm hU0GOp/wmOyWu1XggepEtEc1QUeBFLASIAlaJfUae36AxYYuokRW+Nv4V1WeV8nCrrCp vftEFp+aJnImmqZwTYH7OBDZglz6jVDnFs0O9Toi30mYAC8DkVfbcTYSPsq1+LkPDOTm JXEQ== 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=quC24HzuekQMS/Uo/heunUh+6sZH8g/n+yl0Yg3CZdw=; b=Yj5BxkJVrFnUaBDU5eulEZ000B1TPrhsa0HgLjXSlcvYEvhDDda89HPejC3MFDECtv U0pNuFDNk/6iSlLhvbGtKv5QZyuT+nDCS73avfNpNsRL+v3jek/pS+6fqeL5zoo9QCFt aOVWpwKchCsKtQrqcNjvsDdA0qrmX/n2WuWnZzFOcl4pHpxoNnADUcQa6kvI/m3dJpbz rO4H6lyvE5Co3B2p2hJoffeneQZ87uGt8w1oD1y/6jZpMG63ew+sX8yLhiwxRpkWsvWz f+68KG12C1r4B70iIrNCyxuhmb/MjJQMNwQj//BsbzcIeSssUgrYSk2Mo9ovzbsqlKho jo7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b="aVJDt1z/"; 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 o7-20020aa7dd47000000b004163d2652d1si10642509edw.611.2022.03.14.22.11.58; Mon, 14 Mar 2022 22:12:22 -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="aVJDt1z/"; 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 S243336AbiCNQgs (ORCPT + 99 others); Mon, 14 Mar 2022 12:36:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241579AbiCNQgW (ORCPT ); Mon, 14 Mar 2022 12:36:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5A7D13CDA; Mon, 14 Mar 2022 09:35:10 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 5307B61408; Mon, 14 Mar 2022 16:35:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B332C36AF8; 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=LHNcmeSc3A8U/jLJYft1p8OBLZ8iq+GHKbgMSlSokLk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aVJDt1z/7IAtsmP3VVOLEBI9AvsLUgoqCaAbsDuPV+4gJbHPrDZjsnDnmEqhdhVv0 7xB4J+2sMxwQMlCH53ouX2t/PO+82NKs2/sqZJPRxIPCIt4ivjuhvv0SCVBJAvSoOj Zzd86oZtD/6WTjDooUhKrKG4ouJW06BYaTVHz85fJsd9vpO1waaWpnJE8xzwvNaxeo VwUC2V1mDxaiOavM4QP0tJ7TH0FpKaoe3kVnAOkWYYbfOgvQUDN3OjD1+JHVeDTM8s jHy6OgYzIacrVFv18uECO+4c1Sf/PI0pRQoeLi936TX6BzlqfbUoOXjK+VwYuxl6u/ WUfvUfrPMfgXA== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nTney-001wwx-VW; 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 , Ming Qian , Philipp Zabel , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v2 13/67] media: platform: coda: move config to its own file Date: Mon, 14 Mar 2022 17:34:08 +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 v2 00/67] at: https://lore.kernel.org/all/cover.1647274406.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