All of lore.kernel.org
 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>,
	"Alexandre Torgue" <alexandre.torgue@foss.st.com>,
	"Dmitry Osipenko" <digetx@gmail.com>,
	"Hans Verkuil" <hverkuil-cisco@xs4all.nl>,
	"Laurent Pinchart" <laurent.pinchart@ideasonboard.com>,
	"Maxime Coquelin" <mcoquelin.stm32@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-stm32@st-md-mailman.stormreply.com
Subject: [PATCH v2 27/38] media: platform: stm32: move config to its own file
Date: Fri, 11 Mar 2022 15:07:40 +0100	[thread overview]
Message-ID: <b51a1c723370e000ef658dc8a17b8d3d34102dee.1647006877.git.mchehab@kernel.org> (raw)
In-Reply-To: <cover.1647006877.git.mchehab@kernel.org>

In order to better organize the platform/Kconfig, place
stm32-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       | 29 +-------------------------
 drivers/media/platform/stm32/Kconfig | 31 ++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 28 deletions(-)
 create mode 100644 drivers/media/platform/stm32/Kconfig

diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
index 7e2b120a2057..460ad793b89b 100644
--- a/drivers/media/platform/Kconfig
+++ b/drivers/media/platform/Kconfig
@@ -69,6 +69,7 @@ source "drivers/media/platform/rockchip/rga/Kconfig"
 source "drivers/media/platform/s3c-camif/Kconfig"
 source "drivers/media/platform/s5p-g2d/Kconfig"
 source "drivers/media/platform/sti/hva/Kconfig"
+source "drivers/media/platform/stm32/Kconfig"
 
 config VIDEO_MUX
 	tristate "Video Multiplexer"
@@ -84,21 +85,6 @@ config VIDEO_MUX
 
 source "drivers/media/platform/intel/Kconfig"
 
-config VIDEO_STM32_DCMI
-	tristate "STM32 Digital Camera Memory Interface (DCMI) support"
-	depends on V4L_PLATFORM_DRIVERS
-	depends on VIDEO_V4L2 && OF
-	depends on ARCH_STM32 || COMPILE_TEST
-	select VIDEOBUF2_DMA_CONTIG
-	select MEDIA_CONTROLLER
-	select V4L2_FWNODE
-	help
-	  This module makes the STM32 Digital Camera Memory Interface (DCMI)
-	  available as a v4l2 device.
-
-	  To compile this driver as a module, choose M here: the module
-	  will be called stm32-dcmi.
-
 config VIDEO_ROCKCHIP_ISP1
 	tristate "Rockchip Image Signal Processing v1 Unit driver"
 	depends on V4L_PLATFORM_DRIVERS
@@ -233,19 +219,6 @@ config VIDEO_STI_DELTA_DRIVER
 	select V4L2_MEM2MEM_DEV
 	select RPMSG
 
-config VIDEO_STM32_DMA2D
-	tristate "STM32 Chrom-Art Accelerator (DMA2D)"
-	depends on V4L_MEM2MEM_DRIVERS
-	depends on VIDEO_DEV && VIDEO_V4L2
-	depends on ARCH_STM32 || COMPILE_TEST
-	select VIDEOBUF2_DMA_CONTIG
-	select V4L2_MEM2MEM_DEV
-	help
-	  Enables DMA2D hardware support on stm32.
-
-	  The STM32 DMA2D is a memory-to-memory engine for pixel conversion
-	  and specialized DMA dedicated to image manipulation.
-
 config VIDEO_TI_VPE
 	tristate "TI VPE (Video Processing Engine) driver"
 	depends on V4L_MEM2MEM_DRIVERS
diff --git a/drivers/media/platform/stm32/Kconfig b/drivers/media/platform/stm32/Kconfig
new file mode 100644
index 000000000000..f4726010ca14
--- /dev/null
+++ b/drivers/media/platform/stm32/Kconfig
@@ -0,0 +1,31 @@
+# SPDX-License-Identifier: GPL-2.0
+
+# V4L drivers
+config VIDEO_STM32_DCMI
+	tristate "STM32 Digital Camera Memory Interface (DCMI) support"
+	depends on V4L_PLATFORM_DRIVERS
+	depends on VIDEO_V4L2 && OF
+	depends on ARCH_STM32 || COMPILE_TEST
+	select VIDEOBUF2_DMA_CONTIG
+	select MEDIA_CONTROLLER
+	select V4L2_FWNODE
+	help
+	  This module makes the STM32 Digital Camera Memory Interface (DCMI)
+	  available as a v4l2 device.
+
+	  To compile this driver as a module, choose M here: the module
+	  will be called stm32-dcmi.
+
+# Mem2mem drivers
+config VIDEO_STM32_DMA2D
+	tristate "STM32 Chrom-Art Accelerator (DMA2D)"
+	depends on V4L_MEM2MEM_DRIVERS
+	depends on VIDEO_DEV && VIDEO_V4L2
+	depends on ARCH_STM32 || COMPILE_TEST
+	select VIDEOBUF2_DMA_CONTIG
+	select V4L2_MEM2MEM_DEV
+	help
+	  Enables DMA2D hardware support on stm32.
+
+	  The STM32 DMA2D is a memory-to-memory engine for pixel conversion
+	  and specialized DMA dedicated to image manipulation.
-- 
2.35.1


