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:Ziqi Chen <ziqichen@codeaurora.org>
Loading
Please register or sign in to comment