diff options
author | Venkat Gopalakrishnan <venkatg@codeaurora.org> | 2016-08-26 18:33:11 -0700 |
---|---|---|
committer | Venkat Gopalakrishnan <venkatg@codeaurora.org> | 2016-09-12 11:19:39 -0700 |
commit | fc8a047e3117ac9335c5ef579c27ae5b1833735c (patch) | |
tree | 5b88b4e2daf6a4f34538ea24b6322b1a4649b37c /include/linux | |
parent | 3dc7ca5e82cc56abc0463e35f1851cd8e2eed97a (diff) |
phy: qcom-ufs-qmp-v3: add ops to dump phy regs
It's useful to dump phy registers on failure to debug
link issues. Export a new ops for the ufs driver to invoke
during link failures.
Change-Id: Id3a9c9085375b783d97e7f2ffd3e11ec469aedb9
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/phy/phy-qcom-ufs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phy/phy-qcom-ufs.h b/include/linux/phy/phy-qcom-ufs.h index 7945fea14d77..25e7a5f183ec 100644 --- a/include/linux/phy/phy-qcom-ufs.h +++ b/include/linux/phy/phy-qcom-ufs.h @@ -58,5 +58,6 @@ 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); int ufs_qcom_phy_configure_lpm(struct phy *generic_phy, bool enable); +void ufs_qcom_phy_dbg_register_dump(struct phy *generic_phy); #endif /* PHY_QCOM_UFS_H_ */ |