Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3370080pxp; Mon, 14 Mar 2022 18:03:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTFr8E2U+idRDLGWnRVPhoXfSN4fiXROns7O12Fu14Kr3Ok0TZuuJOKHMfacUrHkV21lZt X-Received: by 2002:a17:902:b597:b0:14f:3396:a7a5 with SMTP id a23-20020a170902b59700b0014f3396a7a5mr25505985pls.29.1647306215703; Mon, 14 Mar 2022 18:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647306215; cv=none; d=google.com; s=arc-20160816; b=HN4IMZXmEVOXknmL2sQBPv3um79BLqkuyt9L2nYlUsBcXyB/y01rouPUOa3c1Nxi/T ctFYIjqT7Ttyj5OmiwGDI1OgbY7jUtjR++2fOX5g3r2RLnFzFw66GX0e3ZQcwUylKPlE IZFt3Ju/CYV81HlXGtyloIY/CRpUXgiov00wqHbhayJwx9FvTdiulUHP7H1qt/OTR38X iYwDboJ10SELZBB0pMxPKALhm676w7+qcp8b0DmyBfrKgDVrsfXDxL15UZJ2Wv4TfV1o 2jls2JPdMX0LcrXV9Hihbyvh/IurJymlMqVsDrLI/2N3o1B1m0O3//D1hfLoH5Y9Rymy OZ6w== 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=3MsOejlOwPJ7jRpEYpu3ZC6RhYluwUx1ScVHLGQ4NXk=; b=0EypDObbabxqX1UnFbEmwbp56YGk33yQ7CpryDRAmIVRy92+ZNX/5kLxmcGMFewOwj WmcO1yMiXI24d9lAsaiRHHxVuvekRpucRxgRXE/3nFbehYc88GbWaG0fb6dRXgxEIPu/ JKNHkMoxOvIlTEKkq+S4rZ9227Ub8g/Bl6Vn9scCTY6YrNtAEocLKHYE36NL1ex9msjK +FJrsuKLnXdMiPR6Tn+hi+yAlP8NpGhn1wY1V/PymQ8j2QP8YQahswwqQOS+pElOaSeb IYaFRLG+ZRF8/Yr6eNPDlO71WvOgETDPFiOBGMPcXPenVblfJp0X6XgficGl+pLeTqV8 XFyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=oSBzKqr4; 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 p25-20020a63b819000000b003748e755b9bsi17008166pge.825.2022.03.14.18.03.21; Mon, 14 Mar 2022 18:03: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=oSBzKqr4; 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 S243175AbiCNQgb (ORCPT + 99 others); Mon, 14 Mar 2022 12:36:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239299AbiCNQgU (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 43A1212AD8; 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 ams.source.kernel.org (Postfix) with ESMTPS id ED83FB80E8B; Mon, 14 Mar 2022 16:35:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 25585C36AF6; 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=sXJuJQYKqLYf39YNSUgip7Wa3mHlGlhoST+rVohYj24=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oSBzKqr4pPXPtOdXm0Mb2OCc+C991QKSS5n14dXgbekEVLfU/ydUvGIgl0jEca6ZR QnZKlmk2L5khFIFD1Mpy9SwAC0Gk+HqP+16b0zMdHy1Uyswm2R2BIq6G2s9cPH7lPi WG99oNbV04NtOS8GjdtYfI3EeTNungiYD6ji8n/EYQ4ju8pjejBBezR/aL/3O08Xz0 w/FTfzwTSk25oHXbwyhnGCjXFS4iQMesOrmBpEQNew+TxBbByec1uMnRlpkSCU/2JK 4J+C9j8rmEvje76aPcBQjk325CeLcAfmowS1epz3zBrtmsXJZAEMLI1MT1N5C7pWE5 84mXGy02pol/Q== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nTney-001wwt-TT; 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 , Shijie Qin , Zhou Peng , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v2 12/67] media: platform: amphion: move config to its own file Date: Mon, 14 Mar 2022 17:34:07 +0100 Message-Id: <52b3a219dd4ab46b2b8ba7af5648f6e1e026f876.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 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 v2 00/67] at: https://lore.kernel.org/all/cover.1647274406.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