summaryrefslogtreecommitdiff
path: root/drivers/media/platform/sunxi/sun8i-rotate
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@kernel.org>2022-03-11 12:43:29 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-03-18 05:56:31 +0100
commite19e7b615c9c6932391f361c1c15f91800172664 (patch)
treeb27c0391056d5f6887b37cf96e195bf3e4656d6f /drivers/media/platform/sunxi/sun8i-rotate
parent7acd0dd9e9c62225773cc3b2dbec9b7c38176fc6 (diff)
media: platform: sun8i-rotate: move config to its own file
In order to better organize the platform/Kconfig, place sun8i-rotate-specific config stuff on a separate Kconfig file. Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform/sunxi/sun8i-rotate')
-rw-r--r--drivers/media/platform/sunxi/sun8i-rotate/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/media/platform/sunxi/sun8i-rotate/Kconfig b/drivers/media/platform/sunxi/sun8i-rotate/Kconfig
new file mode 100644
index 000000000000..64a8ea76e917
--- /dev/null
+++ b/drivers/media/platform/sunxi/sun8i-rotate/Kconfig
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+config VIDEO_SUN8I_ROTATE
+ tristate "Allwinner DE2 rotation driver"
+ depends on V4L_MEM2MEM_DRIVERS
+ depends on VIDEO_DEV && VIDEO_V4L2
+ depends on ARCH_SUNXI || COMPILE_TEST
+ depends on COMMON_CLK && OF
+ depends on PM
+ select VIDEOBUF2_DMA_CONTIG
+ select V4L2_MEM2MEM_DEV
+ help
+ Support for the Allwinner DE2 rotation unit.
+ To compile this driver as a module choose m here.