projects/linux·commit d12ed2b7

Merge tag 'phy-for-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy

d12ed2b7 · Linus Torvalds <[email protected]> · 2025-06-05 08:20:21 -07:00

Pull phy updates from Vinod Koul:
 "As usual featuring couple of new driver and bunch of new device
  support and some driver changes to Freescale, rockchip driver along
  with couple of yaml binding conversions.

  New Support:
   - Qualcomm IPQ5424 qusb2 support, IPQ5018 uniphy-pcie driver
   - Rockchip usb2 support for RK3562, RK3036 usb2 phy support
   - Samsung exynos2200 eusb2 phy support and driver refactoring for
     this support, exynos7870 USBDRD support
   - Mediatek MT7988 xs-phy support
   - Broadcom BCM74110 usb phy support
   - Renesas RZ/V2H(P) usb2 phy support

  Updates:
   - Freescale phy rate claculation updates, i.MX95 tuning support
   - Better error handling for amlogic pcie phy
   - Rockchip color depth configuration and management support
   - Yaml binding conversion for RK3399 Type-C and PCIe Phy"

* tag 'phy-for-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy: (77 commits)
  phy: tegra: p2u: Broaden architecture dependency
  phy: rockchip: inno-usb2: Add usb2 phy support for rk3562
  dt-bindings: phy: rockchip,inno-usb2phy: add rk3562
  phy: rockchip: inno-usb2: add phy definition for rk3036
  dt-bindings: phy: rockchip,inno-usb2phy: add rk3036 compatible
  phy: freescale: fsl-samsung-hdmi: Improve LUT search for best clock
  phy: freescale: fsl-samsung-hdmi: Refactor finding PHY settings
  phy: freescale: fsl-samsung-hdmi: Rename phy_clk_round_rate
  phy: renesas: phy-rcar-gen3-usb2: Add USB2.0 PHY support for RZ/V2H(P)
  phy: renesas: phy-rcar-gen3-usb2: Sort compatible entries by SoC part number
  dt-bindings: phy: renesas,usb2-phy: Document RZ/V2H(P) SoC
  dt-bindings: phy: renesas,usb2-phy: Add clock constraint for RZ/G2L family
  phy: exynos5-usbdrd: support Exynos USBDRD 3.2 4nm controller
  phy: phy-snps-eusb2: add support for exynos2200
  phy: phy-snps-eusb2: refactor reference clock init
  phy: phy-snps-eusb2: make reset control optional
  phy: phy-snps-eusb2: make repeater optional
  phy: phy-snps-eusb2: split phy init code
  phy: phy-snps-eusb2: refactor constructs names
  phy: move phy-qcom-snps-eusb2 out of its vendor sub-directory
  ...
Commit
d12ed2b7e1fe5c9e4a372a95fb7635a7f81eff6a
Parents
a479ebb2 · 0c222873

Merge commit. Changes below are compared with the first parent: a479ebb2.

Changes

54 files changed · +2386 −1033

