devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 09/20] tegra: fdt: Add additional USB binding
@ 2012-02-28 18:07 Simon Glass
       [not found] ` <1330452478-5039-10-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Simon Glass @ 2012-02-28 18:07 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Devicetree Discuss, Jerry Van Baren, Tom Warren, linux-tegra

This adds a property to indicate a port which can switch between host and device
mode.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
Changes in v5:
- Add dr_mode property to control host/device/otg mode
- Add nvidia,has-legacy-mode property per review comments

Changes in v7:
- Fix space indent nit

 doc/device-tree-bindings/usb/tegra-usb.txt |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/doc/device-tree-bindings/usb/tegra-usb.txt b/doc/device-tree-bindings/usb/tegra-usb.txt
index 035d63d..5282d44 100644
--- a/doc/device-tree-bindings/usb/tegra-usb.txt
+++ b/doc/device-tree-bindings/usb/tegra-usb.txt
@@ -11,3 +11,15 @@ Required properties :
  - phy_type : Should be one of "ulpi" or "utmi".
  - nvidia,vbus-gpio : If present, specifies a gpio that needs to be
    activated for the bus to be powered.
+
+Optional properties:
+  - dr_mode : dual role mode. Indicates the working mode for
+    nvidia,tegra20-ehci compatible controllers.  Can be "host", "peripheral",
+    or "otg".  Default to "host" if not defined for backward compatibility.
+      host means this is a host controller
+      peripheral means it is device controller
+      otg means it can operate as either ("on the go")
+  - nvidia,has-legacy-mode : boolean indicates whether this controller can
+    operate in legacy mode (as APX 2500 / 2600). In legacy mode some
+    registers are accessed through the APB_MISC base address instead of
+    the USB controller.
-- 
1.7.7.3

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-03-07  3:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-28 18:07 [PATCH v7 09/20] tegra: fdt: Add additional USB binding Simon Glass
     [not found] ` <1330452478-5039-10-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2012-02-28 18:07   ` [PATCH v7 11/20] tegra: fdt: Add clock bindings for Tegra2 Seaboard Simon Glass
2012-02-28 18:47     ` Stephen Warren
2012-02-28 18:51       ` Simon Glass
2012-02-28 18:07   ` [PATCH v7 15/20] tegra: fdt: Add function to return peripheral/clock ID Simon Glass
     [not found]     ` <1330452478-5039-16-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2012-02-28 18:48       ` Stephen Warren
2012-03-01 18:21       ` Tom Warren
2012-02-28 18:42   ` [PATCH v7 09/20] tegra: fdt: Add additional USB binding Stephen Warren
     [not found]     ` <74CDBE0F657A3D45AFBB94109FB122FF17BDDF1DBB-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-02-28 18:48       ` Simon Glass
2012-02-28 18:49         ` Stephen Warren
     [not found]           ` <74CDBE0F657A3D45AFBB94109FB122FF17BDDF1DC6-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-03-07  3:19             ` Simon Glass

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).