Skip to content

Commit e790411

Browse files
committed
Merge tag 'phy-for-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy
Pull phy updates from Vinod Koul: "This tme we have again a big pile of qcom-qmp-* changes, one new driver and bunch of new hardware support. New hardware support: - Allwinner H616 USB PHY and A100 DPHY support - TI J721s2, J784s4 and J721e support - Freescale i.MX8MP PCIe PHY support - New driver for Renesas Ethernet SERDES supporting R-Car S4-8 - Qualcomm SM8450 PCIe1 PHY support in EP mode - Qualcomm SC8280XP PCIe PHY support (including x4 mode) - Fixed Qualcomm SC8280XP USB4-USB3-DP PHY DT bindings Updates: - A big pile of updates on qcom-qmp-* drivers following the driver split and reorganization merged earlier - Phy order of API calls documentation update" * tag 'phy-for-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy: (174 commits) phy: ti: phy-j721e-wiz: add j721s2-wiz-10g module support dt-bindings: phy-j721e-wiz: add j721s2 compatible string phy: use devm_platform_get_and_ioremap_resource() phy: allwinner: phy-sun6i-mipi-dphy: Add the A100 DPHY variant phy: allwinner: phy-sun6i-mipi-dphy: Add a variant power-on hook phy: allwinner: phy-sun6i-mipi-dphy: Set the enable bit last phy: allwinner: phy-sun6i-mipi-dphy: Make RX support optional dt-bindings: sun6i-a31-mipi-dphy: Add the A100 DPHY variant dt-bindings: sun6i-a31-mipi-dphy: Add the interrupts property phy: qcom-qmp-pcie: drop redundant clock allocation phy: qcom-qmp-usb: drop redundant clock allocation phy: qcom-qmp: drop unused type header phy: qcom-qmp-usb: drop sc8280xp reference-clock source dt-bindings: phy: qcom,sc8280xp-qmp-usb3-uni: drop reference-clock source phy: qcom-qmp-combo: add support for updated sc8280xp binding phy: qcom-qmp-combo: rename DP_PHY register pointer phy: qcom-qmp-combo: rename common-register pointers phy: qcom-qmp-combo: clean up DP clock callbacks phy: qcom-qmp-combo: separate clock and provider registration phy: qcom-qmp-combo: add clock registration helper ...
2 parents b8fd76f + bea3ce7 commit e790411

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+3914
-2529
lines changed

Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,20 @@ properties:
1717
compatible:
1818
oneOf:
1919
- const: allwinner,sun6i-a31-mipi-dphy
20+
- const: allwinner,sun50i-a100-mipi-dphy
2021
- items:
2122
- const: allwinner,sun50i-a64-mipi-dphy
2223
- const: allwinner,sun6i-a31-mipi-dphy
24+
- items:
25+
- const: allwinner,sun20i-d1-mipi-dphy
26+
- const: allwinner,sun50i-a100-mipi-dphy
2327

2428
reg:
2529
maxItems: 1
2630

31+
interrupts:
32+
maxItems: 1
33+
2734
clocks:
2835
items:
2936
- description: Bus Clock
@@ -53,6 +60,7 @@ required:
5360
- "#phy-cells"
5461
- compatible
5562
- reg
63+
- interrupts
5664
- clocks
5765
- clock-names
5866
- resets
@@ -61,9 +69,12 @@ additionalProperties: false
6169

