mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
phy: rockchip-inno-usb2: turn off differential receiver
Turn off differential receiver in suspend mode for RK3328 and PX30 to save power. The effect of turn off differential receiver on electricity: USB20_AVDD_1V8: 0.73mA (turn on) USB20_AVDD_1V8: 0.03mA (tunn off) Change-Id: I0650d6d4b712a3692eed2564dda36d41b7956bb9 Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
This commit is contained in:
@@ -1839,6 +1839,11 @@ static int rk3328_usb2phy_tuning(struct rockchip_usb2phy *rphy)
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
/* Turn off differential receiver in suspend mode */
|
||||
ret = regmap_write(rphy->grf, 0x18, 0x00040000);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user