FileStatusAddDelContent
Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.yamlmodified+4−1View file
Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yamlmodified+32−5View file
Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yamlmodified+1−0View file
Documentation/devicetree/bindings/phy/mediatek,tphy.yamlmodified+1−0View file
Documentation/devicetree/bindings/phy/mediatek,xsphy.yamlmodified+16−0View file
Documentation/devicetree/bindings/phy/phy-cadence-torrent.yamlmodified+1−2View file
Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yamlmodified+3−0View file
Documentation/devicetree/bindings/phy/phy-rockchip-typec.txtdeleted+0−84View before deletion
Documentation/devicetree/bindings/phy/phy-rockchip-usbdp.yamlmodified+3−0View file
Documentation/devicetree/bindings/phy/qcom,ipq5332-uniphy-pcie-phy.yamlmodified+41−8View file
Documentation/devicetree/bindings/phy/renesas,usb2-phy.yamlmodified+7−1View file
Documentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yamlmodified+4−0View file
Documentation/devicetree/bindings/phy/rockchip,pcie3-phy.yamlmodified+3−0View file
Documentation/devicetree/bindings/phy/rockchip,rk3399-pcie-phy.yamladded+45−0View file
Documentation/devicetree/bindings/phy/rockchip,rk3399-typec-phy.yamladded+116−0View file
Documentation/devicetree/bindings/phy/rockchip-pcie-phy.txtdeleted+0−36View before deletion
Documentation/devicetree/bindings/phy/samsung,exynos2200-eusb2-phy.yamladded+80−0View file
Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yamlmodified+36−4View file
Documentation/devicetree/bindings/soc/rockchip/grf.yamlmodified+11−2View file
Documentation/devicetree/bindings/usb/rockchip,dwc3.yamlmodified+1−1View file
drivers/phy/Kconfigmodified+8−0View file
drivers/phy/Makefilemodified+1−0View file
drivers/phy/amlogic/phy-meson-axg-mipi-dphy.cmodified+3−7View file
drivers/phy/amlogic/phy-meson-axg-mipi-pcie-analog.cmodified+3−7View file
drivers/phy/amlogic/phy-meson-axg-pcie.cmodified+5−9View file
drivers/phy/amlogic/phy-meson-g12a-usb2.cmodified+3−7View file
drivers/phy/amlogic/phy-meson-gxl-usb2.cmodified+3−8View file
drivers/phy/amlogic/phy-meson8b-usb2.cmodified+14−21View file
drivers/phy/broadcom/phy-brcm-usb-init-synopsys.cmodified+61−0View file
drivers/phy/broadcom/phy-brcm-usb-init.hmodified+1−0View file
drivers/phy/broadcom/phy-brcm-usb.cmodified+14−0View file
drivers/phy/freescale/phy-fsl-imx8m-pcie.cmodified+9−12View file
drivers/phy/freescale/phy-fsl-imx8mq-usb.cmodified+79−5View file
drivers/phy/freescale/phy-fsl-samsung-hdmi.cmodified+50−67View file
drivers/phy/marvell/Kconfigmodified+2−2View file
drivers/phy/mediatek/phy-mtk-xsphy.cmodified+84−1View file
drivers/phy/phy-snps-eusb2.cadded+627−0View file
drivers/phy/qualcomm/Kconfigmodified+0−9View file
drivers/phy/qualcomm/Makefilemodified+0−1View file
drivers/phy/qualcomm/phy-qcom-qmp-pcie.cmodified+65−25View file
drivers/phy/qualcomm/phy-qcom-qmp-usb.cmodified+5−1View file
drivers/phy/qualcomm/phy-qcom-qusb2.cmodified+1−26View file
drivers/phy/qualcomm/phy-qcom-snps-eusb2.cdeleted+0−442View before deletion
drivers/phy/qualcomm/phy-qcom-uniphy-pcie-28lp.cmodified+45−0View file
drivers/phy/renesas/phy-rcar-gen3-usb2.cmodified+34−4View file
drivers/phy/rockchip/phy-rockchip-inno-usb2.cmodified+81−0View file
drivers/phy/rockchip/phy-rockchip-samsung-hdptx.cmodified+176−118View file
drivers/phy/samsung/Kconfigmodified+1−1View file
drivers/phy/samsung/phy-exynos5-usbdrd.cmodified+536−81View file
drivers/phy/tegra/Kconfigmodified+1−1View file
drivers/phy/xilinx/phy-zynqmp.cmodified+37−33View file
include/linux/phy/phy-hdmi.hadded+21−0View file
include/linux/phy/phy.hmodified+6−1View file
include/linux/soc/samsung/exynos-regs-pmu.hmodified+5−0View file

Only the first 600 diff lines are shown. Download the complete patch.

Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.yaml

