forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
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-4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/gregkh/usb Pull USB/PHY updates from Greg KH: "Here is the big USB and PHY driver updates for 4.11-rc1. Nothing major, just the normal amount of churn in the usb gadget and dwc and xhci controllers, new device ids, new phy drivers, a new usb-serial driver, and a few other minor changes in different USB drivers. All have been in linux-next for a long time with no reported issues" * tag 'usb-4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (265 commits) usb: cdc-wdm: remove logically dead code USB: serial: keyspan: drop header file USB: serial: io_edgeport: drop io-tables header file usb: musb: add code comment for clarification usb: misc: add USB251xB/xBi Hi-Speed Hub Controller Driver usb: misc: usbtest: remove redundant check on retval < 0 USB: serial: upd78f0730: sort device ids USB: serial: upd78f0730: add ID for EVAL-ADXL362Z ohci-hub: fix typo in dbg_port macro usb: musb: dsps: Manage CPPI 4.1 DMA interrupt in DSPS usb: musb: tusb6010: Clean up tusb_omap_dma structure usb: musb: cppi_dma: Clean up cppi41_dma_controller structure usb: musb: cppi_dma: Clean up cppi structure usb: musb: cppi41: Detect aborted transfers in cppi41_dma_callback() usb: musb: dma: Add a DMA completion platform callback drivers: usb: usbip: Add missing break statement to switch usb: mtu3: remove redundant dev_err call in get_ssusb_rscs() USB: serial: mos7840: fix another NULL-deref at open USB: serial: console: clean up sanity checks USB: serial: console: fix uninitialised spinlock ...
- Loading branch information
Showing
193 changed files
with
7,780 additions
and
4,460 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
Documentation/devicetree/bindings/phy/brcm,nsp-usb3-phy.txt
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,39 @@ | ||
Broadcom USB3 phy binding for northstar plus SoC | ||
The USB3 phy is internal to the SoC and is accessed using mdio interface. | ||
|
||
Required mdio bus properties: | ||
- reg: Should be 0x0 for SoC internal USB3 phy | ||
- #address-cells: must be 1 | ||
- #size-cells: must be 0 | ||
|
||
Required USB3 PHY properties: | ||
- compatible: should be "brcm,nsp-usb3-phy" | ||
- reg: USB3 Phy address on SoC internal MDIO bus and it should be 0x10. | ||
- usb3-ctrl-syscon: handler of syscon node defining physical address | ||
of usb3 control register. | ||
- #phy-cells: must be 0 | ||
|
||
Required usb3 control properties: | ||
- compatible: should be "brcm,nsp-usb3-ctrl" | ||
- reg: offset and length of the control registers | ||
|
||
Example: | ||
|
||
mdio@0 { | ||
reg = <0x0>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
usb3_phy: usb-phy@10 { | ||
compatible = "brcm,nsp-usb3-phy"; | ||
reg = <0x10>; | ||
usb3-ctrl-syscon = <&usb3_ctrl>; | ||
#phy-cells = <0>; | ||
status = "disabled"; | ||
}; | ||
}; | ||
|
||
usb3_ctrl: syscon@104408 { | ||
compatible = "brcm,nsp-usb3-ctrl", "syscon"; | ||
reg = <0x104408 0x3fc>; | ||
}; |
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,84 @@ | ||
Qualcomm's USB HS PHY | ||
|
||
PROPERTIES | ||
|
||
- compatible: | ||
Usage: required | ||
Value type: <string> | ||
Definition: Should contain "qcom,usb-hs-phy" and more specifically one of the | ||
following: | ||
|
||
"qcom,usb-hs-phy-apq8064" | ||
"qcom,usb-hs-phy-msm8916" | ||
"qcom,usb-hs-phy-msm8974" | ||
|
||
- #phy-cells: | ||
Usage: required | ||
Value type: <u32> | ||
Definition: Should contain 0 | ||
|
||
- clocks: | ||
Usage: required | ||
Value type: <prop-encoded-array> | ||
Definition: Should contain clock specifier for the reference and sleep | ||
clocks | ||
|
||
- clock-names: | ||
Usage: required | ||
Value type: <stringlist> | ||
Definition: Should contain "ref" and "sleep" for the reference and sleep | ||
clocks respectively | ||
|
||
- resets: | ||
Usage: required | ||
Value type: <prop-encoded-array> | ||
Definition: Should contain the phy and POR resets | ||
|
||
- reset-names: | ||
Usage: required | ||
Value type: <stringlist> | ||
Definition: Should contain "phy" and "por" for the phy and POR resets | ||
respectively | ||
|
||
- v3p3-supply: | ||
Usage: required | ||
Value type: <phandle> | ||
Definition: Should contain a reference to the 3.3V supply | ||
|
||
- v1p8-supply: | ||
Usage: required | ||
Value type: <phandle> | ||
Definition: Should contain a reference to the 1.8V supply | ||
|
||
- extcon: | ||
Usage: optional | ||
Value type: <prop-encoded-array> | ||
Definition: Should contain the vbus extcon | ||
|
||
- qcom,init-seq: | ||
Usage: optional | ||
Value type: <u8 array> | ||
Definition: Should contain a sequence of ULPI address and value pairs to | ||
program into the ULPI_EXT_VENDOR_SPECIFIC area. This is related | ||
to Device Mode Eye Diagram test. The addresses are offsets | ||
from the ULPI_EXT_VENDOR_SPECIFIC address, for example, | ||
<0x1 0x53> would mean "write the value 0x53 to address 0x81". | ||
|
||
EXAMPLE | ||
|
||
otg: usb-controller { | ||
ulpi { | ||
phy { | ||
compatible = "qcom,usb-hs-phy-msm8974", "qcom,usb-hs-phy"; | ||
#phy-cells = <0>; | ||
clocks = <&xo_board>, <&gcc GCC_USB2A_PHY_SLEEP_CLK>; | ||
clock-names = "ref", "sleep"; | ||
resets = <&gcc GCC_USB2A_PHY_BCR>, <&otg 0>; | ||
reset-names = "phy", "por"; | ||
v3p3-supply = <&pm8941_l24>; | ||
v1p8-supply = <&pm8941_l6>; | ||
extcon = <&smbb>; | ||
qcom,init-seq = /bits/ 8 <0x1 0x63>; | ||
}; | ||
}; | ||
}; |
65 changes: 65 additions & 0 deletions
65
Documentation/devicetree/bindings/phy/qcom,usb-hsic-phy.txt
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,65 @@ | ||
Qualcomm's USB HSIC PHY | ||
|
||
PROPERTIES | ||
|
||
- compatible: | ||
Usage: required | ||
Value type: <string> | ||
Definition: Should contain "qcom,usb-hsic-phy" and more specifically one of the | ||
following: | ||
|
||
"qcom,usb-hsic-phy-mdm9615" | ||
"qcom,usb-hsic-phy-msm8974" | ||
|
||
- #phy-cells: | ||
Usage: required | ||
Value type: <u32> | ||
Definition: Should contain 0 | ||
|
||
- clocks: | ||
Usage: required | ||
Value type: <prop-encoded-array> | ||
Definition: Should contain clock specifier for phy, calibration and | ||
a calibration sleep clock | ||
|
||
- clock-names: | ||
Usage: required | ||
Value type: <stringlist> | ||
Definition: Should contain "phy, "cal" and "cal_sleep" | ||
|
||
- pinctrl-names: | ||
Usage: required | ||
Value type: <stringlist> | ||
Definition: Should contain "init" and "default" in that order | ||
|
||
- pinctrl-0: | ||
Usage: required | ||
Value type: <prop-encoded-array> | ||
Definition: List of pinctrl settings to apply to keep HSIC pins in a glitch | ||
free state | ||
|
||
- pinctrl-1: | ||
Usage: required | ||
Value type: <prop-encoded-array> | ||
Definition: List of pinctrl settings to apply to mux out the HSIC pins | ||
|
||
EXAMPLE | ||
|
||
usb-controller { | ||
ulpi { | ||
phy { | ||
compatible = "qcom,usb-hsic-phy-msm8974", | ||
"qcom,usb-hsic-phy"; | ||
#phy-cells = <0>; | ||
pinctrl-names = "init", "default"; | ||
pinctrl-0 = <&hsic_sleep>; | ||
pinctrl-1 = <&hsic_default>; | ||
clocks = <&gcc GCC_USB_HSIC_CLK>, | ||
<&gcc GCC_USB_HSIC_IO_CAL_CLK>, | ||
<&gcc GCC_USB_HSIC_IO_CAL_SLEEP_CLK>; | ||
clock-names = "phy", "cal", "cal_sleep"; | ||
assigned-clocks = <&gcc GCC_USB_HSIC_IO_CAL_CLK>; | ||
assigned-clock-rates = <960000>; | ||
}; | ||
}; | ||
}; |
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
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
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
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
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,20 @@ | ||
ULPI bus binding | ||
---------------- | ||
|
||
Phys that are behind a ULPI connection can be described with the following | ||
binding. The host controller shall have a "ulpi" named node as a child, and | ||
that node shall have one enabled node underneath it representing the ulpi | ||
device on the bus. | ||
|
||
EXAMPLE | ||
------- | ||
|
||
usb { | ||
compatible = "vendor,usb-controller"; | ||
|
||
ulpi { | ||
phy { | ||
compatible = "vendor,phy"; | ||
}; | ||
}; | ||
}; |
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.