Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751734AbdFJBVE (ORCPT ); Fri, 9 Jun 2017 21:21:04 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:7396 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751641AbdFJBVC (ORCPT ); Fri, 9 Jun 2017 21:21:02 -0400 From: butao To: , , , CC: , , , , , , Subject: [PATCH 1/3] scsi:ufs:add AHIT for hi3660 ufs Date: Sat, 10 Jun 2017 09:20:45 +0800 Message-ID: <20170610012045.33325-1-butao@hisilicon.com> X-Mailer: git-send-email 2.11.GIT MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [100.107.72.191] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020203.593B4978.012B,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 6b549c7bc45d543df5df15f617c558ed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 905 Lines: 29 add Auto-Hibernate Idle Timer value for hi3660 ufs Signed-off-by: Bu Tao Signed-off-by: Geng Jianfeng Signed-off-by: Zang Leigang Signed-off-by: Yu Jianfeng --- 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