]> git.baikalelectronics.ru Git - kernel.git/commit
soc: imx: imx8m-blk-ctrl: Fix imx8mm mipi reset
authorAdam Ford <aford173@gmail.com>
Sun, 28 Nov 2021 12:50:07 +0000 (06:50 -0600)
committerShawn Guo <shawnguo@kernel.org>
Mon, 6 Dec 2021 02:28:30 +0000 (10:28 +0800)
commit538b3f3c9390536d9847461720df09166afcf964
tree06a81d3bf87f9956a97ca9a5d103c32cab17dbbc
parent09b9d70b844e1917674caa938c9344d85373737f
soc: imx: imx8m-blk-ctrl: Fix imx8mm mipi reset

Most of the blk-ctrl reset bits are found in one register, however
there are two bits in offset 8 for pulling the MIPI DPHY out of reset
and one of them needs to be set when IMX8MM_DISPBLK_PD_MIPI_CSI is brought
out of reset or the MIPI_CSI hangs.

Since MIPI_DSI is impacted, add the additional one for MIPI_DSI too.

Fixes: f2f9d76079e5 ("soc: imx: imx8m-blk-ctrl: add DISP blk-ctrl")
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/imx8m-blk-ctrl.c