add Auto-Hibernate Idle Timer value for hi3660 ufs
Signed-off-by: Bu Tao <[email protected]>
Signed-off-by: Geng Jianfeng <[email protected]>
Signed-off-by: Zang Leigang <[email protected]>
Signed-off-by: Yu Jianfeng <[email protected]>
---
drivers/scsi/ufs/ufshci.h | 3 +++
1 file changed, 3 insertions(+)
mode change 100644 => 100755 drivers/scsi/ufs/ufshci.h
diff --git a/drivers/scsi/ufs/ufshci.h b/drivers/scsi/ufs/ufshci.h
old mode 100644
new mode 100755
index f60145d4a66e..5ab9dfe4280e
--- a/drivers/scsi/ufs/ufshci.h
+++ b/drivers/scsi/ufs/ufshci.h
@@ -151,6 +151,9 @@ enum {
CONTROLLER_FATAL_ERROR |\
SYSTEM_BUS_FATAL_ERROR)
+/* AHIT - Auto-Hibernate Idle Timer */
+#define UFS_AHIT_AH8ITV_MASK 0x3FF
+
/* HCS - Host Controller Status 30h */
#define DEVICE_PRESENT UFS_BIT(0)
#define UTP_TRANSFER_REQ_LIST_READY UFS_BIT(1)
--
2.11.GIT
On 2017-06-09 18:20, butao wrote:
> add Auto-Hibernate Idle Timer value for hi3660 ufs
>
> Signed-off-by: Bu Tao <[email protected]>
> Signed-off-by: Geng Jianfeng <[email protected]>
> Signed-off-by: Zang Leigang <[email protected]>
> Signed-off-by: Yu Jianfeng <[email protected]>
> ---
> drivers/scsi/ufs/ufshci.h | 3 +++
> 1 file changed, 3 insertions(+)
> mode change 100644 => 100755 drivers/scsi/ufs/ufshci.h
>
> diff --git a/drivers/scsi/ufs/ufshci.h b/drivers/scsi/ufs/ufshci.h
> old mode 100644
> new mode 100755
> index f60145d4a66e..5ab9dfe4280e
> --- a/drivers/scsi/ufs/ufshci.h
> +++ b/drivers/scsi/ufs/ufshci.h
> @@ -151,6 +151,9 @@ enum {
> CONTROLLER_FATAL_ERROR |\
> SYSTEM_BUS_FATAL_ERROR)
>
> +/* AHIT - Auto-Hibernate Idle Timer */
> +#define UFS_AHIT_AH8ITV_MASK 0x3FF
This should be added only when we would need it in the driver.
> +
> /* HCS - Host Controller Status 30h */
> #define DEVICE_PRESENT UFS_BIT(0)
> #define UTP_TRANSFER_REQ_LIST_READY UFS_BIT(1)
--
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project