]> git.baikalelectronics.ru Git - uboot.git/commit
ufs: Add Initial Support for UFS subsystem
authorFaiz Abbas <faiz_abbas@ti.com>
Tue, 15 Oct 2019 12:54:36 +0000 (18:24 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 24 Oct 2019 00:47:12 +0000 (20:47 -0400)
commitfe41f19161351de016fb7163714962e049c764eb
tree334f27963392e1b9dcc4db93017eb10725b2c39a
parent41458dbc42712056f8caa4750289a2082c042180
ufs: Add Initial Support for UFS subsystem

Add Support for UFS Host Controller Interface (UFSHCI) for communicating
with Universal Flash Storage (UFS) devices. The steps to initialize the
host controller interface are the following:

- Initiate the Host Controller Initialization process by writing to the
Host controller enable register.
- Configure the Host Controller base address registers by allocating a
host memory space and related data structures.
- Unipro link startup procedure
- Check for connected device
- Configure UFS host controller to process requests

Also register this host controller as a SCSI host controller.

Taken from Linux Kernel v5.2 (drivers/scsi/ufs/ufshcd.c) and ported to
U-boot.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
MAINTAINERS
drivers/Kconfig
drivers/Makefile
drivers/ufs/Kconfig [new file with mode: 0644]
drivers/ufs/Makefile [new file with mode: 0644]
drivers/ufs/ufs-uclass.c [new file with mode: 0644]
drivers/ufs/ufs.c [new file with mode: 0644]
drivers/ufs/ufs.h [new file with mode: 0644]
drivers/ufs/unipro.h [new file with mode: 0644]
include/dm/uclass-id.h
include/ufs.h [new file with mode: 0644]