diff options
| author | Subhash Jadavani <subhashj@codeaurora.org> | 2014-09-05 18:13:41 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 10:57:23 -0700 |
| commit | 6f270ddf067d5a86d3b339382c3d95b40d278f59 (patch) | |
| tree | fc3a2e7538c3eb7f97a238b5a36a84b3b9cf80a5 /include/linux | |
| parent | 279f4d7c9d841baa9756ebeb157fe17a32cd699d (diff) | |
scsi: ufs: debugfs: add option to read local DME attribute
This patch adds the debugfs capability to read the DME attribute of
local UniPro/M-PHY. This should help for debugging.
Change-Id: I2dea471f6bcf591a69206e127d3c9e3febbbc68f
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/scsi/ufs/ufshcd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/scsi/ufs/ufshcd.h b/include/linux/scsi/ufs/ufshcd.h index 9a35a4cd170a..7b96bbcc70b3 100644 --- a/include/linux/scsi/ufs/ufshcd.h +++ b/include/linux/scsi/ufs/ufshcd.h @@ -377,6 +377,8 @@ struct debugfs_files { struct dentry *host_regs; struct dentry *dump_dev_desc; struct dentry *power_mode; + struct dentry *dme_local_read; + u32 dme_local_attr_id; #ifdef CONFIG_UFS_FAULT_INJECTION struct fault_attr fail_attr; #endif |
