diff options
| author | Gilad Broner <gbroner@codeaurora.org> | 2016-02-28 15:24:56 +0200 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:25:44 -0700 |
| commit | 9fbeb1c9105055cb220c2051f5a0ea2099842fb4 (patch) | |
| tree | 24de13319fe3aa6b33c1edb542dca1317c26f6f3 /include | |
| parent | 3564520a5ef0ad521c99961048287261c46527be (diff) | |
ufs: qcom: add dts property to disable LPM modes
Since msmcobalt RUMI uses QRBTC-V2 UFS PHY, there are a few limitations
that must be applied in order to be able to initialize UFS:
1. UFS should remain in PWM-G1 1-Lane and never change its gear, as other
gears are not stable
2. hibern8 enter/exit should be bypassed
3. we should avoid any power change (as in runtime suspend/resume)
Add "qcom,disable-lpm" property to facilitate disabling of these.
Change-Id: I3f1801da1e2bf1ce8ce98f5ab08211683106ae8c
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/phy/phy-qcom-ufs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/phy/phy-qcom-ufs.h b/include/linux/phy/phy-qcom-ufs.h index 97554cfe2512..540938ea3bc3 100644 --- a/include/linux/phy/phy-qcom-ufs.h +++ b/include/linux/phy/phy-qcom-ufs.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2015, Linux Foundation. All rights reserved. + * Copyright (c) 2013-2016, Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -56,5 +56,6 @@ int ufs_qcom_phy_calibrate_phy(struct phy *phy, bool is_rate_B); int ufs_qcom_phy_is_pcs_ready(struct phy *phy); void ufs_qcom_phy_save_controller_version(struct phy *phy, u8 major, u16 minor, u16 step); +const char *ufs_qcom_phy_name(struct phy *phy); #endif /* PHY_QCOM_UFS_H_ */ |
