summaryrefslogtreecommitdiff
path: root/drivers/phy/qualcomm/phy-qcom-ufs-i.h
diff options
context:
space:
mode:
authorVivek Gautam <vivek.gautam@codeaurora.org>2017-10-12 09:19:34 +0300
committerKishon Vijay Abraham I <kishon@ti.com>2017-10-23 08:49:27 +0300
commit3d741ff44edc05cd313ddc1b3c1c1ab0f41722f4 (patch)
treede0f07085d34a28ec3e7c549da53fe872999e73c /drivers/phy/qualcomm/phy-qcom-ufs-i.h
parentfd3e4c98e6e7a12dc47ef98ee12c0c3c024b5ee9 (diff)
downloadlinux-3d741ff44edc05cd313ddc1b3c1c1ab0f41722f4.tar.xz
phy: qcom-ufs: Add support to set phy mode
Adding support to set desired UFS phy mode that can be set from the host controller. Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/qualcomm/phy-qcom-ufs-i.h')
-rw-r--r--drivers/phy/qualcomm/phy-qcom-ufs-i.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/phy/qualcomm/phy-qcom-ufs-i.h b/drivers/phy/qualcomm/phy-qcom-ufs-i.h
index 13b02b7de30b..94326ed107c3 100644
--- a/drivers/phy/qualcomm/phy-qcom-ufs-i.h
+++ b/drivers/phy/qualcomm/phy-qcom-ufs-i.h
@@ -115,6 +115,8 @@ struct ufs_qcom_phy {
int cached_regs_table_size;
bool is_powered_on;
struct ufs_qcom_phy_specific_ops *phy_spec_ops;
+
+ enum phy_mode mode;
};
/**