forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 4
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.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/gregkh/usb Pull USB updates from Greg KH: "Here's the big pull request for USB and PHY drivers for 4.7-rc1 Full details in the shortlog, but it's the normal major gadget driver updates, phy updates, new usbip code, as well as a bit of lots of other stuff. All have been in linux-next with no reported issues" * tag 'usb-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (164 commits) USB: serial: ti_usb_3410_5052: add MOXA UPORT 11x0 support USB: serial: fix minor-number allocation USB: serial: quatech2: fix use-after-free in probe error path USB: serial: mxuport: fix use-after-free in probe error path USB: serial: keyspan: fix debug and error messages USB: serial: keyspan: fix URB unlink USB: serial: keyspan: fix use-after-free in probe error path USB: serial: io_edgeport: fix memory leaks in probe error path USB: serial: io_edgeport: fix memory leaks in attach error path usb: Remove unnecessary space before operator ','. usb: Remove unnecessary space before open square bracket. USB: FHCI: avoid redundant condition usb: host: xhci-rcar: Avoid long wait in xhci_reset() usb/host/fotg210: remove dead code in create_sysfs_files usb: wusbcore: Do not initialise statics to 0. usb: wusbcore: Remove space before ',' and '(' . USB: serial: cp210x: clean up CRTSCTS flag code USB: serial: cp210x: get rid of magic numbers in CRTSCTS flag code USB: serial: cp210x: fix hardware flow-control disable USB: serial: option: add even more ZTE device ids ...
- Loading branch information
Showing
182 changed files
with
7,630 additions
and
2,525 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,35 @@ | ||
What: /sys/devices/platform/usbip-vudc.%d/dev_desc | ||
Date: April 2016 | ||
KernelVersion: 4.6 | ||
Contact: Krzysztof Opasiak <[email protected]> | ||
Description: | ||
This file allows to read device descriptor of | ||
gadget driver which is currently bound to this | ||
controller. It is possible to read this file | ||
only if gadget driver is bound, otherwise error | ||
is returned. | ||
|
||
What: /sys/devices/platform/usbip-vudc.%d/usbip_status | ||
Date: April 2016 | ||
KernelVersion: 4.6 | ||
Contact: Krzysztof Opasiak <[email protected]> | ||
Description: | ||
Current status of the device. | ||
Allowed values: | ||
1 - Device is available and can be exported | ||
2 - Device is currently exported | ||
3 - Fatal error occurred during communication | ||
with peer | ||
|
||
What: /sys/devices/platform/usbip-vudc.%d/usbip_sockfd | ||
Date: April 2016 | ||
KernelVersion: 4.6 | ||
Contact: Krzysztof Opasiak <[email protected]> | ||
Description: | ||
This file allows to export usb device to | ||
connection peer. It is done by writing to this | ||
file socket fd (as a string for example "8") | ||
associated with a connection to remote peer who | ||
would like to use this device. It is possible to | ||
close the connection by writing -1 instead of | ||
socked fd. |
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,21 @@ | ||
Driver for Broadcom Northstar USB 2.0 PHY | ||
|
||
Required properties: | ||
- compatible: brcm,ns-usb2-phy | ||
- reg: iomem address range of DMU (Device Management Unit) | ||
- reg-names: "dmu", the only needed & supported reg right now | ||
- clocks: USB PHY reference clock | ||
- clock-names: "phy-ref-clk", the only needed & supported clock right now | ||
|
||
To initialize USB 2.0 PHY driver needs to setup PLL correctly. To do this it | ||
requires passing phandle to the USB PHY reference clock. | ||
|
||
Example: | ||
usb2-phy { | ||
compatible = "brcm,ns-usb2-phy"; | ||
reg = <0x1800c000 0x1000>; | ||
reg-names = "dmu"; | ||
#phy-cells = <0>; | ||
clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>; | ||
clock-names = "phy-ref-clk"; | ||
}; |
15 changes: 9 additions & 6 deletions
15
...ee/bindings/phy/brcm,brcmstb-sata-phy.txt → ...devicetree/bindings/phy/brcm-sata-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
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
Oops, something went wrong.