-
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-for-v3.12' of git://git.kernel.org/pub/scm/linux/kerne…
…l/git/balbi/usb into usb-next Felipe writes: usb: patches for v3.12 merge window All patches here have been pending on linux-usb and sitting in linux-next for a while now. The biggest things in this tag are: DWC3 learned proper usage of threaded IRQ handlers and now we spend very little time in hardirq context. MUSB now has proper support for BeagleBone and Beaglebone Black. Tegra's USB support also got quite a bit of love and is learning to use PHY layer and generic DT attributes. Other than that, the usual pack of cleanups and non-critical fixes follow. Signed-of-by: Felipe Balbi <balbi@ti.com> Conflicts: drivers/usb/gadget/udc-core.c drivers/usb/host/ehci-tegra.c drivers/usb/musb/omap2430.c drivers/usb/musb/tusb6010.c
- Loading branch information
Showing
123 changed files
with
3,607 additions
and
3,509 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
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,24 @@ | ||
Generic USB Properties | ||
|
||
Optional properties: | ||
- maximum-speed: tells USB controllers we want to work up to a certain | ||
speed. Valid arguments are "super-speed", "high-speed", | ||
"full-speed" and "low-speed". In case this isn't passed | ||
via DT, USB controllers should default to their maximum | ||
HW capability. | ||
- dr_mode: tells Dual-Role USB controllers that we want to work on a | ||
particular mode. Valid arguments are "host", | ||
"peripheral" and "otg". In case this attribute isn't | ||
passed via DT, USB DRD controllers should default to | ||
OTG. | ||
|
||
This is an attribute to a USB controller such as: | ||
|
||
dwc3@4a030000 { | ||
compatible = "synopsys,dwc3"; | ||
reg = <0x4a030000 0xcfff>; | ||
interrupts = <0 92 4> | ||
usb-phy = <&usb2_phy>, <&usb3,phy>; | ||
maximum-speed = "super-speed"; | ||
dr_mode = "otg"; | ||
}; |
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,40 @@ | ||
Samsung High Speed USB OTG controller | ||
----------------------------- | ||
|
||
The Samsung HSOTG IP can be found on Samsung SoCs, from S3C6400 onwards. | ||
It gives functionality of OTG-compliant USB 2.0 host and device with | ||
support for USB 2.0 high-speed (480Mbps) and full-speed (12 Mbps) | ||
operation. | ||
|
||
Currently only device mode is supported. | ||
|
||
Binding details | ||
----- | ||
|
||
Required properties: | ||
- compatible: "samsung,s3c6400-hsotg" should be used for all currently | ||
supported SoC, | ||
- interrupt-parent: phandle for the interrupt controller to which the | ||
interrupt signal of the HSOTG block is routed, | ||
- interrupts: specifier of interrupt signal of interrupt controller, | ||
according to bindings of interrupt controller, | ||
- clocks: contains an array of clock specifiers: | ||
- first entry: OTG clock | ||
- clock-names: contains array of clock names: | ||
- first entry: must be "otg" | ||
- vusb_d-supply: phandle to voltage regulator of digital section, | ||
- vusb_a-supply: phandle to voltage regulator of analog section. | ||
|
||
Example | ||
----- | ||
|
||
hsotg@12480000 { | ||
compatible = "samsung,s3c6400-hsotg"; | ||
reg = <0x12480000 0x20000>; | ||
interrupts = <0 71 0>; | ||
clocks = <&clock 305>; | ||
clock-names = "otg"; | ||
vusb_d-supply = <&vusb_reg>; | ||
vusb_a-supply = <&vusbdac_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
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.