From 4ad04d8bc587f53e654817caa206043f7eefb766 Mon Sep 17 00:00:00 2001 From: Gilad Broner Date: Thu, 22 Jan 2015 14:50:01 -0800 Subject: 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 [subhashj@codeaurora.org: resolved trivial merge conflicts] Signed-off-by: Subhash Jadavani --- include/linux/scsi/ufs/ufs-qcom.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') 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 -- cgit v1.2.3