Skip to content

Commit 2a29867

Browse files
committed
Merge tag 'usb-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
Pull USB updates from Greg KH: "Here's the big USB patchset for 4.2-rc1. As is normal these days, the majority of changes are in the gadget drivers, with a bunch of other small driver changes. All of these have been in linux-next with no reported issues" * tag 'usb-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (175 commits) usb: dwc3: Use ASCII space in Kconfig usb: chipidea: add work-around for Marvell HSIC PHY startup usb: chipidea: allow multiple instances to use default ci_default_pdata dt-bindings: Consolidate ChipIdea USB ci13xxx bindings phy: add Marvell HSIC 28nm PHY phy: Add Marvell USB 2.0 OTG 28nm PHY dt-bindings: Add Marvell PXA1928 USB and HSIC PHY bindings USB: ssb: use devm_kzalloc USB: ssb: fix error handling in ssb_hcd_create_pdev() usb: isp1760: check for null return from kzalloc cdc-acm: Add support of ATOL FPrint fiscal printers usb: chipidea: usbmisc_imx: Remove unneeded semicolon USB: usbtmc: add device quirk for Rigol DS6104 USB: serial: mos7840: Use setup_timer phy: twl4030-usb: add ABI documentation phy: twl4030-usb: remove incorrect pm_runtime_get_sync() in probe function. phy: twl4030-usb: remove pointless 'suspended' test in 'suspend' callback. phy: twl4030-usb: make runtime pm more reliable. drivers:usb:fsl: Fix compilation error for fsl ehci drv usb: renesas_usbhs: Don't disable the pipe if Control write status stage ...
2 parents 8c7febe + 5064105 commit 2a29867

180 files changed

