diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-03 12:11:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-03 12:11:20 -0400 |
commit | e5c4ecdc55b6d824365ba7964bcd3185223f9688 (patch) | |
tree | 405556c9fe703094dd0fc07bc89d9a2fdb5ee525 /Documentation/devicetree/bindings/usb | |
parent | 49eb7b0750d9483c74e9c14ae6ea1e9d62481c3c (diff) | |
parent | 4a95b1fce97756d0333f8232eb7ed6974e93b054 (diff) |
Merge tag 'usb-3.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb into next
Pull USB driver updates from Greg KH:
"Here is the big USB driver pull request for 3.16-rc1.
Nothing huge here, but lots of little things in the USB core, and in
lots of drivers. Hopefully the USB power management will be work
better now that it has been reworked to do per-port power control
dynamically. There's also a raft of gadget driver updates and fixes,
CONFIG_USB_DEBUG is finally gone now that everything has been
converted over to the dynamic debug inteface, the last hold-out
drivers were cleaned up and the config option removed. There were
also other minor things all through the drivers/usb/ tree, the
shortlog shows this pretty well.
All have been in linux-next, including the very last patch, which came
from linux-next to fix a build issue on some platforms"
* tag 'usb-3.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (314 commits)
usb: hub_handle_remote_wakeup() only exists for CONFIG_PM=y
USB: orinoco_usb: remove CONFIG_USB_DEBUG support
USB: media: lirc: igorplugusb: remove CONFIG_USB_DEBUG support
USB: media: streamzap: remove CONFIG_USB_DEBUG
USB: media: redrat3: remove CONFIG_USB_DEBUG usage
USB: media: redrat3: remove unneeded tracing macro
usb: qcserial: add additional Sierra Wireless QMI devices
usb: host: max3421-hcd: Use module_spi_driver
usb: host: max3421-hcd: Allow platform-data to specify Vbus polarity
usb: host: max3421-hcd: fix "spi_rd8" uses dynamic stack allocation warning
usb: host: max3421-hcd: Fix missing unlock in max3421_urb_enqueue()
usb: qcserial: add Netgear AirCard 341U
Documentation: dt-bindings: update xhci-platform DT binding for R-Car H2 and M2
usb: host: xhci-plat: add xhci_plat_start()
usb: host: max3421-hcd: Fix potential NULL urb dereference
Revert "usb: gadget: net2280: Add support for PLX USB338X"
USB: usbip: remove CONFIG_USB_DEBUG reference
USB: remove CONFIG_USB_DEBUG from defconfig files
usb: resume child device when port is powered on
usb: hub_handle_remote_wakeup() depends on CONFIG_PM_RUNTIME=y
...
Diffstat (limited to 'Documentation/devicetree/bindings/usb')
9 files changed, 162 insertions, 9 deletions
diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-qcom.txt b/Documentation/devicetree/bindings/usb/ci-hdrc-qcom.txt new file mode 100644 index 000000000000..f2899b550939 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-qcom.txt | |||
@@ -0,0 +1,17 @@ | |||
1 | Qualcomm CI13xxx (Chipidea) USB controllers | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: should contain "qcom,ci-hdrc" | ||
5 | - reg: offset and length of the register set in the memory map | ||
6 | - interrupts: interrupt-specifier for the controller interrupt. | ||
7 | - usb-phy: phandle for the PHY device | ||
8 | - dr_mode: Should be "peripheral" | ||
9 | |||
10 | Examples: | ||
11 | gadget@f9a55000 { | ||
12 | compatible = "qcom,ci-hdrc"; | ||
13 | reg = <0xf9a55000 0x400>; | ||
14 | dr_mode = "peripheral"; | ||
15 | interrupts = <0 134 0>; | ||
16 | usb-phy = <&usbphy0>; | ||
17 | }; | ||
diff --git a/Documentation/devicetree/bindings/usb/ehci-orion.txt b/Documentation/devicetree/bindings/usb/ehci-orion.txt index 6bc09ec14c4d..17c3bc858b86 100644 --- a/Documentation/devicetree/bindings/usb/ehci-orion.txt +++ b/Documentation/devicetree/bindings/usb/ehci-orion.txt | |||
@@ -6,6 +6,11 @@ Required properties: | |||
6 | region. | 6 | region. |
7 | - interrupts: The EHCI interrupt | 7 | - interrupts: The EHCI interrupt |
8 | 8 | ||
9 | Optional properties: | ||
10 | - clocks: reference to the clock | ||
11 | - phys: reference to the USB PHY | ||
12 | - phy-names: name of the USB PHY, should be "usb" | ||
13 | |||
9 | Example: | 14 | Example: |
10 | 15 | ||
11 | ehci@50000 { | 16 | ehci@50000 { |
diff --git a/Documentation/devicetree/bindings/usb/exynos-usb.txt b/Documentation/devicetree/bindings/usb/exynos-usb.txt index d967ba16de60..a3b5990d0f2c 100644 --- a/Documentation/devicetree/bindings/usb/exynos-usb.txt +++ b/Documentation/devicetree/bindings/usb/exynos-usb.txt | |||
@@ -12,6 +12,13 @@ Required properties: | |||
12 | - interrupts: interrupt number to the cpu. | 12 | - interrupts: interrupt number to the cpu. |
13 | - clocks: from common clock binding: handle to usb clock. | 13 | - clocks: from common clock binding: handle to usb clock. |
14 | - clock-names: from common clock binding: Shall be "usbhost". | 14 | - clock-names: from common clock binding: Shall be "usbhost". |
15 | - port: if in the SoC there are EHCI phys, they should be listed here. | ||
16 | One phy per port. Each port should have following entries: | ||
17 | - reg: port number on EHCI controller, e.g | ||
18 | On Exynos5250, port 0 is USB2.0 otg phy | ||
19 | port 1 is HSIC phy0 | ||
20 | port 2 is HSIC phy1 | ||
21 | - phys: from the *Generic PHY* bindings; specifying phy used by port. | ||
15 | 22 | ||
16 | Optional properties: | 23 | Optional properties: |
17 | - samsung,vbus-gpio: if present, specifies the GPIO that | 24 | - samsung,vbus-gpio: if present, specifies the GPIO that |
@@ -27,6 +34,14 @@ Example: | |||
27 | 34 | ||
28 | clocks = <&clock 285>; | 35 | clocks = <&clock 285>; |
29 | clock-names = "usbhost"; | 36 | clock-names = "usbhost"; |
37 | |||
38 | #address-cells = <1>; | ||
39 | #size-cells = <0>; | ||
40 | port@0 { | ||
41 | reg = <0>; | ||
42 | phys = <&usb2phy 1>; | ||
43 | status = "disabled"; | ||
44 | }; | ||
30 | }; | 45 | }; |
31 | 46 | ||
32 | OHCI | 47 | OHCI |
@@ -38,6 +53,13 @@ Required properties: | |||
38 | - interrupts: interrupt number to the cpu. | 53 | - interrupts: interrupt number to the cpu. |
39 | - clocks: from common clock binding: handle to usb clock. | 54 | - clocks: from common clock binding: handle to usb clock. |
40 | - clock-names: from common clock binding: Shall be "usbhost". | 55 | - clock-names: from common clock binding: Shall be "usbhost". |
56 | - port: if in the SoC there are OHCI phys, they should be listed here. | ||
57 | One phy per port. Each port should have following entries: | ||
58 | - reg: port number on OHCI controller, e.g | ||
59 | On Exynos5250, port 0 is USB2.0 otg phy | ||
60 | port 1 is HSIC phy0 | ||
61 | port 2 is HSIC phy1 | ||
62 | - phys: from the *Generic PHY* bindings, specifying phy used by port. | ||
41 | 63 | ||
42 | Example: | 64 | Example: |
43 | usb@12120000 { | 65 | usb@12120000 { |
@@ -47,6 +69,15 @@ Example: | |||
47 | 69 | ||
48 | clocks = <&clock 285>; | 70 | clocks = <&clock 285>; |
49 | clock-names = "usbhost"; | 71 | clock-names = "usbhost"; |
72 | |||
73 | #address-cells = <1>; | ||
74 | #size-cells = <0>; | ||
75 | port@0 { | ||
76 | reg = <0>; | ||
77 | phys = <&usb2phy 1>; | ||
78 | status = "disabled"; | ||
79 | }; | ||
80 | |||
50 | }; | 81 | }; |
51 | 82 | ||
52 | DWC3 | 83 | DWC3 |
diff --git a/Documentation/devicetree/bindings/usb/gr-udc.txt b/Documentation/devicetree/bindings/usb/gr-udc.txt index 0c5118f7a916..e9445224fabd 100644 --- a/Documentation/devicetree/bindings/usb/gr-udc.txt +++ b/Documentation/devicetree/bindings/usb/gr-udc.txt | |||
@@ -12,17 +12,23 @@ Required properties: | |||
12 | 12 | ||
13 | - reg : Address and length of the register set for the device | 13 | - reg : Address and length of the register set for the device |
14 | 14 | ||
15 | - interrupts : Interrupt numbers for this device | 15 | - interrupts : Interrupt numbers for this device. Either one interrupt number |
16 | for all interrupts, or one for status related interrupts, one for IN | ||
17 | endpoint related interrupts and one for OUT endpoint related interrupts. | ||
16 | 18 | ||
17 | Optional properties: | 19 | Optional properties: |
18 | 20 | ||
19 | - epobufsizes : An array of buffer sizes for OUT endpoints. If the property is | 21 | - epobufsizes : Array of buffer sizes for OUT endpoints when they differ |
20 | not present, or for endpoints outside of the array, 1024 is assumed by | 22 | from the default size of 1024. The array is indexed by the OUT endpoint |
21 | the driver. | 23 | number. If the property is present it typically contains one entry for |
22 | 24 | each OUT endpoint of the core. Fewer entries overrides the default sizes | |
23 | - epibufsizes : An array of buffer sizes for IN endpoints. If the property is | 25 | only for as many endpoints as the array contains. |
24 | not present, or for endpoints outside of the array, 1024 is assumed by | 26 | |
25 | the driver. | 27 | - epibufsizes : Array of buffer sizes for IN endpoints when they differ |
28 | from the default size of 1024. The array is indexed by the IN endpoint | ||
29 | number. If the property is present it typically contains one entry for | ||
30 | each IN endpoint of the core. Fewer entries overrides the default sizes | ||
31 | only for as many endpoints as the array contains. | ||
26 | 32 | ||
27 | For further information look in the documentation for the GLIB IP core library: | 33 | For further information look in the documentation for the GLIB IP core library: |
28 | http://www.gaisler.com/products/grlib/grip.pdf | 34 | http://www.gaisler.com/products/grlib/grip.pdf |
diff --git a/Documentation/devicetree/bindings/usb/msm-hsusb.txt b/Documentation/devicetree/bindings/usb/msm-hsusb.txt index 5ea26c631e3a..2826f2af503a 100644 --- a/Documentation/devicetree/bindings/usb/msm-hsusb.txt +++ b/Documentation/devicetree/bindings/usb/msm-hsusb.txt | |||
@@ -15,3 +15,81 @@ Example EHCI controller device node: | |||
15 | usb-phy = <&usb_otg>; | 15 | usb-phy = <&usb_otg>; |
16 | }; | 16 | }; |
17 | 17 | ||
18 | USB PHY with optional OTG: | ||
19 | |||
20 | Required properties: | ||
21 | - compatible: Should contain: | ||
22 | "qcom,usb-otg-ci" for chipsets with ChipIdea 45nm PHY | ||
23 | "qcom,usb-otg-snps" for chipsets with Synopsys 28nm PHY | ||
24 | |||
25 | - regs: Offset and length of the register set in the memory map | ||
26 | - interrupts: interrupt-specifier for the OTG interrupt. | ||
27 | |||
28 | - clocks: A list of phandle + clock-specifier pairs for the | ||
29 | clocks listed in clock-names | ||
30 | - clock-names: Should contain the following: | ||
31 | "phy" USB PHY reference clock | ||
32 | "core" Protocol engine clock | ||
33 | "iface" Interface bus clock | ||
34 | "alt_core" Protocol engine clock for targets with asynchronous | ||
35 | reset methodology. (optional) | ||
36 | |||
37 | - vdccx-supply: phandle to the regulator for the vdd supply for | ||
38 | digital circuit operation. | ||
39 | - v1p8-supply: phandle to the regulator for the 1.8V supply | ||
40 | - v3p3-supply: phandle to the regulator for the 3.3V supply | ||
41 | |||
42 | - resets: A list of phandle + reset-specifier pairs for the | ||
43 | resets listed in reset-names | ||
44 | - reset-names: Should contain the following: | ||
45 | "phy" USB PHY controller reset | ||
46 | "link" USB LINK controller reset | ||
47 | |||
48 | - qcom,otg-control: OTG control (VBUS and ID notifications) can be one of | ||
49 | 1 - PHY control | ||
50 | 2 - PMIC control | ||
51 | |||
52 | Optional properties: | ||
53 | - dr_mode: One of "host", "peripheral" or "otg". Defaults to "otg" | ||
54 | |||
55 | - qcom,phy-init-sequence: PHY configuration sequence values. This is related to Device | ||
56 | Mode Eye Diagram test. Start address at which these values will be | ||
57 | written is ULPI_EXT_VENDOR_SPECIFIC. Value of -1 is reserved as | ||
58 | "do not overwrite default value at this address". | ||
59 | For example: qcom,phy-init-sequence = < -1 0x63 >; | ||
60 | Will update only value at address ULPI_EXT_VENDOR_SPECIFIC + 1. | ||
61 | |||
62 | - qcom,phy-num: Select number of pyco-phy to use, can be one of | ||
63 | 0 - PHY one, default | ||
64 | 1 - Second PHY | ||
65 | Some platforms may have configuration to allow USB | ||
66 | controller work with any of the two HSPHYs present. | ||
67 | |||
68 | - qcom,vdd-levels: This property must be a list of three integer values | ||
69 | (no, min, max) where each value represents either a voltage | ||
70 | in microvolts or a value corresponding to voltage corner. | ||
71 | |||
72 | Example HSUSB OTG controller device node: | ||
73 | |||
74 | usb@f9a55000 { | ||
75 | compatible = "qcom,usb-otg-snps"; | ||
76 | reg = <0xf9a55000 0x400>; | ||
77 | interrupts = <0 134 0>; | ||
78 | dr_mode = "peripheral"; | ||
79 | |||
80 | clocks = <&gcc GCC_XO_CLK>, <&gcc GCC_USB_HS_SYSTEM_CLK>, | ||
81 | <&gcc GCC_USB_HS_AHB_CLK>; | ||
82 | |||
83 | clock-names = "phy", "core", "iface"; | ||
84 | |||
85 | vddcx-supply = <&pm8841_s2_corner>; | ||
86 | v1p8-supply = <&pm8941_l6>; | ||
87 | v3p3-supply = <&pm8941_l24>; | ||
88 | |||
89 | resets = <&gcc GCC_USB2A_PHY_BCR>, <&gcc GCC_USB_HS_BCR>; | ||
90 | reset-names = "phy", "link"; | ||
91 | |||
92 | qcom,otg-control = <1>; | ||
93 | qcom,phy-init-sequence = < -1 0x63 >; | ||
94 | qcom,vdd-levels = <1 5 7>; | ||
95 | }; | ||
diff --git a/Documentation/devicetree/bindings/usb/usb-ehci.txt b/Documentation/devicetree/bindings/usb/usb-ehci.txt index ff151ec084c4..43c1a4e06767 100644 --- a/Documentation/devicetree/bindings/usb/usb-ehci.txt +++ b/Documentation/devicetree/bindings/usb/usb-ehci.txt | |||
@@ -15,6 +15,7 @@ Optional properties: | |||
15 | - clocks : a list of phandle + clock specifier pairs | 15 | - clocks : a list of phandle + clock specifier pairs |
16 | - phys : phandle + phy specifier pair | 16 | - phys : phandle + phy specifier pair |
17 | - phy-names : "usb" | 17 | - phy-names : "usb" |
18 | - resets : phandle + reset specifier pair | ||
18 | 19 | ||
19 | Example (Sequoia 440EPx): | 20 | Example (Sequoia 440EPx): |
20 | ehci@e0000300 { | 21 | ehci@e0000300 { |
diff --git a/Documentation/devicetree/bindings/usb/usb-ohci.txt b/Documentation/devicetree/bindings/usb/usb-ohci.txt index 45f67d91e888..b968a1aea995 100644 --- a/Documentation/devicetree/bindings/usb/usb-ohci.txt +++ b/Documentation/devicetree/bindings/usb/usb-ohci.txt | |||
@@ -12,6 +12,7 @@ Optional properties: | |||
12 | - clocks : a list of phandle + clock specifier pairs | 12 | - clocks : a list of phandle + clock specifier pairs |
13 | - phys : phandle + phy specifier pair | 13 | - phys : phandle + phy specifier pair |
14 | - phy-names : "usb" | 14 | - phy-names : "usb" |
15 | - resets : phandle + reset specifier pair | ||
15 | 16 | ||
16 | Example: | 17 | Example: |
17 | 18 | ||
diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.txt b/Documentation/devicetree/bindings/usb/usb-xhci.txt index 90f8f607d125..5a79377c6a96 100644 --- a/Documentation/devicetree/bindings/usb/usb-xhci.txt +++ b/Documentation/devicetree/bindings/usb/usb-xhci.txt | |||
@@ -1,11 +1,17 @@ | |||
1 | USB xHCI controllers | 1 | USB xHCI controllers |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible: should be "generic-xhci" (deprecated: "xhci-platform"). | 4 | - compatible: should be one of "generic-xhci", |
5 | "marvell,armada-375-xhci", "marvell,armada-380-xhci", | ||
6 | "renesas,xhci-r8a7790", "renesas,xhci-r8a7791" (deprecated: | ||
7 | "xhci-platform"). | ||
5 | - reg: should contain address and length of the standard XHCI | 8 | - reg: should contain address and length of the standard XHCI |
6 | register set for the device. | 9 | register set for the device. |
7 | - interrupts: one XHCI interrupt should be described here. | 10 | - interrupts: one XHCI interrupt should be described here. |
8 | 11 | ||
12 | Optional property: | ||
13 | - clocks: reference to a clock | ||
14 | |||
9 | Example: | 15 | Example: |
10 | usb@f0931000 { | 16 | usb@f0931000 { |
11 | compatible = "generic-xhci"; | 17 | compatible = "generic-xhci"; |
diff --git a/Documentation/devicetree/bindings/usb/usb3503.txt b/Documentation/devicetree/bindings/usb/usb3503.txt index a018da4a7ad7..221ac0dbc678 100644 --- a/Documentation/devicetree/bindings/usb/usb3503.txt +++ b/Documentation/devicetree/bindings/usb/usb3503.txt | |||
@@ -15,6 +15,14 @@ Optional properties: | |||
15 | - reset-gpios: Should specify GPIO for reset. | 15 | - reset-gpios: Should specify GPIO for reset. |
16 | - initial-mode: Should specify initial mode. | 16 | - initial-mode: Should specify initial mode. |
17 | (1 for HUB mode, 2 for STANDBY mode) | 17 | (1 for HUB mode, 2 for STANDBY mode) |
18 | - refclk: Clock used for driving REFCLK signal (optional, if not provided | ||
19 | the driver assumes that clock signal is always available, its | ||
20 | rate is specified by REF_SEL pins and a value from the primary | ||
21 | reference clock frequencies table is used) | ||
22 | - refclk-frequency: Frequency of the REFCLK signal as defined by REF_SEL | ||
23 | pins (optional, if not provided, driver will not set rate of the | ||
24 | REFCLK signal and assume that a value from the primary reference | ||
25 | clock frequencies table is used) | ||
18 | 26 | ||
19 | Examples: | 27 | Examples: |
20 | usb3503@08 { | 28 | usb3503@08 { |