From: Mauro Carvalho Chehab <mchehab@kernel.org>
To: unlisted-recipients:; (no To-header on input)
Cc: "Mauro Carvalho Chehab" <mchehab@kernel.org>,
"Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>,
"Benoit Parrot" <bparrot@ti.com>,
"Dmitry Osipenko" <digetx@gmail.com>,
"Hans Verkuil" <hverkuil-cisco@xs4all.nl>,
"Laurent Pinchart" <laurent.pinchart@ideasonboard.com>,
"Ming Qian" <ming.qian@nxp.com>,
linux-kernel@vger.kernel.org, linux-media@vger.kernel.org
Subject: [PATCH v2 31/38] media: platform: ti-vpe: move config to its own file
Date: Fri, 11 Mar 2022 15:07:44 +0100 [thread overview]
Message-ID: <295b76eab3169ce39edff3bc542f34012a6ea187.1647006877.git.mchehab@kernel.org> (raw)
In-Reply-To: <cover.1647006877.git.mchehab@kernel.org>
In order to better organize the platform/Kconfig, place
ti-vpe-specific config stuff on a separate Kconfig file.
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
---
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 | 60 +-------------------------
drivers/media/platform/ti-vpe/Kconfig | 62 +++++++++++++++++++++++++++
2 files changed, 63 insertions(+), 59 deletions(-)
create mode 100644 drivers/media/platform/ti-vpe/Kconfig
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
index 9b8a5f4eaafc..a7db6cee6b07 100644
--- a/drivers/media/platform/Kconfig
+++ b/drivers/media/platform/Kconfig
@@ -73,6 +73,7 @@ source "drivers/media/platform/stm32/Kconfig"
source "drivers/media/platform/sunxi/sun8i-di/Kconfig"
source "drivers/media/platform/sunxi/sun8i-rotate/Kconfig"
source "drivers/media/platform/tegra/vde/Kconfig"
+source "drivers/media/platform/ti-vpe/Kconfig"
config VIDEO_MUX
tristate "Video Multiplexer"
@@ -114,33 +115,6 @@ source "drivers/media/platform/atmel/Kconfig"
source "drivers/media/platform/sunxi/Kconfig"
source "drivers/media/platform/imx/Kconfig"
-config VIDEO_TI_CAL
- tristate "TI CAL (Camera Adaptation Layer) driver"
- depends on V4L_PLATFORM_DRIVERS
- depends on VIDEO_DEV && VIDEO_V4L2
- select MEDIA_CONTROLLER
- select VIDEO_V4L2_SUBDEV_API
- depends on SOC_DRA7XX || ARCH_K3 || COMPILE_TEST
- select VIDEOBUF2_DMA_CONTIG
- select V4L2_FWNODE
- help
- Support for the TI CAL (Camera Adaptation Layer) block
- found on DRA72X SoC.
- In TI Technical Reference Manual this module is referred as
- Camera Interface Subsystem (CAMSS).
-
-config VIDEO_TI_CAL_MC
- bool "Media Controller centric mode by default"
- depends on VIDEO_TI_CAL
- default n
- help
- Enables Media Controller centric mode by default.
-
- If set, CAL driver will start in Media Controller mode by
- default. Note that this behavior can be overridden via
- module parameter 'mc_api'.
-
-
# Mem2mem drivers
source "drivers/media/platform/imx-jpeg/Kconfig"
@@ -222,38 +196,6 @@ config VIDEO_STI_DELTA_DRIVER
select V4L2_MEM2MEM_DEV
select RPMSG
-config VIDEO_TI_VPE
- tristate "TI VPE (Video Processing Engine) driver"
- depends on V4L_MEM2MEM_DRIVERS
- depends on VIDEO_DEV && VIDEO_V4L2
- depends on SOC_DRA7XX || COMPILE_TEST
- select VIDEOBUF2_DMA_CONTIG
- select V4L2_MEM2MEM_DEV
- select VIDEO_TI_VPDMA
- select VIDEO_TI_SC
- select VIDEO_TI_CSC
- help
- Support for the TI VPE(Video Processing Engine) block
- found on DRA7XX SoC.
-
-config VIDEO_TI_VPE_DEBUG
- bool "VPE debug messages"
- depends on V4L_MEM2MEM_DRIVERS
- depends on VIDEO_TI_VPE
- help
- Enable debug messages on VPE driver.
-
-# TI VIDEO PORT Helper Modules
-# These will be selected by VPE and VIP
-config VIDEO_TI_VPDMA
- tristate
-
-config VIDEO_TI_SC
- tristate
-
-config VIDEO_TI_CSC
- tristate
-
# DVB platform drivers
source "drivers/media/platform/sti/c8sectpfe/Kconfig"
diff --git a/drivers/media/platform/ti-vpe/Kconfig b/drivers/media/platform/ti-vpe/Kconfig
new file mode 100644
index 000000000000..a9ee0189f2f2
--- /dev/null
+++ b/drivers/media/platform/ti-vpe/Kconfig
@@ -0,0 +1,62 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+# TI VIDEO PORT Helper Modules
+# These will be selected by VPE and VIP
+config VIDEO_TI_VPDMA
+ tristate
+
+config VIDEO_TI_SC
+ tristate
+
+config VIDEO_TI_CSC
+ tristate
+
+# V4L drivers
+
+config VIDEO_TI_CAL
+ tristate "TI CAL (Camera Adaptation Layer) driver"
+ depends on VIDEO_DEV && VIDEO_V4L2
+ depends on V4L_PLATFORM_DRIVERS
+ select MEDIA_CONTROLLER
+ select VIDEO_V4L2_SUBDEV_API
+ depends on SOC_DRA7XX || ARCH_K3 || COMPILE_TEST
+ select VIDEOBUF2_DMA_CONTIG
+ select V4L2_FWNODE
+ help
+ Support for the TI CAL (Camera Adaptation Layer) block
+ found on DRA72X SoC.
+ In TI Technical Reference Manual this module is referred as
+ Camera Interface Subsystem (CAMSS).
+
+config VIDEO_TI_CAL_MC
+ bool "Media Controller centric mode by default"
+ depends on VIDEO_TI_CAL
+ default n
+ help
+ Enables Media Controller centric mode by default.
+
+ If set, CAL driver will start in Media Controller mode by
+ default. Note that this behavior can be overridden via
+ module parameter 'mc_api'.
+
+# Mem2mem drivers
+
+config VIDEO_TI_VPE
+ tristate "TI VPE (Video Processing Engine) driver"
+ depends on V4L_MEM2MEM_DRIVERS
+ depends on VIDEO_DEV && VIDEO_V4L2
+ depends on SOC_DRA7XX || COMPILE_TEST
+ select VIDEOBUF2_DMA_CONTIG
+ select V4L2_MEM2MEM_DEV
+ select VIDEO_TI_VPDMA
+ select VIDEO_TI_SC
+ select VIDEO_TI_CSC
+ help
+ Support for the TI VPE(Video Processing Engine) block
+ found on DRA7XX SoC.
+
+config VIDEO_TI_VPE_DEBUG
+ bool "VPE debug messages"
+ depends on VIDEO_TI_VPE
+ help
+ Enable debug messages on VPE driver.
--
2.35.1
next prev parent reply other threads:[~2022-03-11 14:11 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-11 14:07 [PATCH v2 00/38] Sort Makefiles and platform/Kconfig Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 01/38] media: xc2028: rename the driver from tuner-xc2028 Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 02/38] media: Makefiles: remove extra spaces Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 03/38] media: Makefiles: sort entries where it fits Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 04/38] media: platform: Makefile: reorganize its contents Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 05/38] media: platform: move platform menu dependencies to drivers Mauro Carvalho Chehab
2022-03-12 11:27 ` Jernej Škrabec
2022-03-11 14:07 ` [PATCH v2 06/38] media: platform: place Aspeed driver on a separate dir Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 07/38] media: platform: place NXP drivers " Mauro Carvalho Chehab
2022-03-11 14:33 ` Philipp Zabel
2022-03-12 15:31 ` Mauro Carvalho Chehab
2022-03-11 15:39 ` Jacopo Mondi
2022-03-12 15:55 ` Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 08/38] media: platform: place Intel " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 09/38] media: platform: place Via " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 10/38] media: platform: place Renesas " Mauro Carvalho Chehab
2022-03-11 14:18 ` Geert Uytterhoeven
2022-03-11 14:07 ` [PATCH v2 11/38] media: platform: allegro-dvt: move config to its own file Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 12/38] media: platform: amphion: " Mauro Carvalho Chehab
2022-03-11 16:07 ` [EXT] " Shijie Qin
2022-03-11 14:07 ` [PATCH v2 13/38] media: platform: coda: " Mauro Carvalho Chehab
2022-03-11 14:33 ` Philipp Zabel
2022-03-11 14:07 ` [PATCH v2 14/38] media: platform: exynos-gsc: " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 15/38] media: platform: ge2d: " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 16/38] media: platform: mtk-jpeg: " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 17/38] media: platform: mtk-mdp: " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 18/38] media: platform: mtk-vcodec: " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 19/38] media: platform: mtk-vpu: " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 20/38] media: platform: omap3isp: " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 21/38] media: platform: camss: " Mauro Carvalho Chehab
2022-03-12 10:07 ` Robert Foss
2022-03-11 14:07 ` [PATCH v2 22/38] media: platform: venus: " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 23/38] media: platform: rga: " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 24/38] media: platform: s3c-camif: " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 25/38] media: platform: s5p-g2d: " Mauro Carvalho Chehab
[not found] ` <CGME20220317191704eucas1p1b53cee77511f1c79fef0bf764cab4f6c@eucas1p1.samsung.com>
2022-03-17 19:17 ` Lukasz Stelmach
2022-03-11 14:07 ` [PATCH v2 26/38] media: platform: hva: " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 27/38] media: platform: stm32: " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 28/38] media: platform: sun8i-di: " Mauro Carvalho Chehab
2022-03-12 11:24 ` Jernej Škrabec
2022-03-11 14:07 ` [PATCH v2 29/38] media: platform: sun8i-rotate: " Mauro Carvalho Chehab
2022-03-12 11:23 ` Jernej Škrabec
2022-03-11 14:07 ` [PATCH v2 30/38] media: platform: vde: " Mauro Carvalho Chehab
2022-03-12 13:46 ` Dmitry Osipenko
2022-03-11 14:07 ` Mauro Carvalho Chehab [this message]
2022-03-11 14:07 ` [PATCH v2 32/38] media: platform: rkisp1: " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 33/38] media: platform: delta: " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 34/38] media: platform: bdisp: " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 35/38] media: platform: s5p-mfc: " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 36/38] media: platform: s5p-jpeg: " Mauro Carvalho Chehab
2022-03-11 14:12 ` Andrzej Pietrasiewicz
2022-03-11 14:07 ` [PATCH v2 37/38] media: platform: Kconfig: sort entries Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 38/38] drivers: media: platform: move some manufacturer entries Mauro Carvalho Chehab
2022-03-12 10:08 ` Robert Foss
2022-03-12 11:25 ` Jernej Škrabec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=295b76eab3169ce39edff3bc542f34012a6ea187.1647006877.git.mchehab@kernel.org \
--to=mchehab@kernel.org \
--cc=bparrot@ti.com \
--cc=digetx@gmail.com \
--cc=hverkuil-cisco@xs4all.nl \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=ming.qian@nxp.com \
--cc=niklas.soderlund+renesas@ragnatech.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®