forked from torvalds/linux
-
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.9' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/phy/linux-phy into char-misc-next Vinod writes: phy for 5.9 - New PHY Drivers: - Samsung UFS - Qcom USB DWC for ipq806x - Xilinx ZynqMP Gigabit Transceiver - Qcom USB QMP for IPQ8074 - BCM63xx USBH - Removed: - Qcom ufs qmp phy driver - Updates: - Support for Qcom SM8250 QMP V4 USB3 UNIPHY - qcom-snps runtime pm support - Cleanup of W=1 warns in the subsystem * tag 'phy-for-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy: (46 commits) phy: qualcomm: fix setting of tx_deamp_3_5db when device property read fails phy: bcm63xx-usbh: Add BCM63xx USBH driver dt-bindings: phy: add bcm63xx-usbh bindings phy: armada-38x: fix NETA lockup when repeatedly switching speeds dt: update Marvell Armada 38x COMPHY binding phy: samsung-ufs: Fix IS_ERR argument dt-bindings: phy: renesas,usb3-phy: Add r8a774e1 support dt-bindings: phy: renesas,usb2-phy: Add r8a774e1 support phy: renesas: rcar-gen3-usb2: exit if request_irq() failed phy: renesas: rcar-gen3-usb2: move irq registration to init devicetree: bindings: phy: Document ipq806x dwc3 qcom phy phy: qualcomm: add qcom ipq806x dwc usb phy driver phy: samsung-ufs: add UFS PHY driver for samsung SoC dt-bindings: phy: Document Samsung UFS PHY bindings phy: sun4i-usb: explicitly include gpio/consumer.h phy: stm32: use NULL instead of zero phy: exynos5-usbdrd: use correct format for structure description phy: rockchip-typec: use correct format for structure description phy: xgene: remove unsigned integer comparison with less than zero phy: mapphone-mdm6600: Add missing description for some structure fields ...
- Loading branch information
Showing
58 changed files
with
3,789 additions
and
1,694 deletions.
There are no files selected for viewing
79 changes: 79 additions & 0 deletions
79
Documentation/devicetree/bindings/phy/brcm,bcm63xx-usbh-phy.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,79 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: "http://devicetree.org/schemas/phy/brcm,bcm63xx-usbh-phy.yaml#" | ||
$schema: "http://devicetree.org/meta-schemas/core.yaml#" | ||
|
||
title: BCM63xx USBH PHY | ||
|
||
maintainers: | ||
- Álvaro Fernández Rojas <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- brcm,bcm6318-usbh-phy | ||
- brcm,bcm6328-usbh-phy | ||
- brcm,bcm6358-usbh-phy | ||
- brcm,bcm6362-usbh-phy | ||
- brcm,bcm6368-usbh-phy | ||
- brcm,bcm63268-usbh-phy | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
minItems: 1 | ||
maxItems: 2 | ||
|
||
clock-names: | ||
minItems: 1 | ||
maxItems: 2 | ||
items: | ||
- const: usbh | ||
- const: usb_ref | ||
|
||
resets: | ||
maxItems: 1 | ||
|
||
"#phy-cells": | ||
const: 1 | ||
|
||
additionalProperties: false | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
- clock-names | ||
- resets | ||
- "#phy-cells" | ||
|
||
if: | ||
properties: | ||
compatible: | ||
enum: | ||
- brcm,bcm6318-usbh-phy | ||
- brcm,bcm6328-usbh-phy | ||
- brcm,bcm6362-usbh-phy | ||
- brcm,bcm63268-usbh-phy | ||
then: | ||
properties: | ||
power-domains: | ||
maxItems: 1 | ||
required: | ||
- power-domains | ||
else: | ||
properties: | ||
power-domains: false | ||
|
||
examples: | ||
- | | ||
usbh: usb-phy@10001700 { | ||
compatible = "brcm,bcm6368-usbh-phy"; | ||
reg = <0x10001700 0x38>; | ||
clocks = <&periph_clk 15>; | ||
clock-names = "usbh"; | ||
resets = <&periph_rst 12>; | ||
#phy-cells = <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
55 changes: 55 additions & 0 deletions
55
Documentation/devicetree/bindings/phy/qcom,ipq806x-usb-phy-hs.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,55 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/phy/qcom,ipq806x-usb-phy-hs.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm ipq806x usb DWC3 HS PHY CONTROLLER | ||
|
||
maintainers: | ||
- Ansuel Smith <[email protected]> | ||
|
||
description: | ||
DWC3 PHY nodes are defined to describe on-chip Synopsis Physical layer | ||
controllers used in ipq806x. Each DWC3 PHY controller should have its | ||
own node. | ||
|
||
properties: | ||
compatible: | ||
const: qcom,ipq806x-usb-phy-hs | ||
|
||
"#phy-cells": | ||
const: 0 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
minItems: 1 | ||
maxItems: 2 | ||
|
||
clock-names: | ||
minItems: 1 | ||
maxItems: 2 | ||
items: | ||
- const: ref | ||
- const: xo | ||
|
||
required: | ||
- compatible | ||
- "#phy-cells" | ||
- reg | ||
- clocks | ||
- clock-names | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/qcom,gcc-ipq806x.h> | ||
hs_phy_0: phy@110f8800 { | ||
compatible = "qcom,ipq806x-usb-phy-hs"; | ||
reg = <0x110f8800 0x30>; | ||
clocks = <&gcc USB30_0_UTMI_CLK>; | ||
clock-names = "ref"; | ||
#phy-cells = <0>; | ||
}; |
73 changes: 73 additions & 0 deletions
73
Documentation/devicetree/bindings/phy/qcom,ipq806x-usb-phy-ss.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,73 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/phy/qcom,ipq806x-usb-phy-ss.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm ipq806x usb DWC3 SS PHY CONTROLLER | ||
|
||
maintainers: | ||
- Ansuel Smith <[email protected]> | ||
|
||
description: | ||
DWC3 PHY nodes are defined to describe on-chip Synopsis Physical layer | ||
controllers used in ipq806x. Each DWC3 PHY controller should have its | ||
own node. | ||
|
||
properties: | ||
compatible: | ||
const: qcom,ipq806x-usb-phy-ss | ||
|
||
"#phy-cells": | ||
const: 0 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
minItems: 1 | ||
maxItems: 2 | ||
|
||
clock-names: | ||
minItems: 1 | ||
maxItems: 2 | ||
items: | ||
- const: ref | ||
- const: xo | ||
|
||
qcom,rx-eq: | ||
$ref: /schemas/types.yaml#/definitions/uint32 | ||
description: Override value for rx_eq. | ||
default: 4 | ||
maximum: 7 | ||
|
||
qcom,tx-deamp-3_5db: | ||
$ref: /schemas/types.yaml#/definitions/uint32 | ||
description: Override value for transmit preemphasis. | ||
default: 23 | ||
maximum: 63 | ||
|
||
qcom,mpll: | ||
$ref: /schemas/types.yaml#/definitions/uint32 | ||
description: Override value for mpll. | ||
default: 0 | ||
maximum: 7 | ||
|
||
required: | ||
- compatible | ||
- "#phy-cells" | ||
- reg | ||
- clocks | ||
- clock-names | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/qcom,gcc-ipq806x.h> | ||
ss_phy_0: phy@110f8830 { | ||
compatible = "qcom,ipq806x-usb-phy-ss"; | ||
reg = <0x110f8830 0x30>; | ||
clocks = <&gcc USB30_0_MASTER_CLK>; | ||
clock-names = "ref"; | ||
#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
75 changes: 75 additions & 0 deletions
75
Documentation/devicetree/bindings/phy/samsung,ufs-phy.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,75 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/phy/samsung,ufs-phy.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Samsung SoC series UFS PHY Device Tree Bindings | ||
|
||
maintainers: | ||
- Alim Akhtar <[email protected]> | ||
|
||
properties: | ||
"#phy-cells": | ||
const: 0 | ||
|
||
compatible: | ||
enum: | ||
- samsung,exynos7-ufs-phy | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
reg-names: | ||
items: | ||
- const: phy-pma | ||
|
||
clocks: | ||
items: | ||
- description: PLL reference clock | ||
- description: symbol clock for input symbol ( rx0-ch0 symbol clock) | ||
- description: symbol clock for input symbol ( rx1-ch1 symbol clock) | ||
- description: symbol clock for output symbol ( tx0 symbol clock) | ||
|
||
clock-names: | ||
items: | ||
- const: ref_clk | ||
- const: rx1_symbol_clk | ||
- const: rx0_symbol_clk | ||
- const: tx0_symbol_clk | ||
|
||
samsung,pmu-syscon: | ||
$ref: '/schemas/types.yaml#/definitions/phandle' | ||
description: phandle for PMU system controller interface, used to | ||
control pmu registers bits for ufs m-phy | ||
|
||
required: | ||
- "#phy-cells" | ||
- compatible | ||
- reg | ||
- reg-names | ||
- clocks | ||
- clock-names | ||
- samsung,pmu-syscon | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/exynos7-clk.h> | ||
ufs_phy: ufs-phy@15571800 { | ||
compatible = "samsung,exynos7-ufs-phy"; | ||
reg = <0x15571800 0x240>; | ||
reg-names = "phy-pma"; | ||
samsung,pmu-syscon = <&pmu_system_controller>; | ||
#phy-cells = <0>; | ||
clocks = <&clock_fsys1 SCLK_COMBO_PHY_EMBEDDED_26M>, | ||
<&clock_fsys1 PHYCLK_UFS20_RX1_SYMBOL_USER>, | ||
<&clock_fsys1 PHYCLK_UFS20_RX0_SYMBOL_USER>, | ||
<&clock_fsys1 PHYCLK_UFS20_TX0_SYMBOL_USER>; | ||
clock-names = "ref_clk", "rx1_symbol_clk", | ||
"rx0_symbol_clk", "tx0_symbol_clk"; | ||
}; | ||
... |
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.