Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2765361pxp; Mon, 14 Mar 2022 04:38:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx94SatkKMtuLQ60VOL7ek8u6Q2KL4/UvtW6k8x6seideOIiMVGu9WrKLWmtP1aU65yflm2 X-Received: by 2002:a63:8843:0:b0:37c:8b85:5f5c with SMTP id l64-20020a638843000000b0037c8b855f5cmr20153442pgd.275.1647257915204; Mon, 14 Mar 2022 04:38:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647257915; cv=none; d=google.com; s=arc-20160816; b=P4SQjLHpWMY+5zqJ8/WQOTi2bUAXhN7EwKObWCIToRw+zR8bDcfWjrEeor+cFN6AV0 bxIJhw1sYC19ttk958TXfRXIwgp4kcTpxnFPaFR8kNQ9mGxA16BgxjVzd8A9vGIA738y rQfe15YLjmr8Lk1OXT0izC/lAHqtJeWHyJ5QT/tfuoq1x4YFN+MyvgrNuOOl1kN7kaIs Zu0iwKcc1i4TDWNQoIDLRuQRB/xTOA2Q6bq9JwD7S4vGnGO+FDVu+0uIGLlPS60YdnuW VyzNu7Esz9bHLFZjXe2suc651+UkO8/eTIjTikmY8Vev/p9+dtoC5B/TkeXUKCw6tcwM GGVA== 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=5nFx7fPFxi0i7TGmGMoIilt08wOJgoKUFOBul+ozE98=; b=xFWwHTjJsGbiRfYlgWJGuwnWjKq0g96spfW5r4r1LJSY9cPo8UcRhboH3fxsVeeQpE TxqKP6V0keMJ3oT7K9dsP4CZCyxCWWkdcVfmowU0UHbyv5suiYoqsb22pISF196mtiKC ApzJEsiE7rJFS5ypPSseSb7qRyt5ziLnIynstvZWxnCQuMtzhmprWnuhMqCjHCXE41bf 45IBunGFSgyhwbzdvpzPaqFLZfSTQaxe7QSx5inZiSxzJ+M8DBjymzWiU8xZWvHq05NT gC454VtP8j+BcheJBUk9YmUxCBQHr3Kya1g57uJr4tawXOPIDECiHiMWXw1cgFbNMMLv K1CQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=ZFVJh1IQ; 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 g2-20020a056a000b8200b004f6f2ff497asi14964890pfj.286.2022.03.14.04.38.22; Mon, 14 Mar 2022 04:38:35 -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=ZFVJh1IQ; 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 S232280AbiCMHYR (ORCPT + 99 others); Sun, 13 Mar 2022 03:24:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233772AbiCMHXJ (ORCPT ); Sun, 13 Mar 2022 03:23:09 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E968119455D; 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 83BA4B80BE8; Sun, 13 Mar 2022 07:21:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B05DCC34102; 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=xAYblfv3hUy292GLEYd0Eivlz95IA651ocBdwEtnsAo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZFVJh1IQWsvNXzS+WHOXKFFunUAowqui6BUw9TuNr7Vbv42KTXg98/QZ0gjLN188D aaxhcmeolYnLFqkAuvsqthHULrNIprWTBXB5Chp5M9mu6Z3cfLzEEL8dt3a6IkBnTj 0b7ZOBIPUTk8d0nkY9YRnlX7mAtKiJGkPR9Cwb00vnGrc+LuP2ZK3kTXoTvN7bTZ0X P7MSo3kWysy1WLWMJ+PUPW51UQi2c4R9l8D32wsFEeAWSx0aj01+Y4PN8EW2Sp1Jgg 7BMbgixw6LvLNEFfnsjY7k+GTCJ5hnrozWBO0eT16W4vBepvNHtRT7RunUOaJu3HLf jSirPRL3sV7NQ== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nTIY3-0012wG-HM; 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 , Ming Qian , Shijie Qin , Zhou Peng , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v3 12/39] media: platform: amphion: move config to its own file Date: Sun, 13 Mar 2022 08:21:21 +0100 Message-Id: <2ac89ce86e6ace3edbca21abeafb77901c9ff447.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 amphion-specific config stuff on a separate Kconfig file. Reviewed-by: Shijie Qin 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 | 21 +-------------------- drivers/media/platform/amphion/Kconfig | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 20 deletions(-) create mode 100644 drivers/media/platform/amphion/Kconfig diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 25e5ae27210d..060d6264dea4 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -40,6 +40,7 @@ source "drivers/media/platform/marvell-ccic/Kconfig" source "drivers/media/platform/via/Kconfig" +source "drivers/media/platform/amphion/Kconfig" source "drivers/media/platform/cadence/Kconfig" source "drivers/media/platform/davinci/Kconfig" @@ -524,26 +525,6 @@ config VIDEO_TEGRA_VDE Support for the NVIDIA Tegra video decoder unit. To compile this driver as a module choose m here. -config VIDEO_AMPHION_VPU - tristate "Amphion VPU (Video Processing Unit) Codec IP" - depends on V4L_MEM2MEM_DRIVERS - depends on ARCH_MXC || COMPILE_TEST - depends on MEDIA_SUPPORT - depends on VIDEO_DEV - depends on VIDEO_V4L2 - select MEDIA_CONTROLLER - select V4L2_MEM2MEM_DEV - select VIDEOBUF2_DMA_CONTIG - select VIDEOBUF2_VMALLOC - help - Amphion VPU Codec IP contains two parts: Windsor and Malone. - Windsor is encoder that supports H.264, and Malone is decoder - that supports H.264, HEVC, and other video formats. - This is a V4L2 driver for NXP MXC 8Q video accelerator hardware. - It accelerates encoding and decoding operations on - various NXP SoCs. - To compile this driver as a module choose m here. - # TI VIDEO PORT Helper Modules # These will be selected by VPE and VIP config VIDEO_TI_VPDMA diff --git a/drivers/media/platform/amphion/Kconfig b/drivers/media/platform/amphion/Kconfig new file mode 100644 index 000000000000..13899649f766 --- /dev/null +++ b/drivers/media/platform/amphion/Kconfig @@ -0,0 +1,20 @@ +# SPDX-License-Identifier: GPL-2.0-only +config VIDEO_AMPHION_VPU + tristate "Amphion VPU (Video Processing Unit) Codec IP" + depends on V4L_MEM2MEM_DRIVERS + depends on ARCH_MXC || COMPILE_TEST + depends on MEDIA_SUPPORT + depends on VIDEO_DEV + depends on VIDEO_V4L2 + select MEDIA_CONTROLLER + select V4L2_MEM2MEM_DEV + select VIDEOBUF2_DMA_CONTIG + select VIDEOBUF2_VMALLOC + help + Amphion VPU Codec IP contains two parts: Windsor and Malone. + Windsor is encoder that supports H.264, and Malone is decoder + that supports H.264, HEVC, and other video formats. + This is a V4L2 driver for NXP MXC 8Q video accelerator hardware. + It accelerates encoding and decoding operations on + various NXP SoCs. + To compile this driver as a module choose m here. -- 2.35.1