OSDN Git Service

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)
commit042b67799e2991e301df8269e166d8bc5944495e
tree06a81d3bf87f9956a97ca9a5d103c32cab17dbbc
parent737e65c7956795b3553781fb7bc82fce1c39503f
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: 926e57c065df ("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