WARNING: multiple messages have this Message-ID (diff)
From: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: "Mauro Carvalho Chehab" <mchehab@kernel.org>,
	"Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>,
	"Alexandre Torgue" <alexandre.torgue@foss.st.com>,
	"Dmitry Osipenko" <digetx@gmail.com>,
	"Hans Verkuil" <hverkuil-cisco@xs4all.nl>,
	"Laurent Pinchart" <laurent.pinchart@ideasonboard.com>,
	"Maxime Coquelin" <mcoquelin.stm32@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-stm32@st-md-mailman.stormreply.com
Subject: [PATCH v2 27/38] media: platform: stm32: move config to its own file
Date: Fri, 11 Mar 2022 15:07:40 +0100	[thread overview]
Message-ID: <b51a1c723370e000ef658dc8a17b8d3d34102dee.1647006877.git.mchehab@kernel.org> (raw)
In-Reply-To: <cover.1647006877.git.mchehab@kernel.org>

In order to better organize the platform/Kconfig, place
stm32-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       | 29 +-------------------------
 drivers/media/platform/stm32/Kconfig | 31 ++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 28 deletions(-)
 create mode 100644 drivers/media/platform/stm32/Kconfig

diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
index 7e2b120a2057..460ad793b89b 100644
--- a/drivers/media/platform/Kconfig
+++ b/drivers/media/platform/Kconfig
@@ -69,6 +69,7 @@ source "drivers/media/platform/rockchip/rga/Kconfig"
 source "drivers/media/platform/s3c-camif/Kconfig"
 source "drivers/media/platform/s5p-g2d/Kconfig"
 source "drivers/media/platform/sti/hva/Kconfig"
+source "drivers/media/platform/stm32/Kconfig"
 
 config VIDEO_MUX
 	tristate "Video Multiplexer"
@@ -84,21 +85,6 @@ config VIDEO_MUX
 
 source "drivers/media/platform/intel/Kconfig"
 
-config VIDEO_STM32_DCMI
-	tristate "STM32 Digital Camera Memory Interface (DCMI) support"
-	depends on V4L_PLATFORM_DRIVERS
-	depends on VIDEO_V4L2 && OF
-	depends on ARCH_STM32 || COMPILE_TEST
-	select VIDEOBUF2_DMA_CONTIG
-	select MEDIA_CONTROLLER
-	select V4L2_FWNODE
-	help
-	  This module makes the STM32 Digital Camera Memory Interface (DCMI)
-	  available as a v4l2 device.
-
-	  To compile this driver as a module, choose M here: the module
-	  will be called stm32-dcmi.
-
 config VIDEO_ROCKCHIP_ISP1
 	tristate "Rockchip Image Signal Processing v1 Unit driver"
 	depends on V4L_PLATFORM_DRIVERS
@@ -233,19 +219,6 @@ config VIDEO_STI_DELTA_DRIVER
 	select V4L2_MEM2MEM_DEV
 	select RPMSG
 
-config VIDEO_STM32_DMA2D
-	tristate "STM32 Chrom-Art Accelerator (DMA2D)"
-	depends on V4L_MEM2MEM_DRIVERS
-	depends on VIDEO_DEV && VIDEO_V4L2
-	depends on ARCH_STM32 || COMPILE_TEST
-	select VIDEOBUF2_DMA_CONTIG
-	select V4L2_MEM2MEM_DEV
-	help
-	  Enables DMA2D hardware support on stm32.
-
-	  The STM32 DMA2D is a memory-to-memory engine for pixel conversion
-	  and specialized DMA dedicated to image manipulation.
-
 config VIDEO_TI_VPE
 	tristate "TI VPE (Video Processing Engine) driver"
 	depends on V4L_MEM2MEM_DRIVERS
diff --git a/drivers/media/platform/stm32/Kconfig b/drivers/media/platform/stm32/Kconfig
new file mode 100644
index 000000000000..f4726010ca14
--- /dev/null
+++ b/drivers/media/platform/stm32/Kconfig
@@ -0,0 +1,31 @@
+# SPDX-License-Identifier: GPL-2.0
+
+# V4L drivers
+config VIDEO_STM32_DCMI
+	tristate "STM32 Digital Camera Memory Interface (DCMI) support"
+	depends on V4L_PLATFORM_DRIVERS
+	depends on VIDEO_V4L2 && OF
+	depends on ARCH_STM32 || COMPILE_TEST
+	select VIDEOBUF2_DMA_CONTIG
+	select MEDIA_CONTROLLER
+	select V4L2_FWNODE
+	help
+	  This module makes the STM32 Digital Camera Memory Interface (DCMI)
+	  available as a v4l2 device.
+
+	  To compile this driver as a module, choose M here: the module
+	  will be called stm32-dcmi.
+
+# Mem2mem drivers
+config VIDEO_STM32_DMA2D
+	tristate "STM32 Chrom-Art Accelerator (DMA2D)"
+	depends on V4L_MEM2MEM_DRIVERS
+	depends on VIDEO_DEV && VIDEO_V4L2
+	depends on ARCH_STM32 || COMPILE_TEST
+	select VIDEOBUF2_DMA_CONTIG
+	select V4L2_MEM2MEM_DEV
+	help
+	  Enables DMA2D hardware support on stm32.
+
+	  The STM32 DMA2D is a memory-to-memory engine for pixel conversion
+	  and specialized DMA dedicated to image manipulation.
-- 
2.35.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2022-03-11 14:13 UTC|newest]

