summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorVivek Gautam <gautam.vivek@samsung.com>2014-05-05 10:32:57 +0530
committerInki Dae <inki.dae@samsung.com>2014-07-03 09:54:40 +0900
commit62c945269d53c5ebcddd5f7bae07fdcf7368f346 (patch)
tree2307eccbb62e1d665a7c9a159f8f67fbc4889269 /Documentation
parent36ce4df1e05bf0583f12ba215f092941b12a2db9 (diff)
downloadlinux-3.10-62c945269d53c5ebcddd5f7bae07fdcf7368f346.tar.gz
linux-3.10-62c945269d53c5ebcddd5f7bae07fdcf7368f346.tar.bz2
linux-3.10-62c945269d53c5ebcddd5f7bae07fdcf7368f346.zip
usb: ohci-exynos: Add facility to use phy provided by the generic phy framework
Add support to consume phy provided by Generic phy framework. Keeping the support for older usb-phy intact right now, in order to prevent any functionality break in absence of relevant device tree side change for ohci-exynos. Once we move to new phy in the device nodes for ohci, we can remove the support for older phys. Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com> Cc: Jingoo Han <jg1.han@samsung.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Acked-by: Kukjin Kim <kgene.kim@samsung.com> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Change-Id: If4e12fb15edcf179e4433da08d7c06c226e05a63
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/usb/exynos-usb.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/exynos-usb.txt b/Documentation/devicetree/bindings/usb/exynos-usb.txt
index b3abde73601..f7189b4cbce 100644
--- a/Documentation/devicetree/bindings/usb/exynos-usb.txt
+++ b/Documentation/devicetree/bindings/usb/exynos-usb.txt
@@ -38,6 +38,13 @@ Required properties:
- interrupts: interrupt number to the cpu.
- clocks: from common clock binding: handle to usb clock.
- clock-names: from common clock binding: Shall be "usbhost".
+ - port: if in the SoC there are OHCI phys, they should be listed here.
+ One phy per port. Each port should have following entries:
+ - reg: port number on OHCI controller, e.g
+ On Exynos5250, port 0 is USB2.0 otg phy
+ port 1 is HSIC phy0
+ port 2 is HSIC phy1
+ - phys: from the *Generic PHY* bindings, specifying phy used by port.
Example:
usb@12120000 {
@@ -47,4 +54,13 @@ Example:
clocks = <&clock 285>;
clock-names = "usbhost";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@0 {
+ reg = <0>;
+ phys = <&usb2phy 1>;
+ status = "disabled";
+ };
+
};