[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: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
Laurent Pinchart 2013-08-29 08:36:22 -03:00 committed by Mauro Carvalho Chehab
parent 86efc50432
commit 1be9ba20e1
1 changed files with 2 additions and 2 deletions

View File

@ -63,8 +63,8 @@ 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,
phy->cfg_regs + CSI2_COMPLEXIO_CFG);
power | CSI2_COMPLEXIO_CFG_PWR_AUTO,
phy->cfg_regs + CSI2_COMPLEXIO_CFG);
retry_count = 0;
do {