summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGilad Broner <gbroner@codeaurora.org>2015-01-22 14:50:01 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 10:58:35 -0700
commit4ad04d8bc587f53e654817caa206043f7eefb766 (patch)
tree9411ee1162ea2a6b04173c043b622c5f8b05af85 /include/linux
parent7ae3423485a7331debe766160c600d2ec58dffbc (diff)
scsi: ufs-qcom: change device reference clock control
As of HW major version 2, bit 'UFS_DEV_REF_CLK_EN' which is used to gate/ungate the ref_clk to external UFS device, was moved into the UFS register space to UFS_CFG1 register. This change adds support to appropriately control the device reference clock and it also adds the missing documentation for the device reference clock control register address space. Change-Id: I66a6a75dc5a1cf130b1cee90ae20f9f950edfb3a Signed-off-by: Gilad Broner <gbroner@codeaurora.org> [subhashj@codeaurora.org: resolved trivial merge conflicts] Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/scsi/ufs/ufs-qcom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/scsi/ufs/ufs-qcom.h b/include/linux/scsi/ufs/ufs-qcom.h
index fc8b2c98f191..e7baca9cbd09 100644
--- a/include/linux/scsi/ufs/ufs-qcom.h
+++ b/include/linux/scsi/ufs/ufs-qcom.h
@@ -251,6 +251,7 @@ struct ufs_qcom_host {
void __iomem *dev_ref_clk_ctrl_mmio;
bool is_dev_ref_clk_enabled;
struct ufs_hw_version hw_ver;
+ u32 dev_ref_clk_en_mask;
#ifdef CONFIG_DEBUG_FS
struct qcom_debugfs_files debugfs_files;
#endif