Patchwork [U-Boot,1/2] powerpc/85xx: Specify hwconfig usage for USB controller

login
register
mail settings
Submitter Kumar Gala
Date March 7, 2011, 4:17 a.m.
Message ID <1299471449-26715-1-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/85665/
State Accepted
Delegated to: Kumar Gala
Headers show

Comments

Kumar Gala - March 7, 2011, 4:17 a.m.
From: Ramneek Mehresh <ramneek.mehresh@freescale.com>

Specify hwconfig usage for USB mode and phy change

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 doc/README.fsl-hwconfig |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)
Kumar Gala - July 1, 2011, 1:28 a.m.
On Mar 6, 2011, at 10:17 PM, Kumar Gala wrote:

> From: Ramneek Mehresh <ramneek.mehresh@freescale.com>
> 
> Specify hwconfig usage for USB mode and phy change
> 
> Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> doc/README.fsl-hwconfig |   26 ++++++++++++++++++++++++++
> 1 files changed, 26 insertions(+), 0 deletions(-)

applied to 85xx

- k

Patch

diff --git a/doc/README.fsl-hwconfig b/doc/README.fsl-hwconfig
index 03fea74..6889a70 100644
--- a/doc/README.fsl-hwconfig
+++ b/doc/README.fsl-hwconfig
@@ -19,3 +19,29 @@  audclk
 
 	'audclk:12'
 		Select the 12.288MHz clock
+
+usb
+	Specific to boards have USB controller
+
+	This option specifies the following for a USB controller:
+
+		- which controller mode to use
+		- which USB PHY to use
+
+	This is used by generic USB device-tree fixup function to update
+	modified values of phy type and controller mode.
+
+	Also used for configuring multiple USB controllers such that
+	'usbN' (where N is 1, 2, etc. refers to controller no.)
+
+	'phy_type'
+		Select USB phy type: 'utmi' OR 'ulpi'
+
+	'dr_mode'
+		Select USB controller mode: 'host', 'peripheral' OR 'otg'
+
+	Examples:
+		usb1:dr_mode=host;usb2:dr_mode=peripheral'
+
+		usb1:dr_mode=host,phy_type=utmi;usb2:dr_mode=host'
+