media: platform: Add Renesas CEU driver
Add driver for Renesas Capture Engine Unit (CEU). The CEU interface supports capturing 'data' (YUV422) and 'images' (NV[12|21|16|61]). This driver aims to replace the soc_camera-based sh_mobile_ceu one. Tested with ov7670 camera sensor, providing YUYV_2X8 data on Renesas RZ platform GR-Peach. Tested with ov7725 camera sensor on SH4 platform Migo-R. Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> [hans.verkuil@cisco.com: added two 'fall-through' comments] Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
20b5605240
commit
32e5a70dc8
|
@ -144,6 +144,15 @@ config VIDEO_STM32_DCMI
|
||||||
To compile this driver as a module, choose M here: the module
|
To compile this driver as a module, choose M here: the module
|
||||||
will be called stm32-dcmi.
|
will be called stm32-dcmi.
|
||||||
|
|
||||||
|
config VIDEO_RENESAS_CEU
|
||||||
|
tristate "Renesas Capture Engine Unit (CEU) driver"
|
||||||
|
depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
|
||||||
|
depends on ARCH_SHMOBILE || ARCH_R7S72100 || COMPILE_TEST
|
||||||
|
select VIDEOBUF2_DMA_CONTIG
|
||||||
|
select V4L2_FWNODE
|
||||||
|
---help---
|
||||||
|
This is a v4l2 driver for the Renesas CEU Interface
|
||||||
|
|
||||||
source "drivers/media/platform/soc_camera/Kconfig"
|
source "drivers/media/platform/soc_camera/Kconfig"
|
||||||
source "drivers/media/platform/exynos4-is/Kconfig"
|
source "drivers/media/platform/exynos4-is/Kconfig"
|
||||||
source "drivers/media/platform/am437x/Kconfig"
|
source "drivers/media/platform/am437x/Kconfig"
|
||||||
|
|
|
@ -62,6 +62,7 @@ obj-$(CONFIG_VIDEO_SH_VOU) += sh_vou.o
|
||||||
obj-$(CONFIG_SOC_CAMERA) += soc_camera/
|
obj-$(CONFIG_SOC_CAMERA) += soc_camera/
|
||||||
|
|
||||||
obj-$(CONFIG_VIDEO_RCAR_DRIF) += rcar_drif.o
|
obj-$(CONFIG_VIDEO_RCAR_DRIF) += rcar_drif.o
|
||||||
|
obj-$(CONFIG_VIDEO_RENESAS_CEU) += renesas-ceu.o
|
||||||
obj-$(CONFIG_VIDEO_RENESAS_FCP) += rcar-fcp.o
|
obj-$(CONFIG_VIDEO_RENESAS_FCP) += rcar-fcp.o
|
||||||
obj-$(CONFIG_VIDEO_RENESAS_FDP1) += rcar_fdp1.o
|
obj-$(CONFIG_VIDEO_RENESAS_FDP1) += rcar_fdp1.o
|
||||||
obj-$(CONFIG_VIDEO_RENESAS_JPU) += rcar_jpu.o
|
obj-$(CONFIG_VIDEO_RENESAS_JPU) += rcar_jpu.o
|
||||||
|
|
1677
drivers/media/platform/renesas-ceu.c
Normal file
1677
drivers/media/platform/renesas-ceu.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue