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: qcom,sc7180-qmp-usb3-dp-phy: correct clocks per variants

Different variants of Qualcomm USB3 DP PHY take different clocks
(according to upstream DTS and Linux driver):

sc7280-herobrine-crd.dtb: phy-wrapper@88e9000: clocks: [[43, 151], [39, 0], [43, 153]] is too short
sc7280-herobrine-crd.dtb: phy-wrapper@88e9000: clock-names:1: 'cfg_ahb' was expected
...
sm8250-hdk.dtb: phy@88e9000: clocks: [[46, 185], [44, 0], [46, 187]] is too short
sm8250-hdk.dtb: phy@88e9000: clock-names:1: 'cfg_ahb' was expected

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221225115944.55425-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Vinod Koul
e43ddd0e 9fd4dcd9

+62 -10
+62 -10
Documentation/devicetree/bindings/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml
··· 51 51 ranges: true 52 52 53 53 clocks: 54 - items: 55 - - description: Phy aux clock. 56 - - description: Phy config clock. 57 - - description: 19.2 MHz ref clk. 58 - - description: Phy common block aux clock. 54 + minItems: 3 55 + maxItems: 4 59 56 60 57 clock-names: 61 - items: 62 - - const: aux 63 - - const: cfg_ahb 64 - - const: ref 65 - - const: com_aux 58 + minItems: 3 59 + maxItems: 4 66 60 67 61 power-domains: 68 62 maxItems: 1 ··· 164 170 - reset-names 165 171 - vdda-phy-supply 166 172 - vdda-pll-supply 173 + 174 + allOf: 175 + - if: 176 + properties: 177 + compatible: 178 + enum: 179 + - qcom,sc7180-qmp-usb3-dp-phy 180 + - qcom,sdm845-qmp-usb3-dp-phy 181 + then: 182 + properties: 183 + clocks: 184 + items: 185 + - description: Phy aux clock 186 + - description: Phy config clock 187 + - description: 19.2 MHz ref clk 188 + - description: Phy common block aux clock 189 + clock-names: 190 + items: 191 + - const: aux 192 + - const: cfg_ahb 193 + - const: ref 194 + - const: com_aux 195 + 196 + - if: 197 + properties: 198 + compatible: 199 + enum: 200 + - qcom,sc8180x-qmp-usb3-dp-phy 201 + then: 202 + properties: 203 + clocks: 204 + items: 205 + - description: Phy aux clock 206 + - description: 19.2 MHz ref clk 207 + - description: Phy common block aux clock 208 + clock-names: 209 + items: 210 + - const: aux 211 + - const: ref 212 + - const: com_aux 213 + 214 + - if: 215 + properties: 216 + compatible: 217 + enum: 218 + - qcom,sm8250-qmp-usb3-dp-phy 219 + then: 220 + properties: 221 + clocks: 222 + items: 223 + - description: Phy aux clock 224 + - description: Board XO source 225 + - description: Phy common block aux clock 226 + clock-names: 227 + items: 228 + - const: aux 229 + - const: ref_clk_src 230 + - const: com_aux 167 231 168 232 additionalProperties: false 169 233