View file
diff --git a/Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.yaml b/Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.yaml
index 580fbe3..843d040 100644
--- a/Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.yaml
@@ -18,6 +18,7 @@ properties:
- brcm,bcm4908-usb-phy
- brcm,bcm7211-usb-phy
- brcm,bcm7216-usb-phy
+ - brcm,bcm74110-usb-phy
- brcm,brcmstb-usb-phy
reg:
@@ -139,7 +140,9 @@ allOf:
properties:
compatible:
contains:
- const: brcm,bcm7216-usb-phy
+ enum:
+ - brcm,bcm7216-usb-phy
+ - brcm,bcm74110-usb-phy
then:
properties:
reg:

Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml

View file
diff --git a/Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml b/Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml
index daee0c0..22dd915 100644
--- a/Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml
@@ -43,15 +43,15 @@ properties:
fsl,phy-tx-vref-tune-percent:
description:
Tunes the HS DC level relative to the nominal level
- minimum: 94
+ minimum: 90
maximum: 124
fsl,phy-tx-rise-tune-percent:
description:
Adjusts the rise/fall time duration of the HS waveform relative to
its nominal value
- minimum: 97
- maximum: 103
+ minimum: 90
+ maximum: 120
fsl,phy-tx-preemp-amp-tune-microamp:
description:
@@ -63,8 +63,7 @@ properties:
fsl,phy-tx-vboost-level-microvolt:
description:
Adjust the boosted transmit launch pk-pk differential amplitude
- minimum: 880
- maximum: 1120
+ enum: [844, 1008, 1156]
fsl,phy-comp-dis-tune-percent:
description:
@@ -113,6 +112,34 @@ allOf:
maxItems: 1
- if:
+ properties:
+ compatible:
+ enum:
+ - fsl,imx8mq-usb-phy
+ - fsl,imx8mp-usb-phy
+ then:
+ properties:
+ fsl,phy-tx-vref-tune-percent:
+ minimum: 94
+ fsl,phy-tx-rise-tune-percent:
+ minimum: 97
+ maximum: 103
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - fsl,imx95-usb-phy
+ then:
+ properties:
+ fsl,phy-tx-vref-tune-percent:
+ maximum: 108
+ fsl,phy-comp-dis-tune-percent:
+ minimum: 94
+ maximum: 104
+
+ - if:
required:
- orientation-switch
then:

Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml

View file
diff --git a/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml b/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml
index f6e494d..acdbce9 100644
--- a/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml
@@ -30,6 +30,7 @@ properties:
- const: mediatek,mt8173-mipi-tx
- items:
- enum:
+ - mediatek,mt6893-mipi-tx
- mediatek,mt8188-mipi-tx
- mediatek,mt8195-mipi-tx
- mediatek,mt8365-mipi-tx

Documentation/devicetree/bindings/phy/mediatek,tphy.yaml

View file
diff --git a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
index 6be3aa4..b2218c1 100644
--- a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
+++ b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
@@ -78,6 +78,7 @@ properties:
- items:
- enum:
- mediatek,mt2712-tphy
+ - mediatek,mt6893-tphy
- mediatek,mt7629-tphy
- mediatek,mt7986-tphy
- mediatek,mt8183-tphy

Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml

View file
diff --git a/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml b/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
index a9e3139..0bed847 100644
--- a/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
+++ b/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
@@ -49,6 +49,7 @@ properties:
- enum:
- mediatek,mt3611-xsphy
- mediatek,mt3612-xsphy
+ - mediatek,mt7988-xsphy
- const: mediatek,xsphy
reg:
@@ -150,6 +151,21 @@ patternProperties:
minimum: 1
maximum: 31
+ mediatek,syscon-type:
+ $ref: /schemas/types.yaml#/definitions/phandle-array
+ description:
+ A phandle to syscon used to access the register of type switch,
+ the field should always be 3 cells long.
+ items:
+ - items:
+ - description:
+ Phandle to phy type configuration system controller
+ - description:
+ Phy type configuration register offset
+ - description:
+ Index of config segment
+ enum: [0, 1, 2, 3]
+
required:
- reg
- clocks

Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml

