From e0f9f862623cd82e8cfe740e3de579a78fb852ca Mon Sep 17 00:00:00 2001 From: Stanley Chu Date: Tue, 8 Sep 2020 14:45:07 +0800 Subject: scsi: ufs: ufs-mediatek: Add host reset mechanism Add host reset mechanism to try to recover host-side errors during recovery flow. Link: https://lore.kernel.org/r/20200908064507.30774-5-stanley.chu@mediatek.com Signed-off-by: Stanley Chu Signed-off-by: Martin K. Petersen --- drivers/scsi/ufs/ufs-mediatek.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/scsi/ufs/ufs-mediatek.h') diff --git a/drivers/scsi/ufs/ufs-mediatek.h b/drivers/scsi/ufs/ufs-mediatek.h index 87657376d27a..5c32d5f52759 100644 --- a/drivers/scsi/ufs/ufs-mediatek.h +++ b/drivers/scsi/ufs/ufs-mediatek.h @@ -92,6 +92,9 @@ enum { struct ufs_mtk_host { struct ufs_hba *hba; struct phy *mphy; + struct reset_control *hci_reset; + struct reset_control *unipro_reset; + struct reset_control *crypto_reset; bool mphy_powered_on; bool unipro_lpm; bool ref_clk_enabled; -- cgit v1.2.3