linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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>,
	"Dmitry Osipenko" <digetx@gmail.com>,
	"Hans Verkuil" <hverkuil-cisco@xs4all.nl>,
	"Jernej Skrabec" <jernej.skrabec@gmail.com>,
	"Laurent Pinchart" <laurent.pinchart@ideasonboard.com>,
	"Matthias Brugger" <matthias.bgg@gmail.com>,
	"Ming Qian" <ming.qian@nxp.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-media@vger.kernel.org,
	linux-mediatek@lists.infradead.org
Subject: [PATCH v2 17/67] media: platform: mtk-mdp: move config to its own file
Date: Mon, 14 Mar 2022 17:34:12 +0100	[thread overview]
Message-ID: <5778cf934613daa97d580603721b1d614064b77e.1647274406.git.mchehab@kernel.org> (raw)
In-Reply-To: <cover.1647274406.git.mchehab@kernel.org>

In order to better organize the platform/Kconfig, place
mtk-mdp-specific config stuff on a separate Kconfig file.

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/67] at: https://lore.kernel.org/all/cover.1647274406.git.mchehab@kernel.org/

 drivers/media/platform/Kconfig         | 18 +-----------------
 drivers/media/platform/mtk-mdp/Kconfig | 17 +++++++++++++++++
 2 files changed, 18 insertions(+), 17 deletions(-)
 create mode 100644 drivers/media/platform/mtk-mdp/Kconfig

diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
index f517aa951460..3b3d7af47ca1 100644
--- a/drivers/media/platform/Kconfig
+++ b/drivers/media/platform/Kconfig
@@ -49,6 +49,7 @@ source "drivers/media/platform/davinci/Kconfig"
 source "drivers/media/platform/exynos-gsc/Kconfig"
 source "drivers/media/platform/meson/ge2d/Kconfig"
 source "drivers/media/platform/mtk-jpeg/Kconfig"
+source "drivers/media/platform/mtk-mdp/Kconfig"
 source "drivers/media/platform/omap/Kconfig"
 
 source "drivers/media/platform/aspeed/Kconfig"
@@ -196,23 +197,6 @@ config VIDEO_MEDIATEK_VPU
 	    To compile this driver as a module, choose M here: the
 	    module will be called mtk-vpu.
 
-config VIDEO_MEDIATEK_MDP
-	tristate "Mediatek MDP driver"
-	depends on V4L_MEM2MEM_DRIVERS
-	depends on MTK_IOMMU || COMPILE_TEST
-	depends on VIDEO_DEV && VIDEO_V4L2
-	depends on ARCH_MEDIATEK || COMPILE_TEST
-	depends on MTK_SMI || (COMPILE_TEST && MTK_SMI=n)
-	select VIDEOBUF2_DMA_CONTIG
-	select V4L2_MEM2MEM_DEV
-	select VIDEO_MEDIATEK_VPU
-	help
-	    It is a v4l2 driver and present in Mediatek MT8173 SoCs.
-	    The driver supports for scaling and color space conversion.
-
-	    To compile this driver as a module, choose M here: the
-	    module will be called mtk-mdp.
-
 config VIDEO_MEDIATEK_VCODEC
 	tristate "Mediatek Video Codec driver"
 	depends on V4L_MEM2MEM_DRIVERS
