Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ea5b7a61b606854bd17272cb0a751b6d0a8bfa6b
Commit:     ea5b7a61b606854bd17272cb0a751b6d0a8bfa6b
Parent:     fd9aeb85273e9eb4d1a0b83487576a2e22da67fc
Author:     Li Yang <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 7 13:51:09 2007 +0800
Committer:  Kumar Gala <[EMAIL PROTECTED]>
CommitDate: Thu Feb 8 00:40:00 2007 -0600

    [POWERPC] 83xx: Added new dr_mode property for usb controller on 83xx
    
    Added a new dr_mode property to describe what mode the DR controller is 
being
    used in (host, device, OTG).  Updated the MPC8349E MDS dts with this new 
property.
    
    Signed-off-by: Li Yang <[EMAIL PROTECTED]>
    Signed-off-by: Kumar Gala <[EMAIL PROTECTED]>
---
 Documentation/powerpc/booting-without-of.txt |    4 ++++
 arch/powerpc/boot/dts/mpc8349emds.dts        |    6 ++++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/Documentation/powerpc/booting-without-of.txt 
b/Documentation/powerpc/booting-without-of.txt
index 3399427..3b51467 100644
--- a/Documentation/powerpc/booting-without-of.txt
+++ b/Documentation/powerpc/booting-without-of.txt
@@ -1334,6 +1334,9 @@ platforms are moved over to use the flattened-device-tree 
model.
       fsl-usb2-mph compatible controllers.  Either this property or
       "port0" (or both) must be defined for "fsl-usb2-mph" compatible 
       controllers.
+    - dr_mode : indicates the working mode for "fsl-usb2-dr" compatible
+      controllers.  Can be "host", "peripheral", or "otg".  Default to
+      "host" if not defined for backward compatibility.
 
    Recommended properties :
     - interrupts : <a b> where a is the interrupt number and b is a
@@ -1367,6 +1370,7 @@ platforms are moved over to use the flattened-device-tree 
model.
                #size-cells = <0>;
                interrupt-parent = <700>;
                interrupts = <26 1>;
+               dr_mode = "otg";
                phy = "ulpi";
        };
 
diff --git a/arch/powerpc/boot/dts/mpc8349emds.dts 
b/arch/powerpc/boot/dts/mpc8349emds.dts
index efceb34..dc121b3 100644
--- a/arch/powerpc/boot/dts/mpc8349emds.dts
+++ b/arch/powerpc/boot/dts/mpc8349emds.dts
@@ -39,6 +39,11 @@
                reg = <00000000 10000000>;      // 256MB at 0
        };
 
+       [EMAIL PROTECTED] {
+               device_type = "board-control";
+               reg = <e2400000 8000>;
+       };
+
        [EMAIL PROTECTED] {
                #address-cells = <1>;
                #size-cells = <1>;
@@ -103,6 +108,7 @@
                        #size-cells = <0>;
                        interrupt-parent = <700>;
                        interrupts = <26 2>;
+                       dr_mode = "otg";
                        phy_type = "ulpi";
                };
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to