-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'usb-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/gregkh/usb Pull USB patches from Greg KH: "Here's the big USB pull request for 3.15-rc1. The normal set of patches, lots of controller driver updates, and a smattering of individual USB driver updates as well. All have been in linux-next for a while" * tag 'usb-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (249 commits) xhci: Transition maintainership to Mathias Nyman. USB: disable reset-resume when USB_QUIRK_RESET is set USB: unbind all interfaces before rebinding any usb: phy: Add ulpi IDs for SMSC USB3320 and TI TUSB1210 usb: gadget: tcm_usb_gadget: stop format strings usb: gadget: f_fs: add missing spinlock and mutex unlock usb: gadget: composite: switch over to ERR_CAST() usb: gadget: inode: switch over to memdup_user() usb: gadget: f_subset: switch over to PTR_RET usb: gadget: lpc32xx_udc: fix wrong clk_put() sequence USB: keyspan: remove dead debugging code USB: serial: add missing newlines to dev_<level> messages. USB: serial: add missing braces USB: serial: continue to write on errors USB: serial: continue to read on errors USB: serial: make bulk_out_size a lower limit USB: cypress_m8: fix potential scheduling while atomic devicetree: bindings: document lsi,zevio-usb usb: chipidea: add support for USB OTG controller on LSI Zevio SoCs usb: chipidea: imx: Use dev_name() for ci_hdrc name to distinguish USBs ...
- Loading branch information
Showing
156 changed files
with
9,148 additions
and
2,183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
* APM X-Gene 15Gbps Multi-purpose PHY nodes | ||
|
||
PHY nodes are defined to describe on-chip 15Gbps Multi-purpose PHY. Each | ||
PHY (pair of lanes) has its own node. | ||
|
||
Required properties: | ||
- compatible : Shall be "apm,xgene-phy". | ||
- reg : PHY memory resource is the SDS PHY access resource. | ||
- #phy-cells : Shall be 1 as it expects one argument for setting | ||
the mode of the PHY. Possible values are 0 (SATA), | ||
1 (SGMII), 2 (PCIe), 3 (USB), and 4 (XFI). | ||
|
||
Optional properties: | ||
- status : Shall be "ok" if enabled or "disabled" if disabled. | ||
Default is "ok". | ||
- clocks : Reference to the clock entry. | ||
- apm,tx-eye-tuning : Manual control to fine tune the capture of the serial | ||
bit lines from the automatic calibrated position. | ||
Two set of 3-tuple setting for each (up to 3) | ||
supported link speed on the host. Range from 0 to | ||
127 in unit of one bit period. Default is 10. | ||
- apm,tx-eye-direction : Eye tuning manual control direction. 0 means sample | ||
data earlier than the nominal sampling point. 1 means | ||
sample data later than the nominal sampling point. | ||
Two set of 3-tuple setting for each (up to 3) | ||
supported link speed on the host. Default is 0. | ||
- apm,tx-boost-gain : Frequency boost AC (LSB 3-bit) and DC (2-bit) | ||
gain control. Two set of 3-tuple setting for each | ||
(up to 3) supported link speed on the host. Range is | ||
between 0 to 31 in unit of dB. Default is 3. | ||
- apm,tx-amplitude : Amplitude control. Two set of 3-tuple setting for | ||
each (up to 3) supported link speed on the host. | ||
Range is between 0 to 199500 in unit of uV. | ||
Default is 199500 uV. | ||
- apm,tx-pre-cursor1 : 1st pre-cursor emphasis taps control. Two set of | ||
3-tuple setting for each (up to 3) supported link | ||
speed on the host. Range is 0 to 273000 in unit of | ||
uV. Default is 0. | ||
- apm,tx-pre-cursor2 : 2st pre-cursor emphasis taps control. Two set of | ||
3-tuple setting for each (up to 3) supported link | ||
speed on the host. Range is 0 to 127400 in unit uV. | ||
Default is 0x0. | ||
- apm,tx-post-cursor : Post-cursor emphasis taps control. Two set of | ||
3-tuple setting for Gen1, Gen2, and Gen3. Range is | ||
between 0 to 0x1f in unit of 18.2mV. Default is 0xf. | ||
- apm,tx-speed : Tx operating speed. One set of 3-tuple for each | ||
supported link speed on the host. | ||
0 = 1-2Gbps | ||
1 = 2-4Gbps (1st tuple default) | ||
2 = 4-8Gbps | ||
3 = 8-15Gbps (2nd tuple default) | ||
4 = 2.5-4Gbps | ||
5 = 4-5Gbps | ||
6 = 5-6Gbps | ||
7 = 6-16Gbps (3rd tuple default) | ||
|
||
NOTE: PHY override parameters are board specific setting. | ||
|
||
Example: | ||
phy1: phy@1f21a000 { | ||
compatible = "apm,xgene-phy"; | ||
reg = <0x0 0x1f21a000 0x0 0x100>; | ||
#phy-cells = <1>; | ||
status = "disabled"; | ||
}; | ||
|
||
phy2: phy@1f22a000 { | ||
compatible = "apm,xgene-phy"; | ||
reg = <0x0 0x1f22a000 0x0 0x100>; | ||
#phy-cells = <1>; | ||
status = "ok"; | ||
}; | ||
|
||
phy3: phy@1f23a000 { | ||
compatible = "apm,xgene-phy"; | ||
reg = <0x0 0x1f23a000 0x0 0x100>; | ||
#phy-cells = <1>; | ||
status = "ok"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Allwinner sun4i USB PHY | ||
----------------------- | ||
|
||
Required properties: | ||
- compatible : should be one of "allwinner,sun4i-a10-usb-phy", | ||
"allwinner,sun5i-a13-usb-phy" or "allwinner,sun7i-a20-usb-phy" | ||
- reg : a list of offset + length pairs | ||
- reg-names : "phy_ctrl", "pmu1" and for sun4i or sun7i "pmu2" | ||
- #phy-cells : from the generic phy bindings, must be 1 | ||
- clocks : phandle + clock specifier for the phy clock | ||
- clock-names : "usb_phy" | ||
- resets : a list of phandle + reset specifier pairs | ||
- reset-names : "usb0_reset", "usb1_reset" and for sun4i or sun7i "usb2_reset" | ||
|
||
Example: | ||
usbphy: phy@0x01c13400 { | ||
#phy-cells = <1>; | ||
compatible = "allwinner,sun4i-a10-usb-phy"; | ||
/* phy base regs, phy1 pmu reg, phy2 pmu reg */ | ||
reg = <0x01c13400 0x10 0x01c14800 0x4 0x01c1c800 0x4>; | ||
reg-names = "phy_ctrl", "pmu1", "pmu2"; | ||
clocks = <&usb_clk 8>; | ||
clock-names = "usb_phy"; | ||
resets = <&usb_clk 1>, <&usb_clk 2>; | ||
reset-names = "usb1_reset", "usb2_reset"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
TI PHY: DT DOCUMENTATION FOR PHYs in TI PLATFORMs | ||
|
||
OMAP CONTROL PHY | ||
|
||
Required properties: | ||
- compatible: Should be one of | ||
"ti,control-phy-otghs" - if it has otghs_control mailbox register as on OMAP4. | ||
"ti,control-phy-usb2" - if it has Power down bit in control_dev_conf register | ||
e.g. USB2_PHY on OMAP5. | ||
"ti,control-phy-pipe3" - if it has DPLL and individual Rx & Tx power control | ||
e.g. USB3 PHY and SATA PHY on OMAP5. | ||
"ti,control-phy-usb2-dra7" - if it has power down register like USB2 PHY on | ||
DRA7 platform. | ||
"ti,control-phy-usb2-am437" - if it has power down register like USB2 PHY on | ||
AM437 platform. | ||
- reg : Address and length of the register set for the device. It contains | ||
the address of "otghs_control" for control-phy-otghs or "power" register | ||
for other types. | ||
- reg-names: should be "otghs_control" control-phy-otghs and "power" for | ||
other types. | ||
|
||
omap_control_usb: omap-control-usb@4a002300 { | ||
compatible = "ti,control-phy-otghs"; | ||
reg = <0x4a00233c 0x4>; | ||
reg-names = "otghs_control"; | ||
}; | ||
|
||
OMAP USB2 PHY | ||
|
||
Required properties: | ||
- compatible: Should be "ti,omap-usb2" | ||
- reg : Address and length of the register set for the device. | ||
- #phy-cells: determine the number of cells that should be given in the | ||
phandle while referencing this phy. | ||
|
||
Optional properties: | ||
- ctrl-module : phandle of the control module used by PHY driver to power on | ||
the PHY. | ||
|
||
This is usually a subnode of ocp2scp to which it is connected. | ||
|
||
usb2phy@4a0ad080 { | ||
compatible = "ti,omap-usb2"; | ||
reg = <0x4a0ad080 0x58>; | ||
ctrl-module = <&omap_control_usb>; | ||
#phy-cells = <0>; | ||
}; | ||
|
||
TI PIPE3 PHY | ||
|
||
Required properties: | ||
- compatible: Should be "ti,phy-usb3" or "ti,phy-pipe3-sata". | ||
"ti,omap-usb3" is deprecated. | ||
- reg : Address and length of the register set for the device. | ||
- reg-names: The names of the register addresses corresponding to the registers | ||
filled in "reg". | ||
- #phy-cells: determine the number of cells that should be given in the | ||
phandle while referencing this phy. | ||
- clocks: a list of phandles and clock-specifier pairs, one for each entry in | ||
clock-names. | ||
- clock-names: should include: | ||
* "wkupclk" - wakeup clock. | ||
* "sysclk" - system clock. | ||
* "refclk" - reference clock. | ||
|
||
Optional properties: | ||
- ctrl-module : phandle of the control module used by PHY driver to power on | ||
the PHY. | ||
|
||
This is usually a subnode of ocp2scp to which it is connected. | ||
|
||
usb3phy@4a084400 { | ||
compatible = "ti,phy-usb3"; | ||
reg = <0x4a084400 0x80>, | ||
<0x4a084800 0x64>, | ||
<0x4a084c00 0x40>; | ||
reg-names = "phy_rx", "phy_tx", "pll_ctrl"; | ||
ctrl-module = <&omap_control_usb>; | ||
#phy-cells = <0>; | ||
clocks = <&usb_phy_cm_clk32k>, | ||
<&sys_clkin>, | ||
<&usb_otg_ss_refclk960m>; | ||
clock-names = "wkupclk", | ||
"sysclk", | ||
"refclk"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
* LSI Zevio USB OTG Controller | ||
|
||
Required properties: | ||
- compatible: Should be "lsi,zevio-usb" | ||
- reg: Should contain registers location and length | ||
- interrupts: Should contain controller interrupt | ||
|
||
Optional properties: | ||
- vbus-supply: regulator for vbus | ||
|
||
Examples: | ||
usb0: usb@b0000000 { | ||
reg = <0xb0000000 0x1000>; | ||
compatible = "lsi,zevio-usb"; | ||
interrupts = <8>; | ||
vbus-supply = <&vbus_reg>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
* Freescale MXS USB Phy Device | ||
|
||
Required properties: | ||
- compatible: Should be "fsl,imx23-usbphy" | ||
- compatible: should contain: | ||
* "fsl,imx23-usbphy" for imx23 and imx28 | ||
* "fsl,imx6q-usbphy" for imx6dq and imx6dl | ||
* "fsl,imx6sl-usbphy" for imx6sl | ||
"fsl,imx23-usbphy" is still a fallback for other strings | ||
- reg: Should contain registers location and length | ||
- interrupts: Should contain phy interrupt | ||
- fsl,anatop: phandle for anatop register, it is only for imx6 SoC series | ||
|
||
Example: | ||
usbphy1: usbphy@020c9000 { | ||
compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy"; | ||
reg = <0x020c9000 0x1000>; | ||
interrupts = <0 44 0x04>; | ||
fsl,anatop = <&anatop>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.