Skip to contentSkip to conversation

scsi: ufs: add missing macro for the UFSHCI register map

PATCH In review Super Ni 2 participants 2 messages Aug 9, 2024

Subsystems (2)
lore
Share & tools
lore

Super Ni

author
#0 lore raw

PATCH 1/1 scsi: ufs: add missing macro for the UFSHCI register map

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

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

---
 include/ufs/ufshci.h | 1 +
 1 file changed, 1 insertion(+)
include/ufs/ufshci.h +1 -0
index 38fe97971a65..534fbb8988e2 100644
@@ -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,
Signature · 1 line
2.34.1
#1 lore raw
Quoted 5 lines · 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.

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

- Mani

Quoted 20 lines
---
 include/ufs/ufshci.h | 1 +
 1 file changed, 1 insertion(+)
include/ufs/ufshci.h +1 -0
index 38fe97971a65..534fbb8988e2 100644
@@ -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,
Signature · 1 line
2.34.1
Signature · 1 line
மணிவண்ணன் சதாசிவம்