Message ID | 20170610012045.33325-1-butao@hisilicon.com (mailing list archive) |
---|---|
State | Changes Requested, archived |
Headers | show |
On 2017-06-09 18:20, butao wrote: > add Auto-Hibernate Idle Timer value for hi3660 ufs > > Signed-off-by: Bu Tao <butao@hisilicon.com> > Signed-off-by: Geng Jianfeng <gengjianfeng@hisilicon.com> > Signed-off-by: Zang Leigang <zangleigang@hisilicon.com> > Signed-off-by: Yu Jianfeng <steven.yujianfeng@hisilicon.com> > --- > 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)
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)