scsi: ufs: Fix phy init sequence
Phy init is assumed to be done during powerup sequence. The phy init is now being invoked during clock init as well. At this point in initialization the phy mode and submode is not yet set. So the phy initialization puts the phy in a weird state. It also increments the counters that prevent re-init and re-power-on of the phy. Thus, when the phy init is invoked during powerup sequence, it just returns thus leading to failures during controller enable. This patch fixes this by removing the phy init during clock init. The ufs device reset traditionally uses pinctrl. This patch moves it to gpio based reset. Change-Id: Id9205185b042e4f11fc4132419a179ba81af7226 Signed-off-by:Asutosh Das <asutoshd@codeaurora.org> Signed-off-by:
Bao D Nguyen <nguyenb@codeaurora.org> Signed-off-by:
Can Guo <cang@codeaurora.org>
Loading
Please register or sign in to comment