media: amphion: add amphion vpu device driver
authorMing Qian <ming.qian@nxp.com>
Thu, 24 Feb 2022 03:10:01 +0000 (11:10 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 7 Mar 2022 16:13:33 +0000 (17:13 +0100)
commitb50a64fc54af5bacb2821c344611947ff4bdc0d2
treea310e26f8b054ef71c85a78b9aab519f6a323207
parent72a74c8f0a0df12c7d7ea012aa70d95152858dea
media: amphion: add amphion vpu device driver

The amphion vpu codec ip contains encoder and decoder.
Windsor is the encoder, it supports to encode H.264.
Malone is the decoder, it features a powerful
video processing unit able to decode many formats,
such as H.264, HEVC, and other formats.

This Driver is for this IP that is based on the v4l2 mem2mem framework.

Supported SoCs are: IMX8QXP, IMX8QM

Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Shijie Qin <shijie.qin@nxp.com>
Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
Reported-by: kernel test robot <lkp@intel.com>
Tested-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/amphion/Makefile [new file with mode: 0644]
drivers/media/platform/amphion/vpu.h [new file with mode: 0644]
drivers/media/platform/amphion/vpu_defs.h [new file with mode: 0644]
drivers/media/platform/amphion/vpu_drv.c [new file with mode: 0644]
drivers/media/platform/amphion/vpu_imx8q.c [new file with mode: 0644]
drivers/media/platform/amphion/vpu_imx8q.h [new file with mode: 0644]