]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
reset: imx7: Correct polarity of MIPI CSI resets on i.MX8MQ
authorRobby Cai <robby.cai@nxp.com>
Fri, 19 Jun 2026 07:31:15 +0000 (15:31 +0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 1 Jul 2026 13:08:14 +0000 (15:08 +0200)
commit71827776667f4e4677a4fa806bcfb24d4b8dd9d7
treed7ff126bdad962fa8f9ef3c08080cac995422792
parent1a8c89f8c112c75e84ff9a140f969e372aed0c9a
reset: imx7: Correct polarity of MIPI CSI resets on i.MX8MQ

On i.MX8MQ, the MIPI CSI reset lines are active-low and not self-clearing.
Writing '0' asserts reset and it remains asserted until explicitly
deasserted by software.

This driver previously treated the MIPI CSI reset signals as active-high,
which led to incorrect reset assert/deassert sequencing. This issue was
exposed by commit 6d79bb8fd2aa ("media: imx8mq-mipi-csi2: Explicitly
release reset").

Fix this by reflecting the correct reset polarity and ensuring proper
reset handling.

Fixes: c979dbf59987 ("reset: imx7: Add support for i.MX8MQ IP block variant")
Cc: stable@vger.kernel.org # 6d79bb8fd2aa: media: imx8mq-mipi-csi2: Explicitly release reset
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Robby Cai <robby.cai@nxp.com>
Reviewed-by: Guoniu Zhou <guoniu.zhou@oss.nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/reset-imx7.c