forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/scsi/ufs/ufs-hisi.h
....@@ -1,8 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2017, HiSilicon. All rights reserved.
3
- *
4
- * Released under the GPLv2 only.
5
- * SPDX-License-Identifier: GPL-2.0
64 */
75
86 #ifndef UFS_HISI_H_
....@@ -91,6 +89,9 @@
9189 #define UFS_HISI_LIMIT_HS_RATE PA_HS_MODE_B
9290 #define UFS_HISI_LIMIT_DESIRED_MODE FAST
9391
92
+#define UFS_HISI_CAP_RESERVED BIT(0)
93
+#define UFS_HISI_CAP_PHY10nm BIT(1)
94
+
9495 struct ufs_hisi_host {
9596 struct ufs_hba *hba;
9697 void __iomem *ufs_sys_ctrl;
....@@ -112,4 +113,5 @@
112113 ufs_sys_ctrl_writel((host), \
113114 ((~(mask)) & (ufs_sys_ctrl_readl((host), (reg)))), \
114115 (reg))
116
+
115117 #endif /* UFS_HISI_H_ */