media: nuvoton: Add driver for NPCM video capture and encoding engine
authorMarvin Lin <milkfafa@gmail.com>
Fri, 22 Sep 2023 06:24:05 +0000 (14:24 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 27 Sep 2023 07:40:02 +0000 (09:40 +0200)
commit46c15a4ff1f4fe078c5b250fb2570020211eab38
treec14ef11b2b61a25ba89288249de628c3210137ee
parent1568583b3977f232e6e7a652fd4be95a11d0ecae
media: nuvoton: Add driver for NPCM video capture and encoding engine

Add driver for Video Capture/Differentiation Engine (VCD) and Encoding
Compression Engine (ECE) present on Nuvoton NPCM SoCs. As described in
the datasheet NPCM750D_DS_Rev_1.0, the VCD can capture frames from
digital video input and compare two frames in memory, and then the ECE
can compress the frame data into HEXTILE format. This driver implements
V4L2 interfaces and provides user controls to support KVM feature, also
tested with VNC Viewer ver.6.22.826 and openbmc/obmc-ikvm.

Signed-off-by: Marvin Lin <milkfafa@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
MAINTAINERS
drivers/media/platform/Kconfig
drivers/media/platform/Makefile
drivers/media/platform/nuvoton/Kconfig [new file with mode: 0644]
drivers/media/platform/nuvoton/Makefile [new file with mode: 0644]
drivers/media/platform/nuvoton/npcm-regs.h [new file with mode: 0644]
drivers/media/platform/nuvoton/npcm-video.c [new file with mode: 0644]