| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2017, HiSilicon. All rights reserved. |
|---|
| 3 | | - * |
|---|
| 4 | | - * Released under the GPLv2 only. |
|---|
| 5 | | - * SPDX-License-Identifier: GPL-2.0 |
|---|
| 6 | 4 | */ |
|---|
| 7 | 5 | |
|---|
| 8 | 6 | #ifndef UFS_HISI_H_ |
|---|
| .. | .. |
|---|
| 91 | 89 | #define UFS_HISI_LIMIT_HS_RATE PA_HS_MODE_B |
|---|
| 92 | 90 | #define UFS_HISI_LIMIT_DESIRED_MODE FAST |
|---|
| 93 | 91 | |
|---|
| 92 | +#define UFS_HISI_CAP_RESERVED BIT(0) |
|---|
| 93 | +#define UFS_HISI_CAP_PHY10nm BIT(1) |
|---|
| 94 | + |
|---|
| 94 | 95 | struct ufs_hisi_host { |
|---|
| 95 | 96 | struct ufs_hba *hba; |
|---|
| 96 | 97 | void __iomem *ufs_sys_ctrl; |
|---|
| .. | .. |
|---|
| 112 | 113 | ufs_sys_ctrl_writel((host), \ |
|---|
| 113 | 114 | ((~(mask)) & (ufs_sys_ctrl_readl((host), (reg)))), \ |
|---|
| 114 | 115 | (reg)) |
|---|
| 116 | + |
|---|
| 115 | 117 | #endif /* UFS_HISI_H_ */ |
|---|