aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-04-13 20:07:21 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-13 20:07:21 -0400
commit42e3a58b028e0e51746f596a11abfec01cd1c5c4 (patch)
treeb2dd1e8730359dc312519bcdaed9c52bae622990 /Documentation/devicetree
parent4fd48b45ffc4addd3c2963448b05417aa14abbf7 (diff)
parent00fe52deb45b1a5ef42b0aa82e632e2df012eddc (diff)
Merge tag 'usb-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
Pull USB driver updates from Greg KH: "Here's the big USB (and PHY) driver patchset for 4.1-rc1. Everything here has been in linux-next, and the full details are below in the shortlog. Nothing major, just the normal round of new drivers,api updates, and other changes, mostly in the USB gadget area, as usual" * tag 'usb-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (252 commits) drivers/usb/core: devio.c: Removed an uneeded space before tab usb: dwc2: host: sleep USB_RESUME_TIMEOUT during resume usb: chipidea: debug: add low power mode check before print registers usb: chipidea: udc: bypass pullup DP when gadget connect in OTG fsm mode usb: core: hub: use new USB_RESUME_TIMEOUT usb: isp1760: hcd: use new USB_RESUME_TIMEOUT usb: dwc2: hcd: use new USB_RESUME_TIMEOUT usb: host: sl811: use new USB_RESUME_TIMEOUT usb: host: r8a66597: use new USB_RESUME_TIMEOUT usb: host: oxu210hp: use new USB_RESUME_TIMEOUT usb: host: fusbh200: use new USB_RESUME_TIMEOUT usb: host: fotg210: use new USB_RESUME_TIMEOUT usb: host: isp116x: use new USB_RESUME_TIMEOUT usb: musb: use new USB_RESUME_TIMEOUT usb: host: uhci: use new USB_RESUME_TIMEOUT usb: host: ehci: use new USB_RESUME_TIMEOUT usb: host: xhci: use new USB_RESUME_TIMEOUT usb: define a generic USB_RESUME_TIMEOUT macro usb: musb: dsps: fix build on i386 when COMPILE_TEST is set ehci-hub: use USB_DT_HUB ...
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/phy/dm816x-phy.txt24
-rw-r--r--Documentation/devicetree/bindings/phy/phy-miphy365x.txt8
-rw-r--r--Documentation/devicetree/bindings/phy/samsung-phy.txt3
-rw-r--r--Documentation/devicetree/bindings/phy/sun9i-usb-phy.txt38
-rw-r--r--Documentation/devicetree/bindings/usb/dwc3.txt1
-rw-r--r--Documentation/devicetree/bindings/usb/renesas_usbhs.txt5
-rw-r--r--Documentation/devicetree/bindings/usb/usbmisc-imx.txt1
7 files changed, 74 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/phy/dm816x-phy.txt b/Documentation/devicetree/bindings/phy/dm816x-phy.txt
new file mode 100644
index 000000000000..2fe3d11d063d
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/dm816x-phy.txt
@@ -0,0 +1,24 @@
1Device tree binding documentation for am816x USB PHY
2=========================
3
4Required properties:
5- compatible : should be "ti,dm816x-usb-phy"
6- reg : offset and length of the PHY register set.
7- reg-names : name for the phy registers
8- clocks : phandle to the clock
9- clock-names : name of the clock
10- syscon: phandle for the syscon node to access misc registers
11- #phy-cells : from the generic PHY bindings, must be 1
12- syscon: phandle for the syscon node to access misc registers
13
14Example:
15
16usb_phy0: usb-phy@20 {
17 compatible = "ti,dm8168-usb-phy";
18 reg = <0x20 0x8>;
19 reg-names = "phy";
20 clocks = <&main_fapll 6>;
21 clock-names = "refclk";
22 #phy-cells = <0>;
23 syscon = <&scm_conf>;
24};
diff --git a/Documentation/devicetree/bindings/phy/phy-miphy365x.txt b/Documentation/devicetree/bindings/phy/phy-miphy365x.txt
index 9802d5d911aa..8772900e056a 100644
--- a/Documentation/devicetree/bindings/phy/phy-miphy365x.txt
+++ b/Documentation/devicetree/bindings/phy/phy-miphy365x.txt
@@ -20,8 +20,8 @@ Required nodes : A sub-node is required for each channel the controller
20Required properties (port (child) node): 20Required properties (port (child) node):
21- #phy-cells : Should be 1 (See second example) 21- #phy-cells : Should be 1 (See second example)
22 Cell after port phandle is device type from: 22 Cell after port phandle is device type from:
23 - MIPHY_TYPE_SATA 23 - PHY_TYPE_SATA
24 - MIPHY_TYPE_PCI 24 - PHY_TYPE_PCI
25- reg : Address and length of register sets for each device in 25- reg : Address and length of register sets for each device in
26 "reg-names" 26 "reg-names"
27- reg-names : The names of the register addresses corresponding to the 27- reg-names : The names of the register addresses corresponding to the
@@ -68,10 +68,10 @@ property, containing a phandle to the phy port node and a device type.
68 68
69Example: 69Example:
70 70
71#include <dt-bindings/phy/phy-miphy365x.h> 71#include <dt-bindings/phy/phy.h>
72 72
73 sata0: sata@fe380000 { 73 sata0: sata@fe380000 {
74 ... 74 ...
75 phys = <&phy_port0 MIPHY_TYPE_SATA>; 75 phys = <&phy_port0 PHY_TYPE_SATA>;
76 ... 76 ...
77 }; 77 };
diff --git a/Documentation/devicetree/bindings/phy/samsung-phy.txt b/Documentation/devicetree/bindings/phy/samsung-phy.txt
index 91e38cfe1f8f..60c6f2a633e0 100644
--- a/Documentation/devicetree/bindings/phy/samsung-phy.txt
+++ b/Documentation/devicetree/bindings/phy/samsung-phy.txt
@@ -128,6 +128,7 @@ Required properties:
128- compatible : Should be set to one of the following supported values: 128- compatible : Should be set to one of the following supported values:
129 - "samsung,exynos5250-usbdrd-phy" - for exynos5250 SoC, 129 - "samsung,exynos5250-usbdrd-phy" - for exynos5250 SoC,
130 - "samsung,exynos5420-usbdrd-phy" - for exynos5420 SoC. 130 - "samsung,exynos5420-usbdrd-phy" - for exynos5420 SoC.
131 - "samsung,exynos5433-usbdrd-phy" - for exynos5433 SoC.
131 - "samsung,exynos7-usbdrd-phy" - for exynos7 SoC. 132 - "samsung,exynos7-usbdrd-phy" - for exynos7 SoC.
132- reg : Register offset and length of USB DRD PHY register set; 133- reg : Register offset and length of USB DRD PHY register set;
133- clocks: Clock IDs array as required by the controller 134- clocks: Clock IDs array as required by the controller
@@ -139,7 +140,7 @@ Required properties:
139 PHY operations, associated by phy name. It is used to 140 PHY operations, associated by phy name. It is used to
140 determine bit values for clock settings register. 141 determine bit values for clock settings register.
141 For Exynos5420 this is given as 'sclk_usbphy30' in CMU. 142 For Exynos5420 this is given as 'sclk_usbphy30' in CMU.
142 - optional clocks: Exynos7 SoC has now following additional 143 - optional clocks: Exynos5433 & Exynos7 SoC has now following additional
143 gate clocks available: 144 gate clocks available:
144 - phy_pipe: for PIPE3 phy 145 - phy_pipe: for PIPE3 phy
145 - phy_utmi: for UTMI+ phy 146 - phy_utmi: for UTMI+ phy
diff --git a/Documentation/devicetree/bindings/phy/sun9i-usb-phy.txt b/Documentation/devicetree/bindings/phy/sun9i-usb-phy.txt
new file mode 100644
index 000000000000..1cca85c709d1
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/sun9i-usb-phy.txt
@@ -0,0 +1,38 @@
1Allwinner sun9i USB PHY
2-----------------------
3
4Required properties:
5- compatible : should be one of
6 * allwinner,sun9i-a80-usb-phy
7- reg : a list of offset + length pairs
8- #phy-cells : from the generic phy bindings, must be 0
9- phy_type : "hsic" for HSIC usage;
10 other values or absence of this property indicates normal USB
11- clocks : phandle + clock specifier for the phy clocks
12- clock-names : depending on the "phy_type" property,
13 * "phy" for normal USB
14 * "hsic_480M", "hsic_12M" for HSIC
15- resets : a list of phandle + reset specifier pairs
16- reset-names : depending on the "phy_type" property,
17 * "phy" for normal USB
18 * "hsic" for HSIC
19
20Optional Properties:
21- phy-supply : from the generic phy bindings, a phandle to a regulator that
22 provides power to VBUS.
23
24It is recommended to list all clocks and resets available.
25The driver will only use those matching the phy_type.
26
27Example:
28 usbphy1: phy@00a01800 {
29 compatible = "allwinner,sun9i-a80-usb-phy";
30 reg = <0x00a01800 0x4>;
31 clocks = <&usb_phy_clk 2>, <&usb_phy_clk 10>,
32 <&usb_phy_clk 3>;
33 clock-names = "hsic_480M", "hsic_12M", "phy";
34 resets = <&usb_phy_clk 18>, <&usb_phy_clk 19>;
35 reset-names = "hsic", "phy";
36 status = "disabled";
37 #phy-cells = <0>;
38 };
diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt b/Documentation/devicetree/bindings/usb/dwc3.txt
index cd7f0454e13a..5cc364309edb 100644
--- a/Documentation/devicetree/bindings/usb/dwc3.txt
+++ b/Documentation/devicetree/bindings/usb/dwc3.txt
@@ -14,6 +14,7 @@ Optional properties:
14 - phys: from the *Generic PHY* bindings 14 - phys: from the *Generic PHY* bindings
15 - phy-names: from the *Generic PHY* bindings 15 - phy-names: from the *Generic PHY* bindings
16 - tx-fifo-resize: determines if the FIFO *has* to be reallocated. 16 - tx-fifo-resize: determines if the FIFO *has* to be reallocated.
17 - snps,usb3_lpm_capable: determines if platform is USB3 LPM capable
17 - snps,disable_scramble_quirk: true when SW should disable data scrambling. 18 - snps,disable_scramble_quirk: true when SW should disable data scrambling.
18 Only really useful for FPGA builds. 19 Only really useful for FPGA builds.
19 - snps,has-lpm-erratum: true when DWC3 was configured with LPM Erratum enabled 20 - snps,has-lpm-erratum: true when DWC3 was configured with LPM Erratum enabled
diff --git a/Documentation/devicetree/bindings/usb/renesas_usbhs.txt b/Documentation/devicetree/bindings/usb/renesas_usbhs.txt
index 61b045b6d50e..dc2a18f0b3a1 100644
--- a/Documentation/devicetree/bindings/usb/renesas_usbhs.txt
+++ b/Documentation/devicetree/bindings/usb/renesas_usbhs.txt
@@ -15,7 +15,10 @@ Optional properties:
15 - phys: phandle + phy specifier pair 15 - phys: phandle + phy specifier pair
16 - phy-names: must be "usb" 16 - phy-names: must be "usb"
17 - dmas: Must contain a list of references to DMA specifiers. 17 - dmas: Must contain a list of references to DMA specifiers.
18 - dma-names : Must contain a list of DMA names, "tx" or "rx". 18 - dma-names : Must contain a list of DMA names:
19 - tx0 ... tx<n>
20 - rx0 ... rx<n>
21 - This <n> means DnFIFO in USBHS module.
19 22
20Example: 23Example:
21 usbhs: usb@e6590000 { 24 usbhs: usb@e6590000 {
diff --git a/Documentation/devicetree/bindings/usb/usbmisc-imx.txt b/Documentation/devicetree/bindings/usb/usbmisc-imx.txt
index c101a4b17131..3539d4e7d23e 100644
--- a/Documentation/devicetree/bindings/usb/usbmisc-imx.txt
+++ b/Documentation/devicetree/bindings/usb/usbmisc-imx.txt
@@ -5,6 +5,7 @@ Required properties:
5- compatible: Should be one of below: 5- compatible: Should be one of below:
6 "fsl,imx6q-usbmisc" for imx6q 6 "fsl,imx6q-usbmisc" for imx6q
7 "fsl,vf610-usbmisc" for Vybrid vf610 7 "fsl,vf610-usbmisc" for Vybrid vf610
8 "fsl,imx6sx-usbmisc" for imx6sx
8- reg: Should contain registers location and length 9- reg: Should contain registers location and length
9 10
10Examples: 11Examples: