public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Valentine Barshak <vbarshak@ru•mvista.com>
To: linuxppc-dev@ozlabs•org
Cc: linux-usb-devel@lists•sourceforge.net
Subject: [PATCH 2/3] usb: ehci-ppc-of dts bindings.
Date: Mon, 17 Sep 2007 17:00:05 +0400	[thread overview]
Message-ID: <20070917130005.GA29654@ru.mvista.com> (raw)
In-Reply-To: <20070917125543.GA29584@ru.mvista.com>

Signed-off-by: Valentine Barshak <vbarshak@ru•mvista.com>
---
 Documentation/powerpc/booting-without-of.txt |   30 +++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff -ruN linux-2.6.orig/Documentation/powerpc/booting-without-of.txt linux-2.6.new/Documentation/powerpc/booting-without-of.txt
--- linux-2.6.orig/Documentation/powerpc/booting-without-of.txt	2007-09-15 14:27:57.000000000 +0400
+++ linux-2.6.new/Documentation/powerpc/booting-without-of.txt	2007-09-15 17:19:06.000000000 +0400
@@ -52,6 +52,7 @@
       i) Freescale QUICC Engine module (QE)
       j) CFI or JEDEC memory-mapped NOR flash
       k) Global Utilities Block
+      l) USB EHCI controllers
 
   VII - Specifying interrupt information for devices
     1) interrupts property
@@ -1848,6 +1849,35 @@
 		fsl,has-rstcr;
 	};
 
+  l) USB EHCI controllers
+
+  Required properties:
+  - device_type : should be "usb".
+  - compatible : should be "ehci".
+  - reg : Offset and length of the register set for the device
+  - interrupts : <a b> where a is the interrupt number and b is a
+    field that represents an encoding of the sense and level
+    information for the interrupt.  This should be encoded based on
+    the information in section 2) depending on the type of interrupt
+    controller you have.
+  - interrupt-parent : the phandle for the interrupt controller that
+    services interrupts for this device.
+  If device registers are implemented in big endian mode, the device
+  node should have "big-endian" property.
+  If controller implementation operates with big endian descriptors,
+  compatible should also have "ehci-be-desc"
+
+   Example (Sequoia 440EPx):
+	ehci@e0000300 {
+		device_type = "usb";
+		compatible = "ibm,ehci-440epx", "ehci-be-desc", "ehci";
+		interrupts = <1a 4>;
+		interrupt-parent = <&UIC0>;
+		reg = <0 e0000300 ff>;
+		big-endian;
+	};
+
+
    More devices will be defined as this spec matures.
 
 VII - Specifying interrupt information for devices

  reply	other threads:[~2007-09-17 13:01 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-17 12:50 [PATCH 0/3] usb: ehci ppc device-tree-aware driver Valentine Barshak
2007-09-17 12:55 ` [PATCH 1/3] usb: add device-tree-aware ehci driver Valentine Barshak
2007-09-17 13:00   ` Valentine Barshak [this message]
2007-09-19  0:25     ` [PATCH 2/3] usb: ehci-ppc-of dts bindings Segher Boessenkool
2007-09-19 13:52       ` Valentine Barshak
2007-09-19 16:50         ` Segher Boessenkool
2007-09-19 16:55           ` Valentine Barshak
2007-09-24 19:32             ` [linux-usb-devel] " Valentine Barshak
2007-09-20  0:52           ` David Gibson
2007-09-24 21:40             ` Segher Boessenkool
2007-09-17 13:28   ` [PATCH 1/3] usb: add device-tree-aware ehci driver Stephen Rothwell
2007-09-17 14:00     ` Josh Boyer
2007-09-17 18:17     ` Valentine Barshak
2007-09-18  4:26       ` Stephen Rothwell
2007-09-18  5:39         ` David Gibson
2007-09-17 18:18     ` Valentine Barshak
2007-09-17 13:02 ` [PATCH 3/3] Add PowerPC 440EPx Sequoia ehci dts entry Valentine Barshak
2007-09-22 23:00 ` [PATCH 0/3] usb: ehci ppc device-tree-aware driver Hollis Blanchard
2007-09-24 10:33   ` Valentine Barshak
2007-10-08 18:15   ` Jerone Young
2007-10-08 18:18     ` Valentine Barshak
2007-10-08 18:22       ` Valentine Barshak
  -- strict thread matches above, loose matches on Subject: below --
2007-09-24 19:25 Valentine Barshak
2007-09-24 19:27 ` [PATCH 2/3] usb: ehci-ppc-of dts bindings Valentine Barshak

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=20070917130005.GA29654@ru.mvista.com \
    --to=vbarshak@ru$(echo .)mvista.com \
    --cc=linux-usb-devel@lists$(echo .)sourceforge.net \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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