* [PATCH V2 2/9] Documentation: devicetree: Add DT bindings for UFS host controller [not found] <1368515328-31535-1-git-send-email-draviv@codeaurora.org> @ 2013-05-14 7:08 ` Dolev Raviv 2013-05-14 18:08 ` Olof Johansson 0 siblings, 1 reply; 3+ messages in thread From: Dolev Raviv @ 2013-05-14 7:08 UTC (permalink / raw) To: linux-scsi Cc: linux-arm-msm, Dolev Raviv, Sujit Reddy Thumma, moderated list:OPEN FIRMWARE AND..., open list:DOCUMENTATION, open list 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@codeaurora.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"; + reg = <0xfc598000 0x800>; + interrupts = <0 28 0>; + }; -- 1.7.6 -- QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH V2 2/9] Documentation: devicetree: Add DT bindings for UFS host controller 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> 0 siblings, 1 reply; 3+ messages in thread From: Olof Johansson @ 2013-05-14 18:08 UTC (permalink / raw) To: Dolev Raviv Cc: linux-scsi, linux-arm-msm, Sujit Reddy Thumma, moderated list:OPEN FIRMWARE AND..., open list:DOCUMENTATION, open list On Tue, May 14, 2013 at 12:08 AM, Dolev Raviv <draviv@codeaurora.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@codeaurora.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? -Olof ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <51933768.20107@codeaurora.org>]
[parent not found: <51933768.20107-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>]
* Re: [PATCH V2 2/9] Documentation: devicetree: Add DT bindings for UFS host controller [not found] ` <51933768.20107-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> @ 2013-05-28 5:31 ` Olof Johansson 0 siblings, 0 replies; 3+ messages in thread From: Olof Johansson @ 2013-05-28 5:31 UTC (permalink / raw) To: Sujit Reddy Thumma Cc: linux-scsi-u79uwXL29TY76Z2rM5mHXA, DOCUMENTATION, linux-arm-msm-u79uwXL29TY76Z2rM5mHXA, moderated list:OPEN FIRMWARE AND..., open list, Dolev Raviv 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-05-28 5:31 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [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 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).