FILE
qcom,sc8280xp-qmp-usb3-uni-phy.yaml
File preview with syntax highlighting.
linux-6.19.14/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Qualcomm QMP PHY controller (USB, SC8280XP) 8 9maintainers: 10 - Vinod Koul <vkoul@kernel.org> 11 12description: 13 The QMP PHY controller supports physical layer functionality for a number of 14 controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB. 15 16properties: 17 compatible: 18 enum: 19 - qcom,ipq5424-qmp-usb3-phy 20 - qcom,ipq6018-qmp-usb3-phy 21 - qcom,ipq8074-qmp-usb3-phy 22 - qcom,ipq9574-qmp-usb3-phy 23 - qcom,msm8996-qmp-usb3-phy 24 - qcom,qcs8300-qmp-usb3-uni-phy 25 - qcom,qdu1000-qmp-usb3-uni-phy 26 - qcom,sa8775p-qmp-usb3-uni-phy 27 - qcom,sc8180x-qmp-usb3-uni-phy 28 - qcom,sc8280xp-qmp-usb3-uni-phy 29 - qcom,sdm845-qmp-usb3-uni-phy 30 - qcom,sdx55-qmp-usb3-uni-phy 31 - qcom,sdx65-qmp-usb3-uni-phy 32 - qcom,sdx75-qmp-usb3-uni-phy 33 - qcom,sm8150-qmp-usb3-uni-phy 34 - qcom,sm8250-qmp-usb3-uni-phy 35 - qcom,sm8350-qmp-usb3-uni-phy 36 - qcom,x1e80100-qmp-usb3-uni-phy 37 38 reg: 39 maxItems: 1 40 41 clocks: 42 minItems: 4 43 maxItems: 5 44 45 clock-names: 46 minItems: 4 47 maxItems: 5 48 49 power-domains: 50 maxItems: 1 51 52 resets: 53 maxItems: 2 54 55 reset-names: 56 items: 57 - const: phy 58 - const: phy_phy 59 60 vdda-phy-supply: true 61 62 vdda-pll-supply: true 63 64 "#clock-cells": 65 const: 0 66 67 clock-output-names: 68 maxItems: 1 69 70 "#phy-cells": 71 const: 0 72 73required: 74 - compatible 75 - reg 76 - clocks 77 - clock-names 78 - resets 79 - reset-names 80 - vdda-phy-supply 81 - vdda-pll-supply 82 - "#clock-cells" 83 - clock-output-names 84 - "#phy-cells" 85 86allOf: 87 - if: 88 properties: 89 compatible: 90 contains: 91 enum: 92 - qcom,ipq5424-qmp-usb3-phy 93 - qcom,ipq6018-qmp-usb3-phy 94 - qcom,ipq8074-qmp-usb3-phy 95 - qcom,ipq9574-qmp-usb3-phy 96 - qcom,msm8996-qmp-usb3-phy 97 - qcom,sdx55-qmp-usb3-uni-phy 98 - qcom,sdx65-qmp-usb3-uni-phy 99 - qcom,sdx75-qmp-usb3-uni-phy 100 then: 101 properties: 102 clocks: 103 maxItems: 4 104 clock-names: 105 items: 106 - const: aux 107 - const: ref 108 - const: cfg_ahb 109 - const: pipe 110 111 - if: 112 properties: 113 compatible: 114 contains: 115 enum: 116 - qcom,qcs8300-qmp-usb3-uni-phy 117 - qcom,qdu1000-qmp-usb3-uni-phy 118 - qcom,sa8775p-qmp-usb3-uni-phy 119 - qcom,sc8180x-qmp-usb3-uni-phy 120 - qcom,sc8280xp-qmp-usb3-uni-phy 121 - qcom,sm8150-qmp-usb3-uni-phy 122 - qcom,sm8250-qmp-usb3-uni-phy 123 - qcom,sm8350-qmp-usb3-uni-phy 124 - qcom,x1e80100-qmp-usb3-uni-phy 125 then: 126 properties: 127 clocks: 128 maxItems: 4 129 clock-names: 130 items: 131 - const: aux 132 - const: ref 133 - const: com_aux 134 - const: pipe 135 136 - if: 137 properties: 138 compatible: 139 contains: 140 enum: 141 - qcom,sdm845-qmp-usb3-uni-phy 142 then: 143 properties: 144 clocks: 145 maxItems: 5 146 clock-names: 147 items: 148 - const: aux 149 - const: cfg_ahb 150 - const: ref 151 - const: com_aux 152 - const: pipe 153 154 - if: 155 properties: 156 compatible: 157 contains: 158 enum: 159 - qcom,sa8775p-qmp-usb3-uni-phy 160 - qcom,sc8180x-qmp-usb3-uni-phy 161 - qcom,sc8280xp-qmp-usb3-uni-phy 162 - qcom,x1e80100-qmp-usb3-uni-phy 163 then: 164 required: 165 - power-domains 166 167additionalProperties: false 168 169examples: 170 - | 171 #include <dt-bindings/clock/qcom,gcc-sc8280xp.h> 172 #include <dt-bindings/clock/qcom,rpmh.h> 173 174 phy@88ef000 { 175 compatible = "qcom,sc8280xp-qmp-usb3-uni-phy"; 176 reg = <0x088ef000 0x2000>; 177 178 clocks = <&gcc GCC_USB3_MP_PHY_AUX_CLK>, 179 <&gcc GCC_USB3_MP0_CLKREF_CLK>, 180 <&gcc GCC_USB3_MP_PHY_COM_AUX_CLK>, 181 <&gcc GCC_USB3_MP_PHY_PIPE_0_CLK>; 182 clock-names = "aux", "ref", "com_aux", "pipe"; 183 184 power-domains = <&gcc USB30_MP_GDSC>; 185 186 resets = <&gcc GCC_USB3_UNIPHY_MP0_BCR>, 187 <&gcc GCC_USB3UNIPHY_PHY_MP0_BCR>; 188 reset-names = "phy", "phy_phy"; 189 190 vdda-phy-supply = <&vreg_l3a>; 191 vdda-pll-supply = <&vreg_l5a>; 192 193 #clock-cells = <0>; 194 clock-output-names = "usb2_phy0_pipe_clk"; 195 196 #phy-cells = <0>; 197 };
~/
Read-only file preview.