Thread overview: 104+ 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 ` Mauro Carvalho Chehab
2022-03-11 14:07 ` Mauro Carvalho Chehab
2022-03-11 14:07 ` Mauro Carvalho Chehab
2022-03-11 14:07 ` Mauro Carvalho Chehab
2022-03-11 14:07 ` 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-11 14:07   ` Mauro Carvalho Chehab
2022-03-11 14:07   ` Mauro Carvalho Chehab
2022-03-12 11:27   ` Jernej Škrabec
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   ` Mauro Carvalho Chehab
2022-03-11 14:07   ` Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 07/38] media: platform: place NXP drivers " Mauro Carvalho Chehab
2022-03-11 14:07   ` Mauro Carvalho Chehab
2022-03-11 14:33   ` Philipp Zabel
2022-03-11 14:33     ` Philipp Zabel
2022-03-12 15:31     ` Mauro Carvalho Chehab
2022-03-12 15:31       ` Mauro Carvalho Chehab
2022-03-11 15:39   ` Jacopo Mondi
2022-03-11 15:39     ` Jacopo Mondi
2022-03-12 15:55     ` Mauro Carvalho Chehab
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   ` Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 15/38] media: platform: ge2d: " Mauro Carvalho Chehab
2022-03-11 14:07   ` Mauro Carvalho Chehab
2022-03-11 14:07   ` Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 16/38] media: platform: mtk-jpeg: " Mauro Carvalho Chehab
2022-03-11 14:07   ` Mauro Carvalho Chehab
2022-03-11 14:07   ` Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 17/38] media: platform: mtk-mdp: " Mauro Carvalho Chehab
2022-03-11 14:07   ` Mauro Carvalho Chehab
2022-03-11 14:07   ` Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 18/38] media: platform: mtk-vcodec: " Mauro Carvalho Chehab
2022-03-11 14:07   ` Mauro Carvalho Chehab
2022-03-11 14:07   ` Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 19/38] media: platform: mtk-vpu: " Mauro Carvalho Chehab
2022-03-11 14:07   ` Mauro Carvalho Chehab
2022-03-11 14:07   ` 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   ` Mauro Carvalho Chehab
2022-03-11 14:07   ` 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
2022-03-11 14:07   ` Mauro Carvalho Chehab
     [not found]   ` <CGME20220317191704eucas1p1b53cee77511f1c79fef0bf764cab4f6c@eucas1p1.samsung.com>
2022-03-17 19:17     ` Lukasz Stelmach
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 ` Mauro Carvalho Chehab [this message]
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-11 14:07   ` Mauro Carvalho Chehab
2022-03-11 14:07   ` Mauro Carvalho Chehab
2022-03-12 11:24   ` Jernej Škrabec
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-11 14:07   ` Mauro Carvalho Chehab
2022-03-11 14:07   ` Mauro Carvalho Chehab
2022-03-12 11:23   ` Jernej Škrabec
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 ` [PATCH v2 31/38] media: platform: ti-vpe: " Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 32/38] media: platform: rkisp1: " Mauro Carvalho Chehab
2022-03-11 14:07   ` Mauro Carvalho Chehab
2022-03-11 14:07   ` 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   ` Mauro Carvalho Chehab
2022-03-11 14:07 ` [PATCH v2 36/38] media: platform: s5p-jpeg: " Mauro Carvalho Chehab
2022-03-11 14:07   ` Mauro Carvalho Chehab
2022-03-11 14:12   ` Andrzej Pietrasiewicz
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-11 14:07   ` Mauro Carvalho Chehab
2022-03-11 14:07   ` Mauro Carvalho Chehab
2022-03-11 14:07   ` Mauro Carvalho Chehab
2022-03-12 10:08   ` Robert Foss
2022-03-12 10:08     ` Robert Foss
2022-03-12 10:08     ` Robert Foss
2022-03-12 11:25   ` Jernej Škrabec
2022-03-12 11:25     ` Jernej Škrabec
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=b51a1c723370e000ef658dc8a17b8d3d34102dee.1647006877.git.mchehab@kernel.org \
    --to=mchehab@kernel.org \
    --cc=alexandre.torgue@foss.st.com \
    --cc=digetx@gmail.com \
    --cc=hverkuil-cisco@xs4all.nl \
    --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-stm32@st-md-mailman.stormreply.com \
    --cc=mcoquelin.stm32@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.