]> 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)
commitfd0ae5c24a9bb9c518e8b8ee3707fac8fbf94420
tree06a81d3bf87f9956a97ca9a5d103c32cab17dbbc
parentc446953bbcc11511e4ba2ecfb571dae2cf5c05f8
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: 5b1da082e569 ("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