Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: platform: place NXP drivers on a separate dir

In order to cleanup the main platform media directory, move NXP
drivers to their own directory.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

+78 -70
+1 -1
MAINTAINERS
··· 11841 11841 L: linux-media@vger.kernel.org 11842 11842 S: Maintained 11843 11843 T: git git://linuxtv.org/media_tree.git 11844 - F: drivers/media/platform/imx-pxp.[ch] 11844 + F: drivers/media/platform/nxp/imx-pxp.[ch] 11845 11845 11846 11846 MEDIA DRIVERS FOR ASCOT2E 11847 11847 M: Sergey Kozlov <serjk@netup.ru>
+2 -38
drivers/media/platform/Kconfig
··· 29 29 to capture and output drivers, which use memory buffers for just 30 30 one of those. 31 31 32 + source "drivers/media/platform/nxp/Kconfig" 33 + 32 34 # V4L platform drivers 33 35 34 36 source "drivers/media/platform/marvell-ccic/Kconfig" ··· 62 60 select VIDEOBUF2_DMA_CONTIG 63 61 help 64 62 Support for the Video Output Unit (VOU) on SuperH SoCs. 65 - 66 - config VIDEO_VIU 67 - tristate "Freescale VIU Video Driver" 68 - depends on V4L_PLATFORM_DRIVERS 69 - depends on VIDEO_V4L2 && (PPC_MPC512x || COMPILE_TEST) && I2C 70 - select VIDEOBUF_DMA_CONTIG 71 - default y 72 - help 73 - Support for Freescale VIU video driver. This device captures 74 - video data, or overlays video on DIU frame buffer. 75 - 76 - Say Y here if you want to enable VIU device on MPC5121e Rev2+. 77 - In doubt, say N. 78 63 79 64 config VIDEO_MUX 80 65 tristate "Video Multiplexer" ··· 182 193 source "drivers/media/platform/rcar-vin/Kconfig" 183 194 source "drivers/media/platform/atmel/Kconfig" 184 195 source "drivers/media/platform/sunxi/Kconfig" 185 - source "drivers/media/platform/imx/Kconfig" 186 196 187 197 config VIDEO_TI_CAL 188 198 tristate "TI CAL (Camera Adaptation Layer) driver" ··· 260 272 261 273 config VIDEO_IMX_VDOA 262 274 def_tristate VIDEO_CODA if SOC_IMX6Q || COMPILE_TEST 263 - 264 - config VIDEO_IMX_PXP 265 - tristate "i.MX Pixel Pipeline (PXP)" 266 - depends on V4L_MEM2MEM_DRIVERS 267 - depends on VIDEO_DEV && VIDEO_V4L2 && (ARCH_MXC || COMPILE_TEST) 268 - select VIDEOBUF2_DMA_CONTIG 269 - select V4L2_MEM2MEM_DEV 270 - help 271 - The i.MX Pixel Pipeline is a memory-to-memory engine for scaling, 272 - color space conversion, and rotation. 273 - 274 - source "drivers/media/platform/imx-jpeg/Kconfig" 275 275 276 276 config VIDEO_MEDIATEK_JPEG 277 277 tristate "Mediatek JPEG Codec driver" ··· 398 422 select VIDEOBUF2_DMA_CONTIG 399 423 help 400 424 MFC 5.1 and 6.x driver for V4L2 401 - 402 - config VIDEO_MX2_EMMAPRP 403 - tristate "MX2 eMMa-PrP support" 404 - depends on V4L_MEM2MEM_DRIVERS 405 - depends on VIDEO_DEV && VIDEO_V4L2 406 - depends on SOC_IMX27 || COMPILE_TEST 407 - select VIDEOBUF2_DMA_CONTIG 408 - select V4L2_MEM2MEM_DEV 409 - help 410 - MX2X chips have a PrP that can be used to process buffers from 411 - memory to memory. Operations include resizing and format 412 - conversion. 413 425 414 426 config VIDEO_SAMSUNG_EXYNOS_GSC 415 427 tristate "Samsung Exynos G-Scaler driver"
+1 -5
drivers/media/platform/Makefile
··· 15 15 obj-y += davinci/ 16 16 obj-y += exynos-gsc/ 17 17 obj-y += exynos4-is/ 18 - obj-y += imx/ 19 - obj-y += imx-jpeg/ 20 18 obj-y += marvell-ccic/ 21 19 obj-y += meson/ge2d/ 22 20 obj-y += mtk-jpeg/ 23 21 obj-y += mtk-mdp/ 24 22 obj-y += mtk-vcodec/ 25 23 obj-y += mtk-vpu/ 24 + obj-y += nxp/ 26 25 obj-y += omap/ 27 26 obj-y += omap3isp/ 28 27 obj-y += qcom/camss/ ··· 47 48 # Please place here only ancillary drivers that aren't SoC-specific 48 49 # Please keep it alphabetically sorted by Kconfig name 49 50 # (e. g. LC_ALL=C sort Makefile) 50 - obj-$(CONFIG_VIDEO_IMX_PXP) += imx-pxp.o 51 51 obj-$(CONFIG_VIDEO_MEM2MEM_DEINTERLACE) += m2m-deinterlace.o 52 52 obj-$(CONFIG_VIDEO_MUX) += video-mux.o 53 - obj-$(CONFIG_VIDEO_MX2_EMMAPRP) += mx2_emmaprp.o 54 53 obj-$(CONFIG_VIDEO_PXA27x) += pxa_camera.o 55 54 obj-$(CONFIG_VIDEO_RCAR_DRIF) += rcar_drif.o 56 55 obj-$(CONFIG_VIDEO_RCAR_ISP) += rcar-isp.o ··· 58 61 obj-$(CONFIG_VIDEO_RENESAS_JPU) += rcar_jpu.o 59 62 obj-$(CONFIG_VIDEO_SH_VOU) += sh_vou.o 60 63 obj-$(CONFIG_VIDEO_VIA_CAMERA) += via-camera.o 61 - obj-$(CONFIG_VIDEO_VIU) += fsl-viu.o
drivers/media/platform/fsl-viu.c drivers/media/platform/nxp/fsl-viu.c
drivers/media/platform/imx-jpeg/Kconfig drivers/media/platform/nxp/imx-jpeg/Kconfig
drivers/media/platform/imx-jpeg/Makefile drivers/media/platform/nxp/imx-jpeg/Makefile
drivers/media/platform/imx-jpeg/mxc-jpeg-hw.c drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.c
drivers/media/platform/imx-jpeg/mxc-jpeg-hw.h drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h
drivers/media/platform/imx-jpeg/mxc-jpeg.c drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
drivers/media/platform/imx-jpeg/mxc-jpeg.h drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.h
drivers/media/platform/imx-pxp.c drivers/media/platform/nxp/imx-pxp.c
drivers/media/platform/imx-pxp.h drivers/media/platform/nxp/imx-pxp.h
-25
drivers/media/platform/imx/Kconfig
··· 1 - # SPDX-License-Identifier: GPL-2.0-only 2 - 3 - menuconfig VIDEO_IMX 4 - bool "V4L2 capture drivers for NXP i.MX devices" 5 - depends on V4L_PLATFORM_DRIVERS 6 - depends on ARCH_MXC || COMPILE_TEST 7 - depends on VIDEO_DEV && VIDEO_V4L2 8 - help 9 - Say yes here to enable support for capture drivers on i.MX SoCs. 10 - Support for the single SoC features are selectable in the sub-menu 11 - options. 12 - 13 - if VIDEO_IMX 14 - 15 - config VIDEO_IMX_MIPI_CSIS 16 - tristate "MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models" 17 - select MEDIA_CONTROLLER 18 - select V4L2_FWNODE 19 - select VIDEO_V4L2_SUBDEV_API 20 - default n 21 - help 22 - Video4Linux2 sub-device driver for the MIPI CSI-2 CSIS receiver 23 - v3.3/v3.6.3 found on some i.MX7 and i.MX8 SoCs. 24 - 25 - endif # VIDEO_IMX
-1
drivers/media/platform/imx/Makefile
··· 1 - obj-$(CONFIG_VIDEO_IMX_MIPI_CSIS) += imx-mipi-csis.o
drivers/media/platform/imx/imx-mipi-csis.c drivers/media/platform/nxp/imx-mipi-csis.c
drivers/media/platform/mx2_emmaprp.c drivers/media/platform/nxp/mx2_emmaprp.c
+66
drivers/media/platform/nxp/Kconfig
··· 1 + # SPDX-License-Identifier: GPL-2.0-only 2 + 3 + # V4L drivers 4 + 5 + menuconfig VIDEO_IMX 6 + bool "V4L2 capture drivers for NXP i.MX devices" 7 + depends on V4L_PLATFORM_DRIVERS 8 + depends on ARCH_MXC || COMPILE_TEST 9 + depends on VIDEO_DEV && VIDEO_V4L2 10 + help 11 + Say yes here to enable support for capture drivers on i.MX SoCs. 12 + Support for the single SoC features are selectable in the sub-menu 13 + options. 14 + 15 + if VIDEO_IMX 16 + 17 + config VIDEO_IMX_MIPI_CSIS 18 + tristate "MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models" 19 + select MEDIA_CONTROLLER 20 + select V4L2_FWNODE 21 + select VIDEO_V4L2_SUBDEV_API 22 + default n 23 + help 24 + Video4Linux2 sub-device driver for the MIPI CSI-2 CSIS receiver 25 + v3.3/v3.6.3 found on some i.MX7 and i.MX8 SoCs. 26 + 27 + endif # VIDEO_IMX 28 + 29 + config VIDEO_VIU 30 + tristate "Freescale/NXP VIU Video Driver" 31 + depends on V4L_PLATFORM_DRIVERS 32 + depends on VIDEO_V4L2 && (PPC_MPC512x || COMPILE_TEST) && I2C 33 + select VIDEOBUF_DMA_CONTIG 34 + default y 35 + help 36 + Support for Freescale VIU video driver. This device captures 37 + video data, or overlays video on DIU frame buffer. 38 + 39 + Say Y here if you want to enable VIU device on MPC5121e Rev2+. 40 + In doubt, say N. 41 + 42 + # mem2mem drivers 43 + 44 + config VIDEO_IMX_PXP 45 + tristate "i.MX Pixel Pipeline (PXP)" 46 + depends on V4L_MEM2MEM_DRIVERS 47 + depends on VIDEO_DEV && VIDEO_V4L2 && (ARCH_MXC || COMPILE_TEST) 48 + select VIDEOBUF2_DMA_CONTIG 49 + select V4L2_MEM2MEM_DEV 50 + help 51 + The i.MX Pixel Pipeline is a memory-to-memory engine for scaling, 52 + color space conversion, and rotation. 53 + 54 + config VIDEO_MX2_EMMAPRP 55 + tristate "Freescale/NXP MX2 eMMa-PrP support" 56 + depends on V4L_MEM2MEM_DRIVERS 57 + depends on VIDEO_DEV && VIDEO_V4L2 58 + depends on SOC_IMX27 || COMPILE_TEST 59 + select VIDEOBUF2_DMA_CONTIG 60 + select V4L2_MEM2MEM_DEV 61 + help 62 + MX2X chips have a PrP that can be used to process buffers from 63 + memory to memory. Operations include resizing and format 64 + conversion. 65 + 66 + source "drivers/media/platform/nxp/imx-jpeg/Kconfig"
+8
drivers/media/platform/nxp/Makefile
··· 1 + # SPDX-License-Identifier: GPL-2.0-only 2 + 3 + obj-y += imx-jpeg/ 4 + 5 + obj-$(CONFIG_VIDEO_IMX_MIPI_CSIS) += imx-mipi-csis.o 6 + obj-$(CONFIG_VIDEO_IMX_PXP) += imx-pxp.o 7 + obj-$(CONFIG_VIDEO_MX2_EMMAPRP) += mx2_emmaprp.o 8 + obj-$(CONFIG_VIDEO_VIU) += fsl-viu.o