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

media: atmel: move microchip_csi2dc to dedicated microchip platform

The Atmel ISC will be moved to staging thus the atmel platform will only
have the ISI driver.
The new media-controller converted ISC driver will be placed inside a
dedicated microchip platform directory.
It is then natural to have the microchip-csi2dc moved to this new platform
directory.
The next step is to add the Microchip ISC driver to the new platform
directory and reside together with the Microchip CSI2DC driver.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

authored by

Eugen Hristev and committed by
Mauro Carvalho Chehab
37dcaf1e c4cd4c8b

+25 -17
+1 -1
MAINTAINERS
··· 13476 13476 L: linux-media@vger.kernel.org 13477 13477 S: Supported 13478 13478 F: Documentation/devicetree/bindings/media/microchip,csi2dc.yaml 13479 - F: drivers/media/platform/atmel/microchip-csi2dc.c 13479 + F: drivers/media/platform/microchip/microchip-csi2dc.c 13480 13480 13481 13481 MICROCHIP ECC DRIVER 13482 13482 M: Tudor Ambarus <tudor.ambarus@microchip.com>
+1
drivers/media/platform/Kconfig
··· 72 72 source "drivers/media/platform/intel/Kconfig" 73 73 source "drivers/media/platform/marvell/Kconfig" 74 74 source "drivers/media/platform/mediatek/Kconfig" 75 + source "drivers/media/platform/microchip/Kconfig" 75 76 source "drivers/media/platform/nvidia/Kconfig" 76 77 source "drivers/media/platform/nxp/Kconfig" 77 78 source "drivers/media/platform/qcom/Kconfig"
+1
drivers/media/platform/Makefile
··· 15 15 obj-y += intel/ 16 16 obj-y += marvell/ 17 17 obj-y += mediatek/ 18 + obj-y += microchip/ 18 19 obj-y += nvidia/ 19 20 obj-y += nxp/ 20 21 obj-y += qcom/
-15
drivers/media/platform/atmel/Kconfig
··· 49 49 This module makes the ATMEL Image Sensor Interface available 50 50 as a v4l2 device. 51 51 52 - config VIDEO_MICROCHIP_CSI2DC 53 - tristate "Microchip CSI2 Demux Controller" 54 - depends on V4L_PLATFORM_DRIVERS 55 - depends on VIDEO_DEV && COMMON_CLK && OF 56 - depends on ARCH_AT91 || COMPILE_TEST 57 - select MEDIA_CONTROLLER 58 - select VIDEO_V4L2_SUBDEV_API 59 - select V4L2_FWNODE 60 - help 61 - CSI2 Demux Controller driver. CSI2DC is a helper chip 62 - that converts IDI interface byte stream to a parallel pixel stream. 63 - It supports various RAW formats as input. 64 - 65 - To compile this driver as a module, choose M here: the 66 - module will be called microchip-csi2dc.
-1
drivers/media/platform/atmel/Makefile
··· 7 7 obj-$(CONFIG_VIDEO_ATMEL_ISC_BASE) += atmel-isc-common.o 8 8 obj-$(CONFIG_VIDEO_ATMEL_ISC) += atmel-isc.o 9 9 obj-$(CONFIG_VIDEO_ATMEL_XISC) += atmel-xisc.o 10 - obj-$(CONFIG_VIDEO_MICROCHIP_CSI2DC) += microchip-csi2dc.o
drivers/media/platform/atmel/microchip-csi2dc.c drivers/media/platform/microchip/microchip-csi2dc.c
+19
drivers/media/platform/microchip/Kconfig
··· 1 + # SPDX-License-Identifier: GPL-2.0-only 2 + 3 + comment "Microchip Technology, Inc. media platform drivers" 4 + 5 + config VIDEO_MICROCHIP_CSI2DC 6 + tristate "Microchip CSI2 Demux Controller" 7 + depends on V4L_PLATFORM_DRIVERS 8 + depends on VIDEO_DEV && COMMON_CLK && OF 9 + depends on ARCH_AT91 || COMPILE_TEST 10 + select MEDIA_CONTROLLER 11 + select VIDEO_V4L2_SUBDEV_API 12 + select V4L2_FWNODE 13 + help 14 + CSI2 Demux Controller driver. CSI2DC is a helper chip 15 + that converts IDI interface byte stream to a parallel pixel stream. 16 + It supports various RAW formats as input. 17 + 18 + To compile this driver as a module, choose M here: the 19 + module will be called microchip-csi2dc.
+3
drivers/media/platform/microchip/Makefile
··· 1 + # SPDX-License-Identifier: GPL-2.0-only 2 + 3 + obj-$(CONFIG_VIDEO_MICROCHIP_CSI2DC) += microchip-csi2dc.o