-
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 'phy-for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/kishon/linux-phy into usb-next Kishon writes: phy: for 5.7 *) Rename and Re-design phy-cadence-dp driver to phy-cadence-torrent driver *) Add new PHY driver for Qualcomm 28nm Hi-Speed USB PHY *) Add new PHY driver for Qualcomm Super Speed PHY in QCS404 *) Add support for Qualcomm PCIe QMP/QHP PHY in SDM845 to phy-qcom-qmp driver *) Add support for Qualcomm UFS PHY in MSM8996 to phy-qcom-qmp driver *) Add support for an additional reference clock in Mediatek phy-mtk-tphy driver *) Add support for configuring tuning parameters in Mediatek phy-mtk-tphy driver *) Add support for GMII PHY in TI K3 AM654x/J721E SoCs to phy-gmii-sel driver *) Add support for USB2 PHY in Amlogic A1 SoC Family to phy-meson-g12a-usb2 driver *) Add support for USB3/USB2/PCIe PHY in Socionext Pro5 SoC to phy-uniphier-usb3ss/phy-uniphier-usb3hs/phy-uniphier-pcie driver respectively *) Add support for QUSB2 PHY in Qualcomm SC7180 in driver *) Convert dt-bindings of Cadence DP, Qualcomm QUSB2 to YAML format Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> * tag 'phy-for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy: (52 commits) phy: qcom-qusb2: Add new overriding tuning parameters in QUSB2 V2 PHY phy: qcom-qusb2: Add support for overriding tuning parameters in QUSB2 V2 PHY dt-bindings: phy: qcom-qusb2: Add support for overriding Phy tuning parameters phy: qcom-qusb2: Add generic QUSB2 V2 PHY support dt-bindings: phy: qcom,qusb2: Add compatibles for QUSB2 V2 phy and SC7180 dt-bindings: phy: qcom,qusb2: Convert QUSB2 phy bindings to yaml phy: rk-inno-usb2: Decrease verbosity of repeating log. phy: amlogic: Add Amlogic A1 USB2 PHY Driver dt-bindings: phy: Add Amlogic A1 USB2 PHY Bindings phy: ti: gmii-sel: add support for am654x/j721e soc dt-bindings: phy: ti: gmii-sel: add support for am654x/j721e soc phy: qualcomm: usb: Add SuperSpeed PHY driver dt-bindings: Add Qualcomm USB SuperSpeed PHY bindings phy: qualcomm: Add Synopsys 28nm Hi-Speed USB PHY driver dt-bindings: phy: Add Qualcomm Synopsys Hi-Speed USB PHY binding dt-bindings: phy: remove qcom-dwc3-usb-phy phy: phy-mtk-tphy: add a new reference clock phy: phy-mtk-tphy: remove unused u3phya_ref clock phy: phy-mtk-tphy: make the ref clock optional phy: phy-mtk-tphy: add a property for internal resistance ...
- Loading branch information
Showing
32 changed files
with
4,119 additions
and
836 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 was deleted.
Oops, something went wrong.
143 changes: 143 additions & 0 deletions
143
Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
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,143 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: "http://devicetree.org/schemas/phy/phy-cadence-torrent.yaml#" | ||
$schema: "http://devicetree.org/meta-schemas/core.yaml#" | ||
|
||
title: Cadence Torrent SD0801 PHY binding for DisplayPort | ||
|
||
description: | ||
This binding describes the Cadence SD0801 PHY (also known as Torrent PHY) | ||
hardware included with the Cadence MHDP DisplayPort controller. | ||
|
||
maintainers: | ||
- Swapnil Jakhade <sjakhade@cadence.com> | ||
- Yuti Amonkar <yamonkar@cadence.com> | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- cdns,torrent-phy | ||
- ti,j721e-serdes-10g | ||
|
||
'#address-cells': | ||
const: 1 | ||
|
||
'#size-cells': | ||
const: 0 | ||
|
||
clocks: | ||
maxItems: 1 | ||
description: | ||
PHY reference clock. Must contain an entry in clock-names. | ||
|
||
clock-names: | ||
const: refclk | ||
|
||
reg: | ||
minItems: 1 | ||
maxItems: 2 | ||
items: | ||
- description: Offset of the Torrent PHY configuration registers. | ||
- description: Offset of the DPTX PHY configuration registers. | ||
|
||
reg-names: | ||
minItems: 1 | ||
maxItems: 2 | ||
items: | ||
- const: torrent_phy | ||
- const: dptx_phy | ||
|
||
resets: | ||
maxItems: 1 | ||
description: | ||
Torrent PHY reset. | ||
See Documentation/devicetree/bindings/reset/reset.txt | ||
|
||
patternProperties: | ||
'^phy@[0-7]+$': | ||
type: object | ||
description: | ||
Each group of PHY lanes with a single master lane should be represented as a sub-node. | ||
properties: | ||
reg: | ||
description: | ||
The master lane number. This is the lowest numbered lane in the lane group. | ||
|
||
resets: | ||
minItems: 1 | ||
maxItems: 4 | ||
description: | ||
Contains list of resets, one per lane, to get all the link lanes out of reset. | ||
|
||
"#phy-cells": | ||
const: 0 | ||
|
||
cdns,phy-type: | ||
description: | ||
Specifies the type of PHY for which the group of PHY lanes is used. | ||
Refer include/dt-bindings/phy/phy.h. Constants from the header should be used. | ||
allOf: | ||
- $ref: /schemas/types.yaml#/definitions/uint32 | ||
- enum: [1, 2, 3, 4, 5, 6] | ||
|
||
cdns,num-lanes: | ||
description: | ||
Number of DisplayPort lanes. | ||
allOf: | ||
- $ref: /schemas/types.yaml#/definitions/uint32 | ||
- enum: [1, 2, 4] | ||
default: 4 | ||
|
||
cdns,max-bit-rate: | ||
description: | ||
Maximum DisplayPort link bit rate to use, in Mbps | ||
allOf: | ||
- $ref: /schemas/types.yaml#/definitions/uint32 | ||
- enum: [2160, 2430, 2700, 3240, 4320, 5400, 8100] | ||
default: 8100 | ||
|
||
required: | ||
- reg | ||
- resets | ||
- "#phy-cells" | ||
- cdns,phy-type | ||
|
||
additionalProperties: false | ||
|
||
required: | ||
- compatible | ||
- "#address-cells" | ||
- "#size-cells" | ||
- clocks | ||
- clock-names | ||
- reg | ||
- reg-names | ||
- resets | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/phy/phy.h> | ||
torrent_phy: torrent-phy@f0fb500000 { | ||
compatible = "cdns,torrent-phy"; | ||
reg = <0xf0 0xfb500000 0x0 0x00100000>, | ||
<0xf0 0xfb030a00 0x0 0x00000040>; | ||
reg-names = "torrent_phy", "dptx_phy"; | ||
resets = <&phyrst 0>; | ||
clocks = <&ref_clk>; | ||
clock-names = "refclk"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
torrent_phy_dp: phy@0 { | ||
reg = <0>; | ||
resets = <&phyrst 1>, <&phyrst 2>, | ||
<&phyrst 3>, <&phyrst 4>; | ||
#phy-cells = <0>; | ||
cdns,phy-type = <PHY_TYPE_DP>; | ||
cdns,num-lanes = <4>; | ||
cdns,max-bit-rate = <8100>; | ||
}; | ||
}; | ||
... |
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.