Lines changed: 5630 additions & 2330 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
What: /sys/bus/platform/devices/*twl4030-usb/vbus
2+
Description:
3+
Read-only status reporting if VBUS (approx 5V)
4+
is being supplied by the USB bus.
5+
6+
Possible values: "on", "off".
7+
8+
Changes are notified via select/poll.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
* Broadcom SATA3 PHY for STB
2+
3+
Required properties:
4+
- compatible: should be one or more of
5+
"brcm,bcm7445-sata-phy"
6+
"brcm,phy-sata3"
7+
- address-cells: should be 1
8+
- size-cells: should be 0
9+
- reg: register range for the PHY PCB interface
10+
- reg-names: should be "phy"
11+
12+
Sub-nodes:
13+
Each port's PHY should be represented as a sub-node.
14+
15+
Sub-nodes required properties:
16+
- reg: the PHY number
17+
- phy-cells: generic PHY binding; must be 0
18+
Optional:
19+
- brcm,enable-ssc: use spread spectrum clocking (SSC) on this port
20+
21+
22+
Example:
23+
24+
sata-phy@f0458100 {
25+
compatible = "brcm,bcm7445-sata-phy", "brcm,phy-sata3";
26+
reg = <0xf0458100 0x1e00>, <0xf045804c 0x10>;
27+
reg-names = "phy";
28+
#address-cells = <1>;
29+
#size-cells = <0>;
30+
31+
sata-phy@0 {
32+
reg = <0>;
33+
#phy-cells = <0>;
34+
};
35+
36+
sata-phy@1 {
37+
reg = <1>;
38+
#phy-cells = <0>;
39+
};
40+
};
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
* Marvell PXA1928 USB and HSIC PHYs
2+
3+
Required properties:
4+
- compatible: "marvell,pxa1928-usb-phy" or "marvell,pxa1928-hsic-phy"
5+
- reg: base address and length of the registers
6+
- clocks - A single clock. From common clock binding.
7+
- #phys-cells: should be 0. From commmon phy binding.
8+
- resets: reference to the reset controller
9+
10+
Example:
11+
12+
usbphy: phy@7000 {
13+
compatible = "marvell,pxa1928-usb-phy";
14+
reg = <0x7000 0xe0>;
15+
clocks = <&apmu_clocks PXA1928_CLK_USB>;
16+
#phy-cells = <0>;
17+
};
18+

‎Documentation/devicetree/bindings/phy/rcar-gen2-phy.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This file provides information on what the device node for the R-Car generation
66
Required properties:
77
- compatible: "renesas,usb-phy-r8a7790" if the device is a part of R8A7790 SoC.
88
"renesas,usb-phy-r8a7791" if the device is a part of R8A7791 SoC.
9+
"renesas,usb-phy-r8a7794" if the device is a part of R8A7794 SoC.
910
- reg: offset and length of the register block.
1011
- #address-cells: number of address cells for the USB channel subnodes, must
1112
be <1>.

‎Documentation/devicetree/bindings/power/twl-charger.txt‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
TWL BCI (Battery Charger Interface)
22

3+
The battery charger needs to interact with the USB phy in order
4+
to know when charging is permissible, and when there is a connection
5+
or disconnection.
6+
7+
The choice of phy cannot be configured at a hardware level, so there
8+
is no value in explicit configuration in device-tree. Rather
9+
if there is a sibling of the BCI node which is compatible with
10+
"ti,twl4030-usb", then that is used to determine when and how
11+
use USB power for charging.
12+
313
Required properties:
414
- compatible:
515
- "ti,twl4030-bci"

‎Documentation/devicetree/bindings/usb/ci-hdrc-imx.txt‎

Lines changed: 0 additions & 35 deletions
This file was deleted.

‎Documentation/devicetree/bindings/usb/ci-hdrc-qcom.txt‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

‎Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt‎

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,35 @@
11
* USB2 ChipIdea USB controller for ci13xxx
22

33
Required properties:
4-
- compatible: should be "chipidea,usb2"
4+
- compatible: should be one of:
5+
"fsl,imx27-usb"
6+
"lsi,zevio-usb"
7+
"qcom,ci-hdrc"
8+
"chipidea,usb2"
59
- reg: base address and length of the registers
610
- interrupts: interrupt for the USB controller
711

12+
Recommended properies:
13+
- phy_type: the type of the phy connected to the core. Should be one
14+
of "utmi", "utmi_wide", "ulpi", "serial" or "hsic". Without this
15+
property the PORTSC register won't be touched.
16+
- dr_mode: One of "host", "peripheral" or "otg". Defaults to "otg"
17+
18+
Deprecated properties:
19+
- usb-phy: phandle for the PHY device. Use "phys" instead.
20+
- fsl,usbphy: phandle of usb phy that connects to the port. Use "phys" instead.
21+
822
Optional properties:
923
- clocks: reference to the USB clock
1024
- phys: reference to the USB PHY
1125
- phy-names: should be "usb-phy"
1226
- vbus-supply: reference to the VBUS regulator
27+
- maximum-speed: limit the maximum connection speed to "full-speed".
28+
- tpl-support: TPL (Targeted Peripheral List) feature for targeted hosts
29+
- fsl,usbmisc: (FSL only) phandler of non-core register device, with one
30+
argument that indicate usb controller index
31+
- disable-over-current: (FSL only) disable over current detect
32+
- external-vbus-divider: (FSL only) enables off-chip resistor divider for Vbus
1333

1434
Example:
1535

‎Documentation/devicetree/bindings/usb/ci-hdrc-zevio.txt‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

‎Documentation/devicetree/bindings/usb/dwc3-st.txt‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ st_dwc3: dwc3@8f94000 {
4949
st,syscfg = <&syscfg_core>;
5050
resets = <&powerdown STIH407_USB3_POWERDOWN>,
5151
<&softreset STIH407_MIPHY2_SOFTRESET>;
52-
reset-names = "powerdown",
53-
"softreset";
52+
reset-names = "powerdown", "softreset";
5453
#address-cells = <1>;
5554
#size-cells = <1>;
5655
pinctrl-names = "default";
@@ -62,7 +61,7 @@ st_dwc3: dwc3@8f94000 {
6261
reg = <0x09900000 0x100000>;
6362
interrupts = <GIC_SPI 155 IRQ_TYPE_NONE>;
6463
dr_mode = "host";
65-
phys-names = "usb2-phy", "usb3-phy";
66-
phys = <&usb2_picophy2>, <&phy_port2 MIPHY_TYPE_USB>;
64+
phy-names = "usb2-phy", "usb3-phy";
65+
phys = <&usb2_picophy2>, <&phy_port2 PHY_TYPE_USB3>;
6766
};
6867
};

0 commit comments

Comments
 (0)