View file
diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
index 15dc8ef..9af39b3 100644
--- a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
+++ b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
@@ -99,8 +99,7 @@ patternProperties:
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.
$ref: /schemas/types.yaml#/definitions/uint32
- minimum: 1
- maximum: 9
+ enum: [1, 2, 3, 4, 5, 6, 7, 8, 9, 12]
cdns,num-lanes:
description:

Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml

View file
diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml b/Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml
index 888e6b2..3e101c3 100644
--- a/Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml
+++ b/Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml
@@ -42,6 +42,9 @@ properties:
- const: phy
- const: apb
+ phy-supply:
+ description: Single PHY regulator
+
rockchip,enable-ssc:
type: boolean
description:

Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt b/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt
deleted file mode 100644
index 960da7f..0000000
--- a/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt
+++ /dev/null
@@ -1,84 +0,0 @@
-* ROCKCHIP type-c PHY
----------------------
-
-Required properties:
- - compatible : must be "rockchip,rk3399-typec-phy"
- - reg: Address and length of the usb phy control register set
- - rockchip,grf : phandle to the syscon managing the "general
- register files"
- - clocks : phandle + clock specifier for the phy clocks
- - clock-names : string, clock name, must be "tcpdcore", "tcpdphy-ref";
- - assigned-clocks: main clock, should be <&cru SCLK_UPHY0_TCPDCORE> or
- <&cru SCLK_UPHY1_TCPDCORE>;
- - assigned-clock-rates : the phy core clk frequency, shall be: 50000000
- - resets : a list of phandle + reset specifier pairs
- - reset-names : string reset name, must be:
- "uphy", "uphy-pipe", "uphy-tcphy"
-
-Optional properties:
- - extcon : extcon specifier for the Power Delivery
-
-Required nodes : a sub-node is required for each port the phy provides.
- The sub-node name is used to identify dp or usb3 port,
- and shall be the following entries:
- * "dp-port" : the name of DP port.
- * "usb3-port" : the name of USB3 port.
-
-Required properties (port (child) node):
-- #phy-cells : must be 0, See ./phy-bindings.txt for details.
-
-Deprecated properties, do not use in new device tree sources, these
-properties are determined by the compatible value:
- - rockchip,typec-conn-dir
- - rockchip,usb3tousb2-en
- - rockchip,external-psm
- - rockchip,pipe-status
-
-Example:
- tcphy0: phy@ff7c0000 {
- compatible = "rockchip,rk3399-typec-phy";
- reg = <0x0 0xff7c0000 0x0 0x40000>;
- rockchip,grf = <&grf>;
- extcon = <&fusb0>;
- clocks = <&cru SCLK_UPHY0_TCPDCORE>,
- <&cru SCLK_UPHY0_TCPDPHY_REF>;
- clock-names = "tcpdcore", "tcpdphy-ref";
- assigned-clocks = <&cru SCLK_UPHY0_TCPDCORE>;
- assigned-clock-rates = <50000000>;
- resets = <&cru SRST_UPHY0>,
- <&cru SRST_UPHY0_PIPE_L00>,
- <&cru SRST_P_UPHY0_TCPHY>;
- reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
-
- tcphy0_dp: dp-port {
- #phy-cells = <0>;
- };
-
- tcphy0_usb3: usb3-port {
- #phy-cells = <0>;
- };
- };
-
- tcphy1: phy@ff800000 {
- compatible = "rockchip,rk3399-typec-phy";
- reg = <0x0 0xff800000 0x0 0x40000>;
- rockchip,grf = <&grf>;
- extcon = <&fusb1>;
- clocks = <&cru SCLK_UPHY1_TCPDCORE>,
- <&cru SCLK_UPHY1_TCPDPHY_REF>;
- clock-names = "tcpdcore", "tcpdphy-ref";
- assigned-clocks = <&cru SCLK_UPHY1_TCPDCORE>;
- assigned-clock-rates = <50000000>;
- resets = <&cru SRST_UPHY1>,
- <&cru SRST_UPHY1_PIPE_L00>,
- <&cru SRST_P_UPHY1_TCPHY>;
- reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
-
- tcphy1_dp: dp-port {
- #phy-cells = <0>;
- };
-
- tcphy1_usb3: usb3-port {
- #phy-cells = <0>;
- };
- };

