-
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-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/gregkh/usb Pull USB/PHY updates from Greg KH: "Here is the big set of USB and PHY driver patches for 5.2-rc1 There is the usual set of: - USB gadget updates - PHY driver updates and additions - USB serial driver updates and fixes - typec updates and new chips supported - mtu3 driver updates - xhci driver updates - other tiny driver updates Nothing really interesting, just constant forward progress. All of these have been in linux-next for a while with no reported issues. The usb-gadget and usb-serial trees were merged a bit "late", but both of them had been in linux-next before they got merged here last Friday" * tag 'usb-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (206 commits) USB: serial: f81232: implement break control USB: serial: f81232: add high baud rate support USB: serial: f81232: clear overrun flag USB: serial: f81232: fix interrupt worker not stop usb: dwc3: Rename DWC3_DCTL_LPM_ERRATA usb: dwc3: Fix default lpm_nyet_threshold value usb: dwc3: debug: Print GET_STATUS(device) tracepoint usb: dwc3: Do core validation early on probe usb: dwc3: gadget: Set lpm_capable usb: gadget: atmel: tie wake lock to running clock usb: gadget: atmel: support USB suspend usb: gadget: atmel_usba_udc: simplify setting of interrupt-enabled mask dwc2: gadget: Fix completed transfer size calculation in DDMA usb: dwc2: Set lpm mode parameters depend on HW configuration usb: dwc2: Fix channel disable flow usb: dwc2: Set actual frame number for completed ISOC transfer usb: gadget: do not use __constant_cpu_to_le16 usb: dwc2: gadget: Increase descriptors count for ISOC's usb: introduce usb_ep_type_string() function usb: dwc3: move synchronize_irq() out of the spinlock protected block ...
- Loading branch information
Showing
206 changed files
with
12,187 additions
and
3,332 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,6 @@ | ||
What: /sys/bus/i2c/drivers/ucsi_ccg/.../do_flash | ||
Date: May 2019 | ||
Contact: Ajay Gupta <ajayg@nvidia.com> | ||
Description: | ||
Tell the driver for Cypress CCGx Type-C controller to attempt | ||
firmware upgrade by writing [Yy1] to the file. |
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,27 @@ | ||
What: Raise a uevent when a USB Host Controller has died | ||
Date: 2019-04-17 | ||
KernelVersion: 5.2 | ||
Contact: linux-usb@vger.kernel.org | ||
Description: When the USB Host Controller has entered a state where it is no | ||
longer functional a uevent will be raised. The uevent will | ||
contain ACTION=offline and ERROR=DEAD. | ||
|
||
Here is an example taken using udevadm monitor -p: | ||
|
||
KERNEL[130.428945] offline /devices/pci0000:00/0000:00:10.0/usb2 (usb) | ||
ACTION=offline | ||
BUSNUM=002 | ||
DEVNAME=/dev/bus/usb/002/001 | ||
DEVNUM=001 | ||
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb2 | ||
DEVTYPE=usb_device | ||
DRIVER=usb | ||
ERROR=DEAD | ||
MAJOR=189 | ||
MINOR=128 | ||
PRODUCT=1d6b/2/414 | ||
SEQNUM=2168 | ||
SUBSYSTEM=usb | ||
TYPE=9/0/1 | ||
|
||
Users: chromium-os-dev@chromium.org |
32 changes: 32 additions & 0 deletions
32
Documentation/devicetree/bindings/phy/brcm,stingray-usb-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,32 @@ | ||
Broadcom Stingray USB PHY | ||
|
||
Required properties: | ||
- compatible : should be one of the listed compatibles | ||
- "brcm,sr-usb-combo-phy" is combo PHY has two PHYs, one SS and one HS. | ||
- "brcm,sr-usb-hs-phy" is a single HS PHY. | ||
- reg: offset and length of the PHY blocks registers | ||
- #phy-cells: | ||
- Must be 1 for brcm,sr-usb-combo-phy as it expects one argument to indicate | ||
the PHY number of two PHYs. 0 for HS PHY and 1 for SS PHY. | ||
- Must be 0 for brcm,sr-usb-hs-phy. | ||
|
||
Refer to phy/phy-bindings.txt for the generic PHY binding properties | ||
|
||
Example: | ||
usbphy0: usb-phy@0 { | ||
compatible = "brcm,sr-usb-combo-phy"; | ||
reg = <0x00000000 0x100>; | ||
#phy-cells = <1>; | ||
}; | ||
|
||
usbphy1: usb-phy@10000 { | ||
compatible = "brcm,sr-usb-combo-phy"; | ||
reg = <0x00010000 0x100>, | ||
#phy-cells = <1>; | ||
}; | ||
|
||
usbphy2: usb-phy@20000 { | ||
compatible = "brcm,sr-usb-hs-phy"; | ||
reg = <0x00020000 0x100>, | ||
#phy-cells = <0>; | ||
}; |
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
22 changes: 22 additions & 0 deletions
22
Documentation/devicetree/bindings/phy/meson-g12a-usb2-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,22 @@ | ||
* Amlogic G12A USB2 PHY binding | ||
|
||
Required properties: | ||
- compatible: Should be "amlogic,meson-g12a-usb2-phy" | ||
- reg: The base address and length of the registers | ||
- #phys-cells: must be 0 (see phy-bindings.txt in this directory) | ||
- clocks: a phandle to the clock of this PHY | ||
- clock-names: must be "xtal" | ||
- resets: a phandle to the reset line of this PHY | ||
- reset-names: must be "phy" | ||
- phy-supply: see phy-bindings.txt in this directory | ||
|
||
Example: | ||
usb2_phy0: phy@36000 { | ||
compatible = "amlogic,g12a-usb2-phy"; | ||
reg = <0x0 0x36000 0x0 0x2000>; | ||
clocks = <&xtal>; | ||
clock-names = "xtal"; | ||
resets = <&reset RESET_USB_PHY21>; | ||
reset-names = "phy"; | ||
#phy-cells = <0>; | ||
}; |
22 changes: 22 additions & 0 deletions
22
Documentation/devicetree/bindings/phy/meson-g12a-usb3-pcie-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,22 @@ | ||
* Amlogic G12A USB3 + PCIE Combo PHY binding | ||
|
||
Required properties: | ||
- compatible: Should be "amlogic,meson-g12a-usb3-pcie-phy" | ||
- #phys-cells: must be 1. The cell number is used to select the phy mode | ||
as defined in <dt-bindings/phy/phy.h> between PHY_TYPE_USB3 and PHY_TYPE_PCIE | ||
- reg: The base address and length of the registers | ||
- clocks: a phandle to the 100MHz reference clock of this PHY | ||
- clock-names: must be "ref_clk" | ||
- resets: phandle to the reset lines for the PHY control | ||
- reset-names: must be "phy" | ||
|
||
Example: | ||
usb3_pcie_phy: phy@46000 { | ||
compatible = "amlogic,g12a-usb3-pcie-phy"; | ||
reg = <0x0 0x46000 0x0 0x2000>; | ||
clocks = <&clkc CLKID_PCIE_PLL>; | ||
clock-names = "ref_clk"; | ||
resets = <&reset RESET_PCIE_PHY>; | ||
reset-names = "phy"; | ||
#phy-cells = <1>; | ||
}; |
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 @@ | ||
Hisilicon hi3660 USB PHY | ||
----------------------- | ||
|
||
Required properties: | ||
- compatible: should be "hisilicon,hi3660-usb-phy" | ||
- #phy-cells: must be 0 | ||
- hisilicon,pericrg-syscon: phandle of syscon used to control phy. | ||
- hisilicon,pctrl-syscon: phandle of syscon used to control phy. | ||
- hisilicon,eye-diagram-param: parameter set for phy | ||
Refer to phy/phy-bindings.txt for the generic PHY binding properties | ||
|
||
This is a subnode of usb3_otg_bc register node. | ||
|
||
Example: | ||
usb3_otg_bc: usb3_otg_bc@ff200000 { | ||
compatible = "syscon", "simple-mfd"; | ||
reg = <0x0 0xff200000 0x0 0x1000>; | ||
|
||
usb-phy { | ||
compatible = "hisilicon,hi3660-usb-phy"; | ||
#phy-cells = <0>; | ||
hisilicon,pericrg-syscon = <&crg_ctrl>; | ||
hisilicon,pctrl-syscon = <&pctrl>; | ||
hisilicon,eye-diagram-param = <0x22466e4>; | ||
}; | ||
}; |
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,38 @@ | ||
MediaTek Universal Flash Storage (UFS) M-PHY binding | ||
-------------------------------------------------------- | ||
|
||
UFS M-PHY nodes are defined to describe on-chip UFS M-PHY hardware macro. | ||
Each UFS M-PHY node should have its own node. | ||
|
||
To bind UFS M-PHY with UFS host controller, the controller node should | ||
contain a phandle reference to UFS M-PHY node. | ||
|
||
Required properties for UFS M-PHY nodes: | ||
- compatible : Compatible list, contains the following controller: | ||
"mediatek,mt8183-ufsphy" for ufs phy | ||
persent on MT81xx chipsets. | ||
- reg : Address and length of the UFS M-PHY register set. | ||
- #phy-cells : This property shall be set to 0. | ||
- clocks : List of phandle and clock specifier pairs. | ||
- clock-names : List of clock input name strings sorted in the same | ||
order as the clocks property. Following clocks are | ||
mandatory. | ||
"unipro": Unipro core control clock. | ||
"mp": M-PHY core control clock. | ||
|
||
Example: | ||
|
||
ufsphy: phy@11fa0000 { | ||
compatible = "mediatek,mt8183-ufsphy"; | ||
reg = <0 0x11fa0000 0 0xc000>; | ||
#phy-cells = <0>; | ||
|
||
clocks = <&infracfg_ao INFRACFG_AO_UNIPRO_SCK_CG>, | ||
<&infracfg_ao INFRACFG_AO_UFS_MP_SAP_BCLK_CG>; | ||
clock-names = "unipro", "mp"; | ||
}; | ||
|
||
ufshci@11270000 { | ||
... | ||
phys = <&ufsphy>; | ||
}; |
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
Oops, something went wrong.