From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 05/11] ufs: Add Initial Support for UFS subsystem
Date: Thu, 24 Oct 2019 10:45:16 -0400 [thread overview]
Message-ID: <20191024144516.GK11173@bill-the-cat> (raw)
In-Reply-To: <CAEUhbmUHjtFZSfo34nP3RyC7-yvM-UYjLd9VH_e7KPP=tMrFBQ@mail.gmail.com>
On Wed, Oct 23, 2019 at 10:20:06PM +0800, Bin Meng wrote:
> +Simon
>
> On Tue, Oct 15, 2019 at 8:59 PM Faiz Abbas <faiz_abbas@ti.com> wrote:
> >
> > 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.
>
> nits: U-Boot
>
> >
> > Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
> > ---
> > MAINTAINERS | 5 +
> > drivers/Kconfig | 2 +
> > drivers/Makefile | 1 +
> > drivers/ufs/Kconfig | 9 +
> > drivers/ufs/Makefile | 6 +
> > drivers/ufs/ufs-uclass.c | 16 +
> > drivers/ufs/ufs.c | 1968 ++++++++++++++++++++++++++++++++++++++
> > drivers/ufs/ufs.h | 918 ++++++++++++++++++
> > drivers/ufs/unipro.h | 270 ++++++
> > include/dm/uclass-id.h | 1 +
> > include/ufs.h | 29 +
> > 11 files changed, 3225 insertions(+)
> > create mode 100644 drivers/ufs/Kconfig
> > create mode 100644 drivers/ufs/Makefile
> > create mode 100644 drivers/ufs/ufs-uclass.c
> > create mode 100644 drivers/ufs/ufs.c
> > create mode 100644 drivers/ufs/ufs.h
> > create mode 100644 drivers/ufs/unipro.h
> > create mode 100644 include/ufs.h
> >
>
> I think we will need a sandbox ufs driver and test cases for testing dm ufs.
I would also like to see that, but think we can do that in a follow-up.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191024/47665fdc/attachment.sig>
next prev parent reply other threads:[~2019-10-24 14:45 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-15 12:54 [U-Boot] [PATCH v2 00/11] Add Support for UFS subsystem for TI's J721e Faiz Abbas
2019-10-15 12:54 ` [U-Boot] [PATCH v2 01/11] scsi: Simplify scsi_read()/_write() Faiz Abbas
2019-10-24 18:52 ` Tom Rini
2019-10-15 12:54 ` [U-Boot] [PATCH v2 02/11] scsi: Add max_bytes_per_req to scsi_platdata Faiz Abbas
2019-10-24 18:52 ` Tom Rini
2019-10-15 12:54 ` [U-Boot] [PATCH v2 03/11] scsi: Retry inquiry 3 times to overcome Unit Attention condition Faiz Abbas
2019-10-24 18:52 ` Tom Rini
2019-10-15 12:54 ` [U-Boot] [PATCH v2 04/11] scsi: Add dma direction member to command structure Faiz Abbas
2019-10-24 18:52 ` Tom Rini
2019-10-15 12:54 ` [U-Boot] [PATCH v2 05/11] ufs: Add Initial Support for UFS subsystem Faiz Abbas
2019-10-23 14:20 ` Bin Meng
2019-10-24 14:45 ` Tom Rini [this message]
2019-10-24 18:52 ` Tom Rini
2019-10-15 12:54 ` [U-Boot] [PATCH v2 06/11] ufs: Add Support for Cadence platform UFS driver Faiz Abbas
2019-10-24 18:52 ` Tom Rini
2019-10-15 12:54 ` [U-Boot] [PATCH v2 07/11] ufs: Add glue layer driver for TI J721E devices Faiz Abbas
2019-10-24 18:52 ` Tom Rini
2019-10-15 12:54 ` [U-Boot] [PATCH v2 08/11] arm: dts: k3-j721e-main: Add UFS nodes Faiz Abbas
2019-10-24 18:52 ` Tom Rini
2019-10-15 12:54 ` [U-Boot] [PATCH v2 09/11] cmd: Add Support for UFS commands Faiz Abbas
2019-10-24 18:52 ` Tom Rini
2019-10-15 12:54 ` [U-Boot] [PATCH v2 10/11] env: ti: Add environment variables to boot from UFS Faiz Abbas
2019-10-24 18:53 ` Tom Rini
2019-10-15 12:54 ` [U-Boot] [PATCH v2 11/11] configs: j721e_evm_a72: Enable configs for UFS Faiz Abbas
2019-10-24 18:53 ` Tom Rini
2019-10-23 14:17 ` [U-Boot] [PATCH v2 00/11] Add Support for UFS subsystem for TI's J721e Faiz Abbas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191024144516.GK11173@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox