media: nxp: imx8-isi: Move i.MX8 gasket configuration to an ops structure
authorGuoniu.zhou <guoniu.zhou@nxp.com>
Thu, 29 Jun 2023 01:36:20 +0000 (09:36 +0800)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 10 Aug 2023 05:58:38 +0000 (07:58 +0200)
commitf48498ad0a4106e7087d71b9deca2d01d9f526b8
treef2077fc9c24ebfe4be4d502c7f1c62155ec0f582
parent0ac186e36d84b6a365eb10993e0fc9676734a68a
media: nxp: imx8-isi: Move i.MX8 gasket configuration to an ops structure

The i.MX93 includes an ISI instance compatible with the imx8-isi
driver, but with a different gasket. To prepare for this, make the
gasket configuration modular by moving the code to an ops structure.

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/nxp/imx8-isi/Makefile
drivers/media/platform/nxp/imx8-isi/imx8-isi-core.c
drivers/media/platform/nxp/imx8-isi/imx8-isi-core.h
drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c
drivers/media/platform/nxp/imx8-isi/imx8-isi-gasket.c [new file with mode: 0644]