linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: ufs: add missing macro for the UFSHCI register map
@ 2024-08-09  2:56 Super Ni
  2024-08-09  5:21 ` Manivannan Sadhasivam
  0 siblings, 1 reply; 2+ messages in thread
From: Super Ni @ 2024-08-09  2:56 UTC (permalink / raw)
  To: Martin K . Petersen
  Cc: linux-scsi, bvanassche, manivannan.sadhasivam, beanhuo,
	peter.wang, avri.altman, cw9316.lee, super.ni

Add macro for register bit listed in JESD223C (v2.1).

For completeness all registers specified in the JEDEC doc should be
included here.

Signed-off-by: Super Ni <super.ni@intel.com>
---
 include/ufs/ufshci.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/ufs/ufshci.h b/include/ufs/ufshci.h
index 38fe97971a65..534fbb8988e2 100644
--- a/include/ufs/ufshci.h
+++ b/include/ufs/ufshci.h
@@ -43,6 +43,7 @@ enum {
 	REG_UTP_TRANSFER_REQ_DOOR_BELL		= 0x58,
 	REG_UTP_TRANSFER_REQ_LIST_CLEAR		= 0x5C,
 	REG_UTP_TRANSFER_REQ_LIST_RUN_STOP	= 0x60,
+	REG_UTP_TRANSFER_REQ_LIST_COMPLETION	= 0x64,
 	REG_UTP_TASK_REQ_LIST_BASE_L		= 0x70,
 	REG_UTP_TASK_REQ_LIST_BASE_H		= 0x74,
 	REG_UTP_TASK_REQ_DOOR_BELL		= 0x78,
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] scsi: ufs: add missing macro for the UFSHCI register map
  2024-08-09  2:56 [PATCH] scsi: ufs: add missing macro for the UFSHCI register map Super Ni
@ 2024-08-09  5:21 ` Manivannan Sadhasivam
  0 siblings, 0 replies; 2+ messages in thread
From: Manivannan Sadhasivam @ 2024-08-09  5:21 UTC (permalink / raw)
  To: Super Ni
  Cc: Martin K . Petersen, linux-scsi, bvanassche, beanhuo, peter.wang,
	avri.altman, cw9316.lee

On Fri, Aug 09, 2024 at 10:56:10AM +0800, Super Ni wrote:
> Add macro for register bit listed in JESD223C (v2.1).
> 
> For completeness all registers specified in the JEDEC doc should be
> included here.
> 

I wouldn't say it is necessary as the macro is currently unused.

- Mani

> Signed-off-by: Super Ni <super.ni@intel.com>
> ---
>  include/ufs/ufshci.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/ufs/ufshci.h b/include/ufs/ufshci.h
> index 38fe97971a65..534fbb8988e2 100644
> --- a/include/ufs/ufshci.h
> +++ b/include/ufs/ufshci.h
> @@ -43,6 +43,7 @@ enum {
>  	REG_UTP_TRANSFER_REQ_DOOR_BELL		= 0x58,
>  	REG_UTP_TRANSFER_REQ_LIST_CLEAR		= 0x5C,
>  	REG_UTP_TRANSFER_REQ_LIST_RUN_STOP	= 0x60,
> +	REG_UTP_TRANSFER_REQ_LIST_COMPLETION	= 0x64,
>  	REG_UTP_TASK_REQ_LIST_BASE_L		= 0x70,
>  	REG_UTP_TASK_REQ_LIST_BASE_H		= 0x74,
>  	REG_UTP_TASK_REQ_DOOR_BELL		= 0x78,
> -- 
> 2.34.1
> 

-- 
மணிவண்ணன் சதாசிவம்

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-09  5:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-09  2:56 [PATCH] scsi: ufs: add missing macro for the UFSHCI register map Super Ni
2024-08-09  5:21 ` Manivannan Sadhasivam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).