Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: phy: add QMP USB PHY schema

The QMP PHY DT schema is getting unwieldy. Break out the USB PHY
binding in a separate file.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20220830112923.3725-20-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Johan Hovold and committed by
Vinod Koul
ea5fc4a1 ec9cafa6

+17 -52
+17 -52
Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - 3 2 %YAML 1.2 4 3 --- 5 - $id: "http://devicetree.org/schemas/phy/qcom,qmp-phy.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/phy/qcom,qmp-usb-phy.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 6 8 - title: Qualcomm QMP PHY controller 7 + title: Qualcomm QMP PHY controller (USB) 9 8 10 9 maintainers: 11 10 - Vinod Koul <vkoul@kernel.org> ··· 51 52 ranges: true 52 53 53 54 clocks: 54 - minItems: 1 55 + minItems: 3 55 56 maxItems: 4 56 57 57 58 clock-names: 58 - minItems: 1 59 + minItems: 3 59 60 maxItems: 4 60 61 61 62 resets: 62 - minItems: 1 63 - maxItems: 3 63 + maxItems: 2 64 64 65 65 reset-names: 66 - minItems: 1 67 - maxItems: 3 66 + maxItems: 2 68 67 69 68 vdda-phy-supply: true 70 69 ··· 73 76 patternProperties: 74 77 "^phy@[0-9a-f]+$": 75 78 type: object 76 - description: one child node per PHY provided by this block 79 + description: single PHY-provider child node 77 80 78 81 required: 79 82 - compatible ··· 85 88 - clock-names 86 89 - resets 87 90 - reset-names 91 + - vdda-phy-supply 92 + - vdda-pll-supply 88 93 89 94 additionalProperties: false 90 95 ··· 113 114 items: 114 115 - const: phy 115 116 - const: common 116 - required: 117 - - vdda-phy-supply 118 - - vdda-pll-supply 117 + 119 118 - if: 120 119 properties: 121 120 compatible: 122 121 contains: 123 122 enum: 123 + - qcom,ipq8074-qmp-usb3-phy 124 + - qcom,msm8996-qmp-usb3-phy 125 + - qcom,msm8998-qmp-usb3-phy 124 126 - qcom,sdx55-qmp-usb3-uni-phy 125 127 - qcom,sdx65-qmp-usb3-uni-phy 126 128 then: ··· 139 139 items: 140 140 - const: phy 141 141 - const: common 142 - required: 143 - - vdda-phy-supply 144 - - vdda-pll-supply 145 - - if: 146 - properties: 147 - compatible: 148 - contains: 149 - enum: 150 - - qcom,ipq8074-qmp-usb3-phy 151 - - qcom,msm8996-qmp-usb3-phy 152 - - qcom,msm8998-qmp-usb3-phy 153 - then: 154 - properties: 155 - clocks: 156 - maxItems: 3 157 - clock-names: 158 - items: 159 - - const: aux 160 - - const: cfg_ahb 161 - - const: ref 162 - resets: 163 - maxItems: 2 164 - reset-names: 165 - items: 166 - - const: phy 167 - - const: common 168 - required: 169 - - vdda-phy-supply 170 - - vdda-pll-supply 142 + 171 143 - if: 172 144 properties: 173 145 compatible: ··· 166 194 items: 167 195 - const: phy 168 196 - const: common 169 - required: 170 - - vdda-phy-supply 171 - - vdda-pll-supply 197 + 172 198 - if: 173 199 properties: 174 200 compatible: ··· 189 219 items: 190 220 - const: phy 191 221 - const: common 192 - required: 193 - - vdda-phy-supply 194 - - vdda-pll-supply 222 + 195 223 - if: 196 224 properties: 197 225 compatible: ··· 211 243 items: 212 244 - const: phy_phy 213 245 - const: phy 214 - required: 215 - - vdda-phy-supply 216 - - vdda-pll-supply 217 246 218 247 examples: 219 248 - |