Documentation/devicetree/bindings/phy/phy-rockchip-usbdp.yaml

View file
diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-usbdp.yaml b/Documentation/devicetree/bindings/phy/phy-rockchip-usbdp.yaml
index b42f127..8b7059d 100644
--- a/Documentation/devicetree/bindings/phy/phy-rockchip-usbdp.yaml
+++ b/Documentation/devicetree/bindings/phy/phy-rockchip-usbdp.yaml
@@ -47,6 +47,9 @@ properties:
- const: pcs_apb
- const: pma_apb
+ phy-supply:
+ description: Single PHY regulator
+
rockchip,dp-lane-mux:
$ref: /schemas/types.yaml#/definitions/uint32-array
minItems: 2

Documentation/devicetree/bindings/phy/qcom,ipq5332-uniphy-pcie-phy.yaml

View file
diff --git a/Documentation/devicetree/bindings/phy/qcom,ipq5332-uniphy-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,ipq5332-uniphy-pcie-phy.yaml
index e39168d..6e9df81 100644
--- a/Documentation/devicetree/bindings/phy/qcom,ipq5332-uniphy-pcie-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,ipq5332-uniphy-pcie-phy.yaml
@@ -11,26 +11,24 @@ maintainers:
- Varadarajan Narayanan <[email protected]>
description:
- PCIe and USB combo PHY found in Qualcomm IPQ5332 SoC
+ PCIe and USB combo PHY found in Qualcomm IPQ5018 & IPQ5332 SoCs
properties:
compatible:
enum:
+ - qcom,ipq5018-uniphy-pcie-phy
- qcom,ipq5332-uniphy-pcie-phy
reg:
maxItems: 1
clocks:
- items:
- - description: pcie pipe clock
- - description: pcie ahb clock
+ minItems: 1
+ maxItems: 2
resets:
- items:
- - description: phy reset
- - description: ahb reset
- - description: cfg reset
+ minItems: 2
+ maxItems: 3
"#phy-cells":
const: 0
@@ -53,6 +51,41 @@ required:
additionalProperties: false
+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,ipq5018-uniphy-pcie-phy
+ then:
+ properties:
+ clocks:
+ items:
+ - description: pcie pipe clock
+ resets:
+ items:
+ - description: phy reset
+ - description: cfg reset
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,ipq5332-uniphy-pcie-phy
+ then:
+ properties:
+ clocks:
+ items:
+ - description: pcie pipe clock
+ - description: pcie ahb clock
+ resets:
+ items:
+ - description: phy reset
+ - description: ahb reset
+ - description: cfg reset
+
examples:
- |
#include <dt-bindings/clock/qcom,ipq5332-gcc.h>

Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml

View file
diff --git a/Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml b/Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml
index af275ce..2822dce 100644
--- a/Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml
@@ -16,6 +16,7 @@ properties:
- enum:
- renesas,usb2-phy-r8a77470 # RZ/G1C
- renesas,usb2-phy-r9a08g045 # RZ/G3S
+ - renesas,usb2-phy-r9a09g057 # RZ/V2H(P)
- items:
- enum:
@@ -105,8 +106,13 @@ allOf:
properties:
compatible:
contains:
- const: renesas,rzg2l-usb2-phy
+ enum:
+ - renesas,usb2-phy-r9a09g057
+ - renesas,rzg2l-usb2-phy
then:
+ properties:
+ clocks:
+ minItems: 2
required:
- resets

Documentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yaml

