[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <68710ee0228721833e3da88c2cd89e9f0c763a80.1647242579.git.mchehab@kernel.org>
Date: Mon, 14 Mar 2022 08:55:04 +0100
From: Mauro Carvalho Chehab <mchehab@...nel.org>
To: unlisted-recipients:; (no To-header on input)
Cc: Mauro Carvalho Chehab <mchehab@...nel.org>,
Niklas Söderlund
<niklas.soderlund+renesas@...natech.se>,
Dmitry Osipenko <digetx@...il.com>,
Hans Verkuil <hverkuil-cisco@...all.nl>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Ming Qian <ming.qian@....com>, Shijie Qin <shijie.qin@....com>,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org
Subject: [PATCH 12/64] media: platform: amphion: move config to its own file
In order to better organize the platform/Kconfig, place
amphion-specific config stuff on a separate Kconfig file.
Reviewed-by: Shijie Qin <shijie.qin@....com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@...nel.org>
---
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 | 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
Powered by blists - more mailing lists