scsi: ufs: Add HCI capabilities sysfs group
authorAvri Altman <avri.altman@wdc.com>
Sun, 11 Aug 2024 14:37:57 +0000 (17:37 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2024 02:11:24 +0000 (22:11 -0400)
commitf51d748195773c7780deca815dc787c281d77eb5
tree03a579ea59f7823b5c4cb49fa5315689defcba30
parentb9d104465a6c2f1bb27ae247bd90b4ab079a1699
scsi: ufs: Add HCI capabilities sysfs group

The standard register map of UFSHCI is comprised of several groups.  The
first group (starting from offset 0x00), is the host capabilities group.
It contains some interesting information that otherwise is not available,
e.g. the UFS version of the platform etc.

Reviewed-by: Keoseong Park <keosung.park@samsung.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Avri Altman <avri.altman@wdc.com>
Link: https://lore.kernel.org/r/20240811143757.2538212-3-avri.altman@wdc.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Documentation/ABI/testing/sysfs-driver-ufs
drivers/ufs/core/ufs-sysfs.c