mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
media: rockchip: isp1: stop mipi with shutdown lane
isp_mipi_ctrl[8:11] control synopsys dphy's SHUTDOWNZ and RSTZ. stop mipi and dphy together. Change-Id: Ief50ab81f5f960e414a880e43b772ee47752742b Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -587,7 +587,9 @@ static int rkisp1_isp_stop(struct rkisp1_device *dev)
|
||||
writel(0, base + CIF_ISP_CSI0_CTRL0);
|
||||
} else {
|
||||
val = readl(base + CIF_MIPI_CTRL);
|
||||
val = val & (~CIF_MIPI_CTRL_SHUTDOWNLANES(0xf));
|
||||
writel(val & (~CIF_MIPI_CTRL_OUTPUT_ENA), base + CIF_MIPI_CTRL);
|
||||
udelay(20);
|
||||
}
|
||||
/* stop ISP */
|
||||
val = readl(base + CIF_ISP_CTRL);
|
||||
|
||||
Reference in New Issue
Block a user