diff --git a/drivers/media/platform/mtk-mdp/Kconfig b/drivers/media/platform/mtk-mdp/Kconfig
new file mode 100644
index 000000000000..0cc743165a1a
--- /dev/null
+++ b/drivers/media/platform/mtk-mdp/Kconfig
@@ -0,0 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0-only
+config VIDEO_MEDIATEK_MDP
+	tristate "Mediatek MDP driver"
+	depends on V4L_MEM2MEM_DRIVERS
+	depends on MTK_IOMMU || COMPILE_TEST
+	depends on VIDEO_DEV && VIDEO_V4L2
+	depends on ARCH_MEDIATEK || COMPILE_TEST
+	depends on MTK_SMI || (COMPILE_TEST && MTK_SMI=n)
+	select VIDEOBUF2_DMA_CONTIG
+	select V4L2_MEM2MEM_DEV
+	select VIDEO_MEDIATEK_VPU
+	help
+	    It is a v4l2 driver and present in Mediatek MT8173 SoCs.
+	    The driver supports for scaling and color space conversion.
+
+	    To compile this driver as a module, choose M here: the
+	    module will be called mtk-mdp.
-- 
2.35.1


  parent reply	other threads:[~2022-03-14 16:36 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-14 16:33 [PATCH v2 00/67] media: Kconfig/Makefile reorg Mauro Carvalho Chehab
2022-03-14 16:33 ` [PATCH v2 01/67] media: xc2028: rename the driver from tuner-xc2028 Mauro Carvalho Chehab
2022-03-14 16:33 ` [PATCH v2 02/67] media: Makefiles: remove extra spaces Mauro Carvalho Chehab
2022-03-14 16:33 ` [PATCH v2 03/67] media: Makefiles: sort entries where it fits Mauro Carvalho Chehab
2022-03-14 16:33 ` [PATCH v2 04/67] media: platform: Makefile: reorganize its contents Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 05/67] media: platform: move platform menu dependencies to drivers Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 06/67] media: platform: place Aspeed driver on a separate dir Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 07/67] media: platform: place NXP drivers " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 08/67] media: platform: place Intel " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 09/67] media: platform: place Via " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 10/67] media: platform: place Renesas " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 11/67] media: platform: allegro-dvt: move config to its own file Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 12/67] media: platform: amphion: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 13/67] media: platform: coda: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 14/67] media: platform: exynos-gsc: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 15/67] media: platform: ge2d: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 16/67] media: platform: mtk-jpeg: " Mauro Carvalho Chehab
2022-03-14 16:34 ` Mauro Carvalho Chehab [this message]
2022-03-14 16:34 ` [PATCH v2 18/67] media: platform: mtk-vcodec: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 19/67] media: platform: mtk-vpu: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 20/67] media: platform: omap3isp: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 21/67] media: platform: camss: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 22/67] media: platform: venus: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 23/67] media: platform: rga: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 24/67] media: platform: s3c-camif: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 25/67] media: platform: s5p-g2d: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 26/67] media: platform: hva: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 27/67] media: platform: stm32: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 28/67] media: platform: sun8i-di: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 29/67] media: platform: sun8i-rotate: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 30/67] media: platform: vde: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 31/67] media: platform: ti-vpe: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 32/67] media: platform: rkisp1: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 33/67] media: platform: delta: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 34/67] media: platform: bdisp: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 35/67] media: platform: s5p-mfc: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 36/67] media: platform: s5p-jpeg: " Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 37/67] media: platform: Kconfig: sort entries Mauro Carvalho Chehab
2022-03-15 16:56   ` Jernej Škrabec
2022-03-14 16:34 ` [PATCH v2 38/67] media: platform: move some manufacturer entries Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 39/67] media: platform: Kconfig: place platform drivers on a submenu Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 40/67] media: platform: rename coda/ to chips-media/ Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 41/67] media: platform: rename marvell-ccic/ to marvell/ Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 42/67] media: platform: rename meson/ge2d/ to amlogic/meson-ge2d/ Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 43/67] media: platform: rename mtk-jpeg/ to mediatek/mtk-jpeg/ Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 44/67] media: platform: rename mtk-mdp/ to mediatek/mtk-mdp/ Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 45/67] media: platform: rename mtk-vcodec/ to mediatek/mtk-vcodec/ Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 46/67] media: platform: rename mtk-vpu/ to mediatek/mtk-vpu/ Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 47/67] media: platform: rename sunxi/ to allwinner/ Mauro Carvalho Chehab
2022-03-14 17:22   ` Jernej Škrabec
2022-03-15  5:40     ` Mauro Carvalho Chehab
2022-03-15  6:54       ` Laurent Pinchart
2022-03-15  8:27         ` Mauro Carvalho Chehab
2022-03-15  8:35           ` Laurent Pinchart
2022-03-15 18:04             ` Jernej Škrabec
2022-03-16 13:13               ` Mauro Carvalho Chehab
2022-03-16 13:10             ` Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 48/67] media: platform: rename tegra/vde/ to nvidia/tegra-vde/ Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 49/67] media: platform: rename exynos4-is/ to samsung/exynos4-is/ Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 50/67] media: platform: rename exynos-gsc/ to samsung/exynos-gsc/ Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 51/67] media: platform: rename s3c-camif/ to samsung/s3c-camif/ Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 52/67] media: platform: rename s5p-g2d/ to samsung/s5p-g2d/ Mauro Carvalho Chehab
     [not found]   ` <CGME20220317191357eucas1p1abc9a313ef2f320bda365388e72e0327@eucas1p1.samsung.com>
2022-03-17 19:13     ` Lukasz Stelmach
2022-03-14 16:34 ` [PATCH v2 53/67] media: platform: rename s5p-jpeg/ to samsung/s5p-jpeg/ Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 54/67] media: platform: rename s5p-mfc/ to samsung/s5p-mfc/ Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 55/67] media: platform: rename stm32/ to stm/stm32/ Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 56/67] media: platform: rename sti/ to stm/sti/ Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 57/67] media: platform: rename am437x/ to ti/am437x/ Mauro Carvalho Chehab
2022-03-17 19:16   ` Lad, Prabhakar
2022-03-14 16:34 ` [PATCH v2 58/67] media: platform: rename davinci/ to ti/davinci/ Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 59/67] media: platform: rename omap3isp/ to ti/omap3isp/ Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 60/67] media: platform: rename omap/ to ti/omap/ Mauro Carvalho Chehab
2022-03-14 18:31   ` Péter Ujfalusi
2022-03-14 16:34 ` [PATCH v2 61/67] media: platform: re-structure TI drivers Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 62/67] media: platform: ti/Kconfig: move VPE/CAL entries to it Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 63/67] media: platform: Create vendor/{Makefile,Kconfig} files Mauro Carvalho Chehab
2022-03-14 16:34 ` [PATCH v2 64/67] media: platform/*/Kconfig: make manufacturer menus more uniform Mauro Carvalho Chehab
2022-03-14 16:35 ` [PATCH v2 65/67] media: Kconfig: cleanup VIDEO_DEV dependencies Mauro Carvalho Chehab
     [not found]   ` <CGME20220317192136eucas1p185dfbf79e792ebdc4c5614a90c1b0cd8@eucas1p1.samsung.com>
2022-03-17 19:21     ` Lukasz Stelmach
2022-03-14 16:35 ` [PATCH v2 66/67] media: media/*/Kconfig: sort entries Mauro Carvalho Chehab
2022-03-14 16:35 ` [PATCH v2 67/67] media: platform: rename mediatek/mtk-jpeg/ to mediatek/jpeg/ Mauro Carvalho Chehab

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=5778cf934613daa97d580603721b1d614064b77e.1647274406.git.mchehab@kernel.org \
    --to=mchehab@kernel.org \
    --cc=digetx@gmail.com \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=jernej.skrabec@gmail.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --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;
as well as URLs for NNTP newsgroup(s).