summaryrefslogtreecommitdiff
path: root/drivers/scsi/ufs/ufs-qcom.h
diff options
context:
space:
mode:
authorSubhash Jadavani <subhashj@codeaurora.org>2015-02-13 13:27:40 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 10:58:55 -0700
commit978703baabbf82b2aee12172426349a89091db5d (patch)
tree03c0d5c65389e8cd2925909268aaae7018194e16 /drivers/scsi/ufs/ufs-qcom.h
parent65b6feb7815eeceaeb99fdf62992e8559b8dce9f (diff)
scsi: ufs-qcom: skip update secure configuration
On latest UFS PHY HW revisions, UFS host controller secure configuration is retained even during UFS host controller power collapse so we can skip restoring the secure configuration after coming out of power collapse. Change-Id: I6cb882c99bd621622286c0f045cbefd9c1b1a0b7 Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'drivers/scsi/ufs/ufs-qcom.h')
-rw-r--r--drivers/scsi/ufs/ufs-qcom.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/ufs-qcom.h b/drivers/scsi/ufs/ufs-qcom.h
index e734574c150a..17f018a81e40 100644
--- a/drivers/scsi/ufs/ufs-qcom.h
+++ b/drivers/scsi/ufs/ufs-qcom.h
@@ -242,6 +242,12 @@ struct ufs_qcom_host {
* controller supports the QUniPro mode.
*/
#define UFS_QCOM_CAP_QUNIPRO UFS_BIT(0)
+
+ /*
+ * Set this capability if host controller can retain the secure
+ * configuration even after UFS controller core power collapse.
+ */
+ #define UFS_QCOM_CAP_RETAIN_SEC_CFG_AFTER_PWR_COLLAPSE UFS_BIT(1)
u32 caps;
struct phy *generic_phy;