summaryrefslogtreecommitdiffstats
path: root/drivers/ufs/host/ufs-qcom.h
diff options
context:
space:
mode:
authorCan Guo <quic_cang@quicinc.com>2022-12-15 04:06:22 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2023-01-14 03:12:11 +0100
commit519b6274a7775f5fe00a086f189efb8f063467d1 (patch)
treea6831f5fb90ab61c695e98b04fa4aca6510d843e /drivers/ufs/host/ufs-qcom.h
parentscsi: ufs: core: mcq: Add Event Specific Interrupt enable and config functions (diff)
downloadlinux-519b6274a7775f5fe00a086f189efb8f063467d1.tar.xz
linux-519b6274a7775f5fe00a086f189efb8f063467d1.zip
scsi: ufs: qcom: Add MCQ ESI config vendor specific ops
Add MCQ ESI config vendor specific ops. Co-developed-by: Asutosh Das <quic_asutoshd@quicinc.com> Signed-off-by: Asutosh Das <quic_asutoshd@quicinc.com> Signed-off-by: Can Guo <quic_cang@quicinc.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ufs/host/ufs-qcom.h')
-rw-r--r--drivers/ufs/host/ufs-qcom.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/ufs/host/ufs-qcom.h b/drivers/ufs/host/ufs-qcom.h
index 8050e214f722..8a503aa4f7ab 100644
--- a/drivers/ufs/host/ufs-qcom.h
+++ b/drivers/ufs/host/ufs-qcom.h
@@ -52,6 +52,8 @@ enum {
* added in HW Version 3.0.0
*/
UFS_AH8_CFG = 0xFC,
+
+ REG_UFS_CFG3 = 0x271C,
};
/* QCOM UFS host controller vendor specific debug registers */
@@ -217,6 +219,9 @@ struct ufs_qcom_host {
struct gpio_desc *device_reset;
u32 hs_gear;
+
+ int esi_base;
+ bool esi_enabled;
};
static inline u32