View file
diff --git a/Documentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yaml b/Documentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yaml
index 6a7ef55..58e735b 100644
--- a/Documentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yaml
+++ b/Documentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yaml
@@ -13,12 +13,14 @@ properties:
compatible:
enum:
- rockchip,px30-usb2phy
+ - rockchip,rk3036-usb2phy
- rockchip,rk3128-usb2phy
- rockchip,rk3228-usb2phy
- rockchip,rk3308-usb2phy
- rockchip,rk3328-usb2phy
- rockchip,rk3366-usb2phy
- rockchip,rk3399-usb2phy
+ - rockchip,rk3562-usb2phy
- rockchip,rk3568-usb2phy
- rockchip,rk3576-usb2phy
- rockchip,rk3588-usb2phy
@@ -184,12 +186,14 @@ allOf:
contains:
enum:
- rockchip,px30-usb2phy
+ - rockchip,rk3036-usb2phy
- rockchip,rk3128-usb2phy
- rockchip,rk3228-usb2phy
- rockchip,rk3308-usb2phy
- rockchip,rk3328-usb2phy
- rockchip,rk3366-usb2phy
- rockchip,rk3399-usb2phy
+ - rockchip,rk3562-usb2phy
- rockchip,rk3568-usb2phy
- rockchip,rk3588-usb2phy
- rockchip,rv1108-usb2phy

Documentation/devicetree/bindings/phy/rockchip,pcie3-phy.yaml

View file
diff --git a/Documentation/devicetree/bindings/phy/rockchip,pcie3-phy.yaml b/Documentation/devicetree/bindings/phy/rockchip,pcie3-phy.yaml
index ba67dca..d7de8b5 100644
--- a/Documentation/devicetree/bindings/phy/rockchip,pcie3-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/rockchip,pcie3-phy.yaml
@@ -46,6 +46,9 @@ properties:
reset-names:
const: phy
+ phy-supply:
+ description: Single PHY regulator
+
rockchip,phy-grf:
$ref: /schemas/types.yaml#/definitions/phandle
description: phandle to the syscon managing the phy "general register files"

Documentation/devicetree/bindings/phy/rockchip,rk3399-pcie-phy.yaml

View file
diff --git a/Documentation/devicetree/bindings/phy/rockchip,rk3399-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/rockchip,rk3399-pcie-phy.yaml
new file mode 100644
index 0000000..f46f065
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/rockchip,rk3399-pcie-phy.yaml
@@ -0,0 +1,45 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/rockchip,rk3399-pcie-phy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Rockchip RK3399 PCIE PHY
+
+maintainers:
+ - Heiko Stuebner <[email protected]>
+
+properties:
+ compatible:
+ const: rockchip,rk3399-pcie-phy
+
+ '#phy-cells':
+ oneOf:
+ - const: 0
+ deprecated: true
+ - const: 1
+ description: One lane per phy mode
+
+ clocks:
+ maxItems: 1
+
+ clock-names:
+ const: refclk
+
+ resets:
+ maxItems: 1
+
+ reset-names:
+ const: phy
+
+required:
+ - compatible
+ - '#phy-cells'
+ - clocks
+ - clock-names
+ - resets
+ - reset-names
+
+additionalProperties: false
+
+...

Documentation/devicetree/bindings/phy/rockchip,rk3399-typec-phy.yaml

