-
Notifications
You must be signed in to change notification settings - Fork 16
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-3.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/gregkh/usb Pull USB updates from Greg KH: "Here is the big USB driver update for 3.17-rc1. Loads of gadget driver changes in here, including some big file movements to make things easier to manage over time. There's also the usual xhci and uas driver updates, and a handful of other changes in here. The changelog has the full details. All of these have been in linux-next for a while" * tag 'usb-3.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (211 commits) USB: devio: fix issue with log flooding uas: Log a warning when we cannot use uas because the hcd lacks streams uas: Only complain about missing sg if all other checks succeed xhci: Add missing checks for xhci_alloc_command failure xhci: Rename Asrock P67 pci product-id to EJ168 xhci: Blacklist using streams on the Etron EJ168 controller uas: Limit qdepth to 32 when connected over usb-2 uwb/whci: use correct structure type name in sizeof usb-core bInterval quirk USB: serial: ftdi_sio: Add support for new Xsens devices USB: serial: ftdi_sio: Annotate the current Xsens PID assignments usb: chipidea: debug: fix sparse non static symbol warnings usb: ci_hdrc_imx doc: fsl,usbphy is required usb: ci_hdrc_imx: Return -EINVAL for missing USB PHY usb: core: allow zero packet flag for interrupt urbs usb: lvstest: Fix sparse warnings generated by kbuild test bot USB: core: hcd-pci: free IRQ before disabling PCI device when shutting down phy: miphy365x: Represent each PHY channel as a DT subnode phy: miphy365x: Provide support for the MiPHY356x Generic PHY phy: miphy365x: Add Device Tree bindings for the MiPHY365x ...
- Loading branch information
Showing
267 changed files
with
11,203 additions
and
5,803 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,47 @@ | ||
Link Layer Validation Device is a standard device for testing of Super | ||
Speed Link Layer tests. These nodes are available in sysfs only when lvs | ||
driver is bound with root hub device. | ||
|
||
What: /sys/bus/usb/devices/.../get_dev_desc | ||
Date: March 2014 | ||
Contact: Pratyush Anand <pratyush.anand@st.com> | ||
Description: | ||
Write to this node to issue "Get Device Descriptor" | ||
for Link Layer Validation device. It is needed for TD.7.06. | ||
|
||
What: /sys/bus/usb/devices/.../u1_timeout | ||
Date: March 2014 | ||
Contact: Pratyush Anand <pratyush.anand@st.com> | ||
Description: | ||
Set "U1 timeout" for the downstream port where Link Layer | ||
Validation device is connected. Timeout value must be between 0 | ||
and 127. It is needed for TD.7.18, TD.7.19, TD.7.20 and TD.7.21. | ||
|
||
What: /sys/bus/usb/devices/.../u2_timeout | ||
Date: March 2014 | ||
Contact: Pratyush Anand <pratyush.anand@st.com> | ||
Description: | ||
Set "U2 timeout" for the downstream port where Link Layer | ||
Validation device is connected. Timeout value must be between 0 | ||
and 127. It is needed for TD.7.18, TD.7.19, TD.7.20 and TD.7.21. | ||
|
||
What: /sys/bus/usb/devices/.../hot_reset | ||
Date: March 2014 | ||
Contact: Pratyush Anand <pratyush.anand@st.com> | ||
Description: | ||
Write to this node to issue "Reset" for Link Layer Validation | ||
device. It is needed for TD.7.29, TD.7.31, TD.7.34 and TD.7.35. | ||
|
||
What: /sys/bus/usb/devices/.../u3_entry | ||
Date: March 2014 | ||
Contact: Pratyush Anand <pratyush.anand@st.com> | ||
Description: | ||
Write to this node to issue "U3 entry" for Link Layer | ||
Validation device. It is needed for TD.7.35 and TD.7.36. | ||
|
||
What: /sys/bus/usb/devices/.../u3_exit | ||
Date: March 2014 | ||
Contact: Pratyush Anand <pratyush.anand@st.com> | ||
Description: | ||
Write to this node to issue "U3 exit" for Link Layer | ||
Validation device. It is needed for TD.7.36. |
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,34 @@ | ||
Berlin SATA PHY | ||
--------------- | ||
|
||
Required properties: | ||
- compatible: should be "marvell,berlin2q-sata-phy" | ||
- address-cells: should be 1 | ||
- size-cells: should be 0 | ||
- phy-cells: from the generic PHY bindings, must be 1 | ||
- reg: address and length of the register | ||
- clocks: reference to the clock entry | ||
|
||
Sub-nodes: | ||
Each PHY should be represented as a sub-node. | ||
|
||
Sub-nodes required properties: | ||
- reg: the PHY number | ||
|
||
Example: | ||
sata_phy: phy@f7e900a0 { | ||
compatible = "marvell,berlin2q-sata-phy"; | ||
reg = <0xf7e900a0 0x200>; | ||
clocks = <&chip CLKID_SATA>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
#phy-cells = <1>; | ||
|
||
sata-phy@0 { | ||
reg = <0>; | ||
}; | ||
|
||
sata-phy@1 { | ||
reg = <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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Hisilicon hix5hd2 SATA PHY | ||
----------------------- | ||
|
||
Required properties: | ||
- compatible: should be "hisilicon,hix5hd2-sata-phy" | ||
- reg: offset and length of the PHY registers | ||
- #phy-cells: must be 0 | ||
Refer to phy/phy-bindings.txt for the generic PHY binding properties | ||
|
||
Optional Properties: | ||
- hisilicon,peripheral-syscon: phandle of syscon used to control peripheral. | ||
- hisilicon,power-reg: offset and bit number within peripheral-syscon, | ||
register of controlling sata power supply. | ||
|
||
Example: | ||
sata_phy: phy@f9900000 { | ||
compatible = "hisilicon,hix5hd2-sata-phy"; | ||
reg = <0xf9900000 0x10000>; | ||
#phy-cells = <0>; | ||
hisilicon,peripheral-syscon = <&peripheral_ctrl>; | ||
hisilicon,power-reg = <0x8 10>; | ||
}; |
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,76 @@ | ||
STMicroelectronics STi MIPHY365x PHY binding | ||
============================================ | ||
|
||
This binding describes a miphy device that is used to control PHY hardware | ||
for SATA and PCIe. | ||
|
||
Required properties (controller (parent) node): | ||
- compatible : Should be "st,miphy365x-phy" | ||
- st,syscfg : Should be a phandle of the system configuration register group | ||
which contain the SATA, PCIe mode setting bits | ||
|
||
Required nodes : A sub-node is required for each channel the controller | ||
provides. Address range information including the usual | ||
'reg' and 'reg-names' properties are used inside these | ||
nodes to describe the controller's topology. These nodes | ||
are translated by the driver's .xlate() function. | ||
|
||
Required properties (port (child) node): | ||
- #phy-cells : Should be 1 (See second example) | ||
Cell after port phandle is device type from: | ||
- MIPHY_TYPE_SATA | ||
- MIPHY_TYPE_PCI | ||
- reg : Address and length of register sets for each device in | ||
"reg-names" | ||
- reg-names : The names of the register addresses corresponding to the | ||
registers filled in "reg": | ||
- sata: For SATA devices | ||
- pcie: For PCIe devices | ||
- syscfg: To specify the syscfg based config register | ||
|
||
Optional properties (port (child) node): | ||
- st,sata-gen : Generation of locally attached SATA IP. Expected values | ||
are {1,2,3). If not supplied generation 1 hardware will | ||
be expected | ||
- st,pcie-tx-pol-inv : Bool property to invert the polarity PCIe Tx (Txn/Txp) | ||
- st,sata-tx-pol-inv : Bool property to invert the polarity SATA Tx (Txn/Txp) | ||
|
||
Example: | ||
|
||
miphy365x_phy: miphy365x@fe382000 { | ||
compatible = "st,miphy365x-phy"; | ||
st,syscfg = <&syscfg_rear>; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
ranges; | ||
|
||
phy_port0: port@fe382000 { | ||
reg = <0xfe382000 0x100>, <0xfe394000 0x100>, <0x824 0x4>; | ||
reg-names = "sata", "pcie", "syscfg"; | ||
#phy-cells = <1>; | ||
st,sata-gen = <3>; | ||
}; | ||
|
||
phy_port1: port@fe38a000 { | ||
reg = <0xfe38a000 0x100>, <0xfe804000 0x100>, <0x828 0x4>;; | ||
reg-names = "sata", "pcie", "syscfg"; | ||
#phy-cells = <1>; | ||
st,pcie-tx-pol-inv; | ||
}; | ||
}; | ||
|
||
Specifying phy control of devices | ||
================================= | ||
|
||
Device nodes should specify the configuration required in their "phys" | ||
property, containing a phandle to the phy port node and a device type. | ||
|
||
Example: | ||
|
||
#include <dt-bindings/phy/phy-miphy365x.h> | ||
|
||
sata0: sata@fe380000 { | ||
... | ||
phys = <&phy_port0 MIPHY_TYPE_SATA>; | ||
... | ||
}; |
24 changes: 24 additions & 0 deletions
24
Documentation/devicetree/bindings/phy/qcom-apq8064-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Qualcomm APQ8064 SATA PHY Controller | ||
------------------------------------ | ||
|
||
SATA PHY nodes are defined to describe on-chip SATA Physical layer controllers. | ||
Each SATA PHY controller should have its own node. | ||
|
||
Required properties: | ||
- compatible: compatible list, contains "qcom,apq8064-sata-phy". | ||
- reg: offset and length of the SATA PHY register set; | ||
- #phy-cells: must be zero | ||
- clocks: a list of phandles and clock-specifier pairs, one for each entry in | ||
clock-names. | ||
- clock-names: must be "cfg" for phy config clock. | ||
|
||
Example: | ||
sata_phy: sata-phy@1b400000 { | ||
compatible = "qcom,apq8064-sata-phy"; | ||
reg = <0x1b400000 0x200>; | ||
|
||
clocks = <&gcc SATA_PHY_CFG_CLK>; | ||
clock-names = "cfg"; | ||
|
||
#phy-cells = <0>; | ||
}; |
23 changes: 23 additions & 0 deletions
23
Documentation/devicetree/bindings/phy/qcom-ipq806x-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Qualcomm IPQ806x SATA PHY Controller | ||
------------------------------------ | ||
|
||
SATA PHY nodes are defined to describe on-chip SATA Physical layer controllers. | ||
Each SATA PHY controller should have its own node. | ||
|
||
Required properties: | ||
- compatible: compatible list, contains "qcom,ipq806x-sata-phy" | ||
- reg: offset and length of the SATA PHY register set; | ||
- #phy-cells: must be zero | ||
- clocks: must be exactly one entry | ||
- clock-names: must be "cfg" | ||
|
||
Example: | ||
sata_phy: sata-phy@1b400000 { | ||
compatible = "qcom,ipq806x-sata-phy"; | ||
reg = <0x1b400000 0x200>; | ||
|
||
clocks = <&gcc SATA_PHY_CFG_CLK>; | ||
clock-names = "cfg"; | ||
|
||
#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
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.