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

dt-bindings: usb: qcom,dwc3: add SC8280XP binding

Add SC8280XP to the DT schema.

Note that the SC8280XP controllers use the common set of five clocks and
an additional set of four interconnect clocks whose purpose is not
entirely clear at this point.

The set of wakeup interrupts is also different for SC8280XP.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20220713131340.29401-2-johan+linaro@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Johan Hovold and committed by
Greg Kroah-Hartman
a5c75923 fe6d8a9c

+88 -14
+88 -14
Documentation/devicetree/bindings/usb/qcom,dwc3.yaml
··· 24 24 - qcom,qcs404-dwc3 25 25 - qcom,sc7180-dwc3 26 26 - qcom,sc7280-dwc3 27 + - qcom,sc8280xp-dwc3 27 28 - qcom,sdm660-dwc3 28 29 - qcom,sdm845-dwc3 29 30 - qcom,sdx55-dwc3 ··· 67 66 - mock_utmi:: Mock utmi clock needed for ITP/SOF generation in host 68 67 mode. Its frequency should be 19.2MHz. 69 68 minItems: 1 70 - maxItems: 6 69 + maxItems: 9 71 70 72 71 clock-names: 73 72 minItems: 1 74 - maxItems: 6 73 + maxItems: 9 75 74 76 75 assigned-clocks: 77 76 items: ··· 94 93 - const: apps-usb 95 94 96 95 interrupts: 97 - items: 98 - - description: The interrupt that is asserted 99 - when a wakeup event is received on USB2 bus. 100 - - description: The interrupt that is asserted 101 - when a wakeup event is received on USB3 bus. 102 - - description: Wakeup event on DM line. 103 - - description: Wakeup event on DP line. 96 + maxItems: 4 104 97 105 98 interrupt-names: 106 - items: 107 - - const: hs_phy_irq 108 - - const: ss_phy_irq 109 - - const: dm_hs_phy_irq 110 - - const: dp_hs_phy_irq 99 + maxItems: 4 111 100 112 101 qcom,select-utmi-as-pipe-clk: 113 102 description: ··· 245 254 compatible: 246 255 contains: 247 256 enum: 257 + - qcom,sc8280xp-dwc3 258 + then: 259 + properties: 260 + clocks: 261 + maxItems: 9 262 + clock-names: 263 + items: 264 + - const: cfg_noc 265 + - const: core 266 + - const: iface 267 + - const: sleep 268 + - const: mock_utmi 269 + - const: noc_aggr 270 + - const: noc_aggr_north 271 + - const: noc_aggr_south 272 + - const: noc_sys 273 + 274 + - if: 275 + properties: 276 + compatible: 277 + contains: 278 + enum: 248 279 - qcom,sdm660-dwc3 249 280 then: 250 281 properties: ··· 324 311 - const: mock_utmi 325 312 - const: xo 326 313 314 + - if: 315 + properties: 316 + compatible: 317 + contains: 318 + enum: 319 + - qcom,ipq4019-dwc3 320 + - qcom,ipq6018-dwc3 321 + - qcom,ipq8064-dwc3 322 + - qcom,ipq8074-dwc3 323 + - qcom,msm8953-dwc3 324 + - qcom,msm8994-dwc3 325 + - qcom,msm8996-dwc3 326 + - qcom,msm8998-dwc3 327 + - qcom,qcs404-dwc3 328 + - qcom,sc7180-dwc3 329 + - qcom,sc7280-dwc3 330 + - qcom,sdm660-dwc3 331 + - qcom,sdm845-dwc3 332 + - qcom,sdx55-dwc3 333 + - qcom,sdx65-dwc3 334 + - qcom,sm4250-dwc3 335 + - qcom,sm6115-dwc3 336 + - qcom,sm6125-dwc3 337 + - qcom,sm6350-dwc3 338 + - qcom,sm8150-dwc3 339 + - qcom,sm8250-dwc3 340 + - qcom,sm8350-dwc3 341 + - qcom,sm8450-dwc3 342 + then: 343 + properties: 344 + interrupts: 345 + items: 346 + - description: The interrupt that is asserted 347 + when a wakeup event is received on USB2 bus. 348 + - description: The interrupt that is asserted 349 + when a wakeup event is received on USB3 bus. 350 + - description: Wakeup event on DM line. 351 + - description: Wakeup event on DP line. 352 + interrupt-names: 353 + items: 354 + - const: hs_phy_irq 355 + - const: ss_phy_irq 356 + - const: dm_hs_phy_irq 357 + - const: dp_hs_phy_irq 358 + 359 + - if: 360 + properties: 361 + compatible: 362 + contains: 363 + enum: 364 + - qcom,sc8280xp-dwc3 365 + then: 366 + properties: 367 + interrupts: 368 + maxItems: 4 369 + interrupt-names: 370 + items: 371 + - const: pwr_event 372 + - const: dp_hs_phy_irq 373 + - const: dm_hs_phy_irq 374 + - const: ss_phy_irq 327 375 328 376 additionalProperties: false 329 377