6270
examples:
6371
- |
72+
#include <dt-bindings/interrupt-controller/arm-gic.h>
73+
6474
dphy0: d-phy@1ca1000 {
6575
compatible = "allwinner,sun6i-a31-mipi-dphy";
6676
reg = <0x01ca1000 0x1000>;
77+
interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
6778
clocks = <&ccu 23>, <&ccu 97>;
6879
clock-names = "bus", "mod";
6980
resets = <&ccu 4>;

Documentation/devicetree/bindings/phy/allwinner,sun8i-h3-usb-phy.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,22 @@ properties:
3636
- const: pmu3
3737

3838
clocks:
39+
minItems: 4
3940
items:
4041
- description: USB OTG PHY bus clock
4142
- description: USB Host 0 PHY bus clock
4243
- description: USB Host 1 PHY bus clock
4344
- description: USB Host 2 PHY bus clock
45+
- description: PMU clock for host port 2
4446

4547
clock-names:
48+
minItems: 4
4649
items:
4750
- const: usb0_phy
4851
- const: usb1_phy
4952
- const: usb2_phy
5053
- const: usb3_phy
54+
- const: pmu2_clk
5155

5256
resets:
5357
items:
@@ -96,6 +100,28 @@ required:
96100
- resets
97101
- reset-names
98102

103+
allOf:
104+
- if:
105+
properties:
106+
compatible:
107+
contains:
108+
enum:
109+
- allwinner,sun50i-h616-usb-phy
110+
then:
111+
properties:
112+
clocks:
113+
minItems: 5
114+
115+
clock-names:
116+
minItems: 5
117+
else:
118+
properties:
119+
clocks:
120+
maxItems: 4
121+
122+
clock-names:
123+
maxItems: 4
124+
99125
additionalProperties: false
100126

101127
examples:

Documentation/devicetree/bindings/phy/fsl,imx8-pcie-phy.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ properties:
1616
compatible:
1717
enum:
1818
- fsl,imx8mm-pcie-phy
19+
- fsl,imx8mp-pcie-phy
1920

2021
reg:
2122
maxItems: 1
@@ -28,11 +29,16 @@ properties:
2829
- const: ref
2930

3031
resets:
31-
maxItems: 1
32+
minItems: 1
33+
maxItems: 2
3234

3335
reset-names:
34-
items:
35-
- const: pciephy
36+
oneOf:
37+
- items: # for iMX8MM
38+
- const: pciephy
39+
- items: # for IMX8MP
40+
- const: pciephy
41+
- const: perst
3642

3743
fsl,refclk-pad-mode:
3844
description: |
@@ -60,6 +66,10 @@ properties:
6066
description: A boolean property indicating the CLKREQ# signal is
6167
not supported in the board design (optional)
6268

69+
power-domains:
70+
description: PCIe PHY power domain (optional).
71+
maxItems: 1
72+
6373
required:
6474
- "#phy-cells"
6575
- compatible

Documentation/devicetree/bindings/phy/qcom,qmp-pcie-phy.yaml renamed to Documentation/devicetree/bindings/phy/qcom,ipq8074-qmp-pcie-phy.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
22
%YAML 1.2
33
---
4-
$id: http://devicetree.org/schemas/phy/qcom,qmp-pcie-phy.yaml#
4+
$id: http://devicetree.org/schemas/phy/qcom,ipq8074-qmp-pcie-phy.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

7-
title: Qualcomm QMP PHY controller (PCIe)
7+
title: Qualcomm QMP PHY controller (PCIe, IPQ8074)
88

99
maintainers:
1010
- Vinod Koul <[email protected]>
@@ -13,6 +13,9 @@ description:
1313
QMP PHY controller supports physical layer functionality for a number of
1414
controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB.
1515

16+
Note that these bindings are for SoCs up to SC8180X. For newer SoCs, see
17+
qcom,sc8280xp-qmp-pcie-phy.yaml.
18+
1619
properties:
1720
compatible:
1821
enum:

Documentation/devicetree/bindings/phy/qcom,qmp-ufs-phy.yaml renamed to Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-ufs-phy.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
22
%YAML 1.2
33
---
4-
$id: http://devicetree.org/schemas/phy/qcom,qmp-ufs-phy.yaml#
4+
$id: http://devicetree.org/schemas/phy/qcom,msm8996-qmp-ufs-phy.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

7-
title: Qualcomm QMP PHY controller (UFS)
7+
title: Qualcomm QMP PHY controller (UFS, MSM8996)
88

99
maintainers:
1010
- Vinod Koul <[email protected]>
@@ -13,13 +13,15 @@ description:
1313
QMP PHY controller supports physical layer functionality for a number of
1414
controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB.
1515

16+
Note that these bindings are for SoCs up to SC8180X. For newer SoCs, see
17+
qcom,sc8280xp-qmp-ufs-phy.yaml.
18+
1619
properties:
1720
compatible:
1821
enum:
1922
- qcom,msm8996-qmp-ufs-phy
2023
- qcom,msm8998-qmp-ufs-phy
2124
- qcom,sc8180x-qmp-ufs-phy
22-
- qcom,sc8280xp-qmp-ufs-phy
2325
- qcom,sdm845-qmp-ufs-phy
2426
- qcom,sm6115-qmp-ufs-phy
2527
- qcom,sm6350-qmp-ufs-phy
@@ -119,7 +121,6 @@ allOf:
119121
enum:
120122
- qcom,msm8998-qmp-ufs-phy
121123
- qcom,sc8180x-qmp-ufs-phy
122-
- qcom,sc8280xp-qmp-ufs-phy
123124
- qcom,sdm845-qmp-ufs-phy
124125
- qcom,sm6115-qmp-ufs-phy
125126
- qcom,sm6350-qmp-ufs-phy
@@ -156,7 +157,6 @@ allOf:
156157
contains:
157158
enum:
158159
- qcom,msm8998-qmp-ufs-phy
159-
- qcom,sc8280xp-qmp-ufs-phy
160160
- qcom,sdm845-qmp-ufs-phy
161161
- qcom,sm6350-qmp-ufs-phy
162162
- qcom,sm8150-qmp-ufs-phy
@@ -211,11 +211,12 @@ allOf:
211211

212212
examples:
213213
- |
214-
#include <dt-bindings/clock/qcom,gcc-sc8280xp.h>
214+
#include <dt-bindings/clock/qcom,gcc-sm8250.h>
215215
#include <dt-bindings/clock/qcom,rpmh.h>
216+
216217
phy-wrapper@1d87000 {
217-
compatible = "qcom,sc8280xp-qmp-ufs-phy";
218-
reg = <0x01d87000 0xe10>;
218+
compatible = "qcom,sm8250-qmp-ufs-phy";
219+
reg = <0x01d87000 0x1c0>;
219220
#address-cells = <1>;
220221
#size-cells = <1>;
221222
ranges = <0x0 0x01d87000 0x1000>;

Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml renamed to Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-usb3-phy.yaml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
22
%YAML 1.2
33
---
4-
$id: http://devicetree.org/schemas/phy/qcom,qmp-usb-phy.yaml#
4+
$id: http://devicetree.org/schemas/phy/qcom,msm8996-qmp-usb3-phy.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

7-
title: Qualcomm QMP PHY controller (USB)
7+
title: Qualcomm QMP PHY controller (USB, MSM8996)
88

99
maintainers:
1010
- Vinod Koul <[email protected]>
@@ -13,6 +13,9 @@ description:
1313
QMP PHY controller supports physical layer functionality for a number of
1414
controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB.
1515

16+
Note that these bindings are for SoCs up to SC8180X. For newer SoCs, see
17+
qcom,sc8280xp-qmp-usb3-uni-phy.yaml.
18+
1619
properties:
1720
compatible:
1821
enum:
@@ -23,7 +26,6 @@ properties:
2326
- qcom,qcm2290-qmp-usb3-phy
2427
- qcom,sc7180-qmp-usb3-phy
2528
- qcom,sc8180x-qmp-usb3-phy
26-
- qcom,sc8280xp-qmp-usb3-uni-phy
2729
- qcom,sdm845-qmp-usb3-phy
2830
- qcom,sdm845-qmp-usb3-uni-phy
2931
- qcom,sdx55-qmp-usb3-uni-phy
@@ -201,7 +203,6 @@ allOf:
201203
compatible:
202204
contains:
203205
enum:
204-
- qcom,sc8280xp-qmp-usb3-uni-phy
205206
- qcom,sm8150-qmp-usb3-phy
206207
- qcom,sm8150-qmp-usb3-uni-phy
207208
- qcom,sm8250-qmp-usb3-uni-phy
@@ -268,16 +269,6 @@ allOf:
268269
- const: phy_phy
269270
- const: phy
270271

271-
- if:
272-
properties:
273-
compatible:
274-
contains:
275-
enum:
276-
- qcom,sc8280xp-qmp-usb3-uni-phy
277-
then:
278-
required:
279-
- power-domains
280-
281272
- if:
282273
properties:
283274
compatible:
@@ -349,7 +340,6 @@ allOf:
349340
contains:
350341
enum:
351342
- qcom,msm8996-qmp-usb3-phy
352-
- qcom,sc8280xp-qmp-usb3-uni-phy
353343
- qcom,sm8250-qmp-usb3-uni-phy
354344
- qcom,sm8350-qmp-usb3-uni-phy
355345
then:

Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml renamed to Documentation/devicetree/bindings/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,17 @@
22

33
%YAML 1.2
44
---
5-
$id: "http://devicetree.org/schemas/phy/qcom,qmp-usb3-dp-phy.yaml#"
6-
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
5+
$id: http://devicetree.org/schemas/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml#
6+
$schema: http://devicetree.org/meta-schemas/core.yaml#
77

8-
title: Qualcomm QMP USB3 DP PHY controller
8+
title: Qualcomm QMP USB3 DP PHY controller (SC7180)
9+
10+
description:
11+
The QMP PHY controller supports physical layer functionality for a number of
12+
controllers on Qualcomm chipsets, such as, PCIe, UFS and USB.
13+
14+
Note that these bindings are for SoCs up to SC8180X. For newer SoCs, see
15+
qcom,sc8280xp-qmp-usb43dp-phy.yaml.
916

1017
maintainers:
1118
- Wesley Cheng <[email protected]>
@@ -16,7 +23,6 @@ properties:
1623
- qcom,sc7180-qmp-usb3-dp-phy
1724
- qcom,sc7280-qmp-usb3-dp-phy
1825
- qcom,sc8180x-qmp-usb3-dp-phy
19-
- qcom,sc8280xp-qmp-usb43dp-phy
2026
- qcom,sdm845-qmp-usb3-dp-phy
2127
- qcom,sm8250-qmp-usb3-dp-phy
2228
reg:
@@ -162,17 +168,6 @@ required:
162168

163169
additionalProperties: false
164170

165-
allOf:
166-
- if:
167-
properties:
168-
compatible:
169-
contains:
170-
enum:
171-
- qcom,sc8280xp-qmp-usb43dp-phy
172-
then:
173-
required:
174-
- power-domains
175-
176171
examples:
177172
- |
178173
#include <dt-bindings/clock/qcom,gcc-sdm845.h>

0 commit comments

Comments
 (0)