media: imx: imx7-media-csi: add support for imx8mq
authorMartin Kepplinger <martin.kepplinger@puri.sm>
Mon, 22 Nov 2021 07:27:07 +0000 (08:27 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 28 Jan 2022 12:19:32 +0000 (13:19 +0100)
commite55c90c82375378f32263cc8a738650e71b5551b
treeba4f9529fe6f0d76fe1f7dd4a38d3f94ac881c2e
parentc8c80c996182239ff9b05eda4db50184cf3b2e99
media: imx: imx7-media-csi: add support for imx8mq

Modeled after the NXP driver mx6s_capture.c that this driver is based on,
imx8mq needs different settings for the baseaddr_switch mechanism. Define
the needed bits and set that for imx8mq.

Without these settings, the system will "sometimes" hang completely when
starting to stream (the interrupt will never be called).

Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Acked-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/imx/imx7-media-csi.c