View file
diff --git a/Documentation/devicetree/bindings/phy/rockchip,rk3399-typec-phy.yaml b/Documentation/devicetree/bindings/phy/rockchip,rk3399-typec-phy.yaml
new file mode 100644
index 0000000..91c011f
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/rockchip,rk3399-typec-phy.yaml
@@ -0,0 +1,116 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/rockchip,rk3399-typec-phy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Rockchip Type-C PHY
+
+maintainers:
+ - Heiko Stuebner <[email protected]>
+
+properties:
+ compatible:
+ const: rockchip,rk3399-typec-phy
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ maxItems: 2
+
+ clock-names:
+ items:
+ - const: tcpdcore
+ - const: tcpdphy-ref
+
+ extcon: true
+
+ power-domains:
+ maxItems: 1
+
+ resets:
+ maxItems: 3
+
+ reset-names:
+ items:
+ - const: uphy
+ - const: uphy-pipe
+ - const: uphy-tcphy
+
+ rockchip,grf:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description:
+ Phandle to the syscon managing the "general register files" (GRF).
+
+ dp-port:
+ type: object
+ additionalProperties: false
+
+ properties:
+ '#phy-cells':
+ const: 0
+
+ port:
+ $ref: /schemas/graph.yaml#/properties/port
+ description: Connection to USB Type-C connector
+
+ required:
+ - '#phy-cells'
+
+ usb3-port:
+ type: object
+ additionalProperties: false
+
+ properties:
+ '#phy-cells':
+ const: 0
+
+ orientation-switch: true
+
+ port:
+ $ref: /schemas/graph.yaml#/properties/port
+ description: Connection to USB Type-C connector SS port
+
+ required:
+ - '#phy-cells'
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - clock-names
+ - resets
+ - reset-names
+ - dp-port
+ - usb3-port
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/rk3399-cru.h>
+
+ phy@ff7c0000 {
+ compatible = "rockchip,rk3399-typec-phy";
+ reg = <0xff7c0000 0x40000>;
+ rockchip,grf = <&grf>;
+ extcon = <&fusb0>;
+ clocks = <&cru SCLK_UPHY0_TCPDCORE>,
+ <&cru SCLK_UPHY0_TCPDPHY_REF>;
+ clock-names = "tcpdcore", "tcpdphy-ref";
+ resets = <&cru SRST_UPHY0>,
+ <&cru SRST_UPHY0_PIPE_L00>,
+ <&cru SRST_P_UPHY0_TCPHY>;
+ reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
+
+ dp-port {
+ #phy-cells = <0>;

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/phy/rockchip-pcie-phy.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/phy/samsung,exynos2200-eusb2-phy.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/soc/rockchip/grf.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml

View file

This diff is incomplete. Download the complete patch.

drivers/phy/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/phy/Makefile

View file

This diff is incomplete. Download the complete patch.

drivers/phy/amlogic/phy-meson-axg-mipi-dphy.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/amlogic/phy-meson-axg-mipi-pcie-analog.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/amlogic/phy-meson-axg-pcie.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/amlogic/phy-meson-g12a-usb2.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/amlogic/phy-meson-gxl-usb2.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/amlogic/phy-meson8b-usb2.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/broadcom/phy-brcm-usb-init-synopsys.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/broadcom/phy-brcm-usb-init.h

View file

This diff is incomplete. Download the complete patch.

drivers/phy/broadcom/phy-brcm-usb.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/freescale/phy-fsl-imx8m-pcie.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/freescale/phy-fsl-imx8mq-usb.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/freescale/phy-fsl-samsung-hdmi.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/marvell/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/phy/mediatek/phy-mtk-xsphy.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/phy-snps-eusb2.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/qualcomm/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/phy/qualcomm/Makefile

View file

This diff is incomplete. Download the complete patch.

drivers/phy/qualcomm/phy-qcom-qmp-pcie.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/qualcomm/phy-qcom-qmp-usb.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/qualcomm/phy-qcom-qusb2.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/qualcomm/phy-qcom-snps-eusb2.c

View before deletion

This diff is incomplete. Download the complete patch.

drivers/phy/qualcomm/phy-qcom-uniphy-pcie-28lp.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/renesas/phy-rcar-gen3-usb2.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/rockchip/phy-rockchip-inno-usb2.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/samsung/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/phy/samsung/phy-exynos5-usbdrd.c

View file

This diff is incomplete. Download the complete patch.

drivers/phy/tegra/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/phy/xilinx/phy-zynqmp.c

View file

This diff is incomplete. Download the complete patch.

include/linux/phy/phy-hdmi.h

View file

This diff is incomplete. Download the complete patch.

include/linux/phy/phy.h

View file

This diff is incomplete. Download the complete patch.

include/linux/soc/samsung/exynos-regs-pmu.h

View file

This diff is incomplete. Download the complete patch.