Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1be9ba20 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab
Browse files

[media] v4l: omap4iss: csi2: Enable automatic ULP mode transition



Automatically switch between ULP and ON states based on ULPM signal from
complex I/O.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 86efc504
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ static int csiphy_set_power(struct iss_csiphy *phy, u32 power)

	writel((readl(phy->cfg_regs + CSI2_COMPLEXIO_CFG) &
		~CSI2_COMPLEXIO_CFG_PWD_CMD_MASK) |
		power,
	       power | CSI2_COMPLEXIO_CFG_PWR_AUTO,
	       phy->cfg_regs + CSI2_COMPLEXIO_CFG);

	retry_count = 0;