Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp741205pxp; Fri, 11 Mar 2022 13:55:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJzefsL4c3a3ecY6+D63k5XVy16kLkemkXtJvRtEcyuzO/j9bhd1scTJK6ipPMAI8Kn/5UMJ X-Received: by 2002:a17:902:e889:b0:14f:c4bc:677b with SMTP id w9-20020a170902e88900b0014fc4bc677bmr12450766plg.68.1647035707727; Fri, 11 Mar 2022 13:55:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647035707; cv=none; d=google.com; s=arc-20160816; b=UhRFWQq3li2QkteGzTpmIS9k8QxiP7t67yyWlAN0lcRWAxP+bu+5TOMGwUikoi3hpq eACimnHJRFN8z3OyireboqnNqZ6dCo3gY7JlkC7Hk1kwuYgBjr4EN6I9e3lBYxO97hye EmqHSfc6NkOD1Q6KIjZPDj3y0oi+xdpuAu2R2zky1s3AuVsR4jKKypoUkkHeUktAIdrS 34ilkshcZCWqvg5XW5kaeQxOYEpFubg++kcKyxXz7DFUvQjKkcRAwJKsmpfun8AOE1q9 M4fi3LmrOZjiTOJG3urNKOB/erSyyjy0NV47GlVx+nH2X4W96RfQL4jZG69Jf6F3PV1n ZWzg== 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=P+AVniMGVYlSegjAPm4SUqjxVmHIbLYDOcmC4/Dp1Ig=; b=ZuO17hAqJksUKbTiUlBHaGlbBzQvzgNEF2/Yq0R2zTz3qr0qR9+c8M9xRJxTaIXJDD 90Mk6+kH9AEO9nsfHz5PS3KNREkW10u5TxmQbY8XGBdIsWbJtHr1UzdohwdTQC/GP9iS zX25vSfdkN5mJCEzqdwlgDRq+TUGX0XvKEqo6QFogp4z87csSm2pNQGpAKiXtlb2Yg1t STqNRx8uInAYoHbsmBC0Z7jN0/ydfz9EPL9eg7BXzYdWw8GLLhE0ljvpzgIBTPVIU5c+ aAIIxYPV3zEtzYUL7OVa+kI7okr9QU3gxFrHXebSV6eqLfhnlysad/Sbh88Em4kcooKJ bddg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=Om6ucL+E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id a17-20020a656051000000b00380f89fc9acsi4926451pgp.588.2022.03.11.13.55.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 13:55:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=Om6ucL+E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D98642C9BDB; Fri, 11 Mar 2022 13:13:28 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349194AbiCKOLP (ORCPT + 99 others); Fri, 11 Mar 2022 09:11:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345552AbiCKOKu (ORCPT ); Fri, 11 Mar 2022 09:10:50 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFA991B308C; Fri, 11 Mar 2022 06:09:39 -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 7A4DFB82C0E; Fri, 11 Mar 2022 14:09:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2543AC340E9; Fri, 11 Mar 2022 14:09:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647007777; bh=l43uig7u4QoUgCLbuOaSYDR1BPlB3/eU5ML5shDws0E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Om6ucL+EIP9TOAfIH36ogRtY+727Z2w2hWmbkn0/54KXOOYned2s25FLrOnhNbb2R niOvUzrZjnJcWGCAHIYhZlq0Vwz2DDUI7Vm775mTdETH+O12GU3CcyyJ/5VGCKgbmC o8HdtllhWHr3hYkIvkk38TOlHLo6e0ki7/Z5InSaKrWRqwI+/pPjliBHbs1KIl1YIM wy2y9IHWLKkbgaPyNjPQlE3VeFU9AoAoVwhoRdUzrDxsDFLYL/0KFcfLkO+66j3ivr a3+pt04ZFTZqPWyzvoOoBzSdaaNfQX75YPZJaybIugsC/+Xl4OwBZRl6vHu7Xw7QK7 yDJT37k3kPpDw== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nSfxW-000lH7-V7; Fri, 11 Mar 2022 15:09:34 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Dmitry Osipenko , Hans Verkuil , Laurent Pinchart , Ming Qian , Shijie Qin , Zhou Peng , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v2 12/38] media: platform: amphion: move config to its own file Date: Fri, 11 Mar 2022 15:07:25 +0100 Message-Id: <3aa6e54b5f1e3c4ca8eb5a7c2284513f9b555bf5.1647006877.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=-1.9 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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. Signed-off-by: Mauro Carvalho Chehab 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/38] at: https://lore.kernel.org/all/cover.1647006877.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 e795a0862841..25cfda75e625 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -47,6 +47,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" @@ -535,26 +536,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