From: Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
To: Sujit Reddy Thumma <sthumma-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
Cc: linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
DOCUMENTATION <linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
"moderated list:OPEN FIRMWARE AND..."
<devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org>,
open list <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Dolev Raviv <draviv-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
Subject: Re: [PATCH V2 2/9] Documentation: devicetree: Add DT bindings for UFS host controller
Date: Mon, 27 May 2013 22:31:40 -0700 [thread overview]
Message-ID: <20130528053140.GA18476@quad.lixom.net> (raw)
In-Reply-To: <51933768.20107-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
On Wed, May 15, 2013 at 12:51:12PM +0530, Sujit Reddy Thumma wrote:
> On 5/14/2013 11:38 PM, Olof Johansson wrote:
> >On Tue, May 14, 2013 at 12:08 AM, Dolev Raviv <draviv-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> wrote:
> >>Compatible list is used in commit 03b1781 but is not documented.
> >>Add necessary device tree bindings to describe on-chip UFS host
> >>controllers.
> >>
> >>Signed-off-by: Sujit Reddy Thumma <sthumma-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
> >>
> >>diff --git a/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt b/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt
> >>new file mode 100644
> >>index 0000000..20468b2
> >>--- /dev/null
> >>+++ b/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt
> >>@@ -0,0 +1,16 @@
> >>+* Universal Flash Storage (UFS) Host Controller
> >>+
> >>+UFSHC nodes are defined to describe on-chip UFS host controllers.
> >>+Each UFS controller instance should have its own node.
> >>+
> >>+Required properties:
> >>+- compatible : compatible list, contains "jedec,ufs-1.1"
> >>+- interrupts : <interrupt mapping for UFS host controller IRQ>
> >>+- reg : <registers mapping>
> >>+
> >>+Example:
> >>+ ufshc@0xfc598000 {
> >>+ compatible = "jedec,ufs-1.1";
> >
> >Hmm.
> >
> >Does jedec really specify the programming interface of this type of
> >device, register layout and meaning? It seems to be more about the
> >command set and electrical/connectivity specifications, no?
>
> That's true with UFS device specification. For UFS Host Controller
> specification Jedec indeed standardized the hardware registers,
> memory structures and register programming sequence to talk to UFS
> device.
Ok, fair enough. However, I think "jedec,ufshc-1.1" would be more
appropriate to avoid ambiguities. Compare to SD where "sdhci" is the
only compatible string used for the standard interface.
-Olof
prev parent reply other threads:[~2013-05-28 5:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1368515328-31535-1-git-send-email-draviv@codeaurora.org>
2013-05-14 7:08 ` [PATCH V2 2/9] Documentation: devicetree: Add DT bindings for UFS host controller Dolev Raviv
2013-05-14 18:08 ` Olof Johansson
[not found] ` <51933768.20107@codeaurora.org>
[not found] ` <51933768.20107-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2013-05-28 5:31 ` Olof Johansson [this message]
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=20130528053140.GA18476@quad.lixom.net \
--to=olof-nzht3qvonbneowh0uzbu5w@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=draviv-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=sthumma-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
/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;
as well as URLs for NNTP newsgroup(s).