[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:
parent
86efc50432
commit
1be9ba20e1
|
@ -63,8 +63,8 @@ static int csiphy_set_power(struct iss_csiphy *phy, u32 power)
|
||||||
|
|
||||||
writel((readl(phy->cfg_regs + CSI2_COMPLEXIO_CFG) &
|
writel((readl(phy->cfg_regs + CSI2_COMPLEXIO_CFG) &
|
||||||
~CSI2_COMPLEXIO_CFG_PWD_CMD_MASK) |
|
~CSI2_COMPLEXIO_CFG_PWD_CMD_MASK) |
|
||||||
power,
|
power | CSI2_COMPLEXIO_CFG_PWR_AUTO,
|
||||||
phy->cfg_regs + CSI2_COMPLEXIO_CFG);
|
phy->cfg_regs + CSI2_COMPLEXIO_CFG);
|
||||||
|
|
||||||
retry_count = 0;
|
retry_count = 0;
|
||||||
do {
|
do {
|
||||||
|
|
Loading…
Reference in New Issue