diff options
author | Michael Grzeschik | 2013-06-13 09:59:55 -0500 |
---|---|---|
committer | Praneeth Bajjuri | 2013-07-17 17:22:18 -0500 |
commit | 87b7b3f321d97865e2b7b0b327ceb762e77c5d9b (patch) | |
tree | 0335b63af764cd6f2b2e809557da8661e12c9333 /Documentation | |
parent | ebf35da1d4a702ab2494050d7936531f12cfa395 (diff) | |
download | kernel-audio-87b7b3f321d97865e2b7b0b327ceb762e77c5d9b.tar.gz kernel-audio-87b7b3f321d97865e2b7b0b327ceb762e77c5d9b.tar.xz kernel-audio-87b7b3f321d97865e2b7b0b327ceb762e77c5d9b.zip |
usb: add devicetree helpers for determining dr_mode and phy_type
This adds two little devicetree helper functions for determining the
dr_mode (host, peripheral, otg) and phy_type (utmi, ulpi,...) from
the devicetree.
[Backport from uncommitted patch to 3.10
- Added the dr_mode to the bindings txt file
]
Change-Id: Id535eff4da66726cf74e5cba0f39a5a93432999c
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ruchika Kharwar <ruchika@ti.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/usb/dwc3.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt b/Documentation/devicetree/bindings/usb/dwc3.txt index 7a95c651ceb3..73f12f59fba9 100644 --- a/Documentation/devicetree/bindings/usb/dwc3.txt +++ b/Documentation/devicetree/bindings/usb/dwc3.txt | |||
@@ -10,7 +10,11 @@ Required properties: | |||
10 | 10 | ||
11 | Optional properties: | 11 | Optional properties: |
12 | - tx-fifo-resize: determines if the FIFO *has* to be reallocated. | 12 | - tx-fifo-resize: determines if the FIFO *has* to be reallocated. |
13 | 13 | - dr_mode: tells Dual-Role USB controllers that we want to work on a | |
14 | particular mode. Valid arguments are "host", | ||
15 | "peripheral" and "otg". In case this attribute isn't | ||
16 | passed via DT, USB DRD controllers should default to | ||
17 | OTG. | ||
14 | This is usually a subnode to DWC3 glue to which it is connected. | 18 | This is usually a subnode to DWC3 glue to which it is connected. |
15 | 19 | ||
16 | dwc3@4a030000 { | 20 | dwc3@4a030000 { |