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

Skip to content
Commit 85411b7c authored by Ziqi Chen's avatar Ziqi Chen
Browse files

scsi: ufs: Fix ufs power down/on specs violation in suspend/resume path



As per specs, while powering off/on the ufs device, RST_N signal and
REF_CLK signal should be between VSS(Ground) and VCCQ.

Commit a8bc450a ("scsi: ufs: fix ufs power down specs violation
in shutdown path") fixed this violation from shutdown path. But this
issue can still be observed during system suspend and system resume
if spm_lvl set to 5. This new change fixs it in suspend/resume path.

Power down:
1. Turn-off REF_CLK
2. Assert RST_N low
3. Turn-off VCCQ
4. Turn-off VCC.

power on:
1. Turn-on VCCQ
2. Turn-on VCC
3. Turn-On REF_CLK
4. Deassert RST_N high.

Change-Id: Ia2390021d563887a24eb10282fca70400f2ac1aa
Signed-off-by: default avatarZiqi Chen <ziqichen@codeaurora.org>
parent da2a0248
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment