aboutsummaryrefslogtreecommitdiffstats
path: root/include/ufs
diff options
context:
space:
mode:
authorStanley Chu <stanley.chu@mediatek.com>2022-06-16 13:37:23 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2022-06-16 22:08:44 -0400
commit1d6f9decb60a23cde2e0fbe0f89d5fc6d462ddd5 (patch)
treeef0ae649e383ceb51ee8f1cc3b8ca223274d007f /include/ufs
parentscsi: ufs: ufs-mediatek: Support low-power mode for parents of VCCQx (diff)
downloadlinux-dev-1d6f9decb60a23cde2e0fbe0f89d5fc6d462ddd5.tar.xz
linux-dev-1d6f9decb60a23cde2e0fbe0f89d5fc6d462ddd5.zip
scsi: ufs: Export regulator functions
Export below regulator functions to allow vendors to customize regulator configuration in their own platforms. int ufshcd_populate_vreg(struct device *dev, const char *name, struct ufs_vreg **out_vreg); int ufshcd_get_vreg(struct device *dev, struct ufs_vreg *vreg); Link: https://lore.kernel.org/r/20220616053725.5681-10-stanley.chu@mediatek.com Signed-off-by: Stanley Chu <stanley.chu@mediatek.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/ufs')
-rw-r--r--include/ufs/ufshcd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ufs/ufshcd.h b/include/ufs/ufshcd.h
index cb66304bda3d..b5c9064a11d9 100644
--- a/include/ufs/ufshcd.h
+++ b/include/ufs/ufshcd.h
@@ -1199,6 +1199,8 @@ void ufshcd_map_desc_id_to_length(struct ufs_hba *hba, enum desc_idn desc_id,
u32 ufshcd_get_local_unipro_ver(struct ufs_hba *hba);
+int ufshcd_get_vreg(struct device *dev, struct ufs_vreg *vreg);
+
int ufshcd_send_uic_cmd(struct ufs_hba *hba, struct uic_command *uic_cmd);
int ufshcd_exec_raw_upiu_cmd(struct ufs_hba *hba,