media: hantro: introduce hantro_g1.c for common API
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 1 Apr 2021 14:43:32 +0000 (16:43 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 19 May 2021 07:51:40 +0000 (09:51 +0200)
commitbbc42ab0da985f538eefe1b470a610624e53829f
tree5a479c51cd8b1ca44db1659e7d694cee2e3a1bec
parentd72a96b6c053dca29e7b2a94fb700f4960ce9834
media: hantro: introduce hantro_g1.c for common API

The Hantro G1 IRQ and reset handling is pretty standard. I was this
close to duplicating it, yet again, before reconsidering and refactoring
it to a separate file.

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/hantro/Makefile
drivers/staging/media/hantro/hantro_g1.c [new file with mode: 0644]
drivers/staging/media/hantro/hantro_hw.h
drivers/staging/media/hantro/imx8m_vpu_hw.c
drivers/staging/media/hantro/rk3288_vpu_hw.c