brintos

brintos / linux-shallow public Read only

0
0
Text · 5.6 KiB · 519c2b4 Raw
184 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/phy/qcom,usb-snps-femto-v2.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm Synopsys Femto High-Speed USB PHY V28 9maintainers:10  - Wesley Cheng <quic_wcheng@quicinc.com>11 12description: |13  Qualcomm High-Speed USB PHY14 15properties:16  compatible:17    oneOf:18      - items:19          - enum:20              - qcom,sa8775p-usb-hs-phy21              - qcom,sc8280xp-usb-hs-phy22          - const: qcom,usb-snps-hs-5nm-phy23      - items:24          - enum:25              - qcom,qdu1000-usb-hs-phy26              - qcom,sc7280-usb-hs-phy27              - qcom,sc8180x-usb-hs-phy28              - qcom,sdx55-usb-hs-phy29              - qcom,sdx65-usb-hs-phy30              - qcom,sm6375-usb-hs-phy31              - qcom,sm8150-usb-hs-phy32              - qcom,sm8250-usb-hs-phy33              - qcom,sm8350-usb-hs-phy34              - qcom,sm8450-usb-hs-phy35          - const: qcom,usb-snps-hs-7nm-phy36 37  reg:38    maxItems: 139 40  "#phy-cells":41    const: 042 43  clocks:44    items:45      - description: rpmhcc ref clock46 47  clock-names:48    items:49      - const: ref50 51  resets:52    items:53      - description: PHY core reset54 55  vdda-pll-supply:56    description: phandle to the regulator VDD supply node.57 58  vdda18-supply:59    description: phandle to the regulator 1.8V supply node.60 61  vdda33-supply:62    description: phandle to the regulator 3.3V supply node.63 64  qcom,hs-disconnect-bp:65    description:66      This adjusts the voltage level for the threshold used to67      detect a disconnect event at the host.68      The hardware accepts only discrete values. The value closest to the69      provided input will be chosen as the override value for this param.70    minimum: -27271    maximum: 215672 73  qcom,squelch-detector-bp:74    description:75      This adjusts the voltage level for the threshold used to76      detect valid high-speed data.77      The hardware accepts only discrete values. The value closest to the78      provided input will be chosen as the override value for this param.79    minimum: -209080    maximum: 159081 82  qcom,hs-amplitude-bp:83    description:84      This adjusts the high-speed DC level voltage.85      The hardware accepts only discrete values. The value closest to the86      provided input will be chosen as the override value for this param.87    minimum: -66088    maximum: 267089 90  qcom,pre-emphasis-duration-bp:91    description:92      This signal controls the duration for which the93      HS pre-emphasis current is sourced onto DP<#> or DM<#>.94      The HS Transmitter pre-emphasis duration is defined in terms of95      unit amounts. One unit of pre-emphasis duration is approximately96      650 ps and is defined as 1X pre-emphasis duration.97      The hardware accepts only discrete values. The value closest to the98      provided input will be chosen as the override value for this param.99    minimum: 10000100    maximum: 20000101 102  qcom,pre-emphasis-amplitude-bp:103    description:104      This signal controls the amount of current sourced to105      DP<#> and DM<#> after a J-to-K or K-to-J transition.106      The HS Transmitter pre-emphasis current is defined in terms of unit107      amounts. One unit amount is approximately 2 mA and is defined as108      1X pre-emphasis current.109      The hardware accepts only discrete values. The value closest to the110      provided input will be chosen as the override value for this param.111    minimum: 10000112    maximum: 40000113 114  qcom,hs-rise-fall-time-bp:115    description:116      This adjusts the rise/fall times of the high-speed waveform.117      The hardware accepts only discrete values. The value closest to the118      provided input will be chosen as the override value for this param.119    minimum: -4100120    maximum: 5430121 122  qcom,hs-crossover-voltage-microvolt:123    description:124      This adjusts the voltage at which the DP<#> and DM<#>125      signals cross while transmitting in HS mode.126      The hardware accepts only discrete values. The value closest to the127      provided input will be chosen as the override value for this param.128    minimum: -31000129    maximum: 28000130 131  qcom,hs-output-impedance-micro-ohms:132    description:133      In some applications, there can be significant series resistance134      on the D+ and D- paths between the transceiver and cable. This adjusts135      the driver source impedance to compensate for added series136      resistance on the USB. The hardware accepts only discrete values. The137      value closest to the provided input will be chosen as the override value138      for this param.139    minimum: -2300000140    maximum: 6100000141 142  qcom,ls-fs-output-impedance-bp:143    description:144      This adjusts the low- and full-speed single-ended source145      impedance while driving high. The following adjustment values are based146      on nominal process, voltage, and temperature.147      The hardware accepts only discrete values. The value closest to the148      provided input will be chosen as the override value for this param.149    minimum: -1053150    maximum: 1310151 152required:153  - compatible154  - reg155  - "#phy-cells"156  - clocks157  - clock-names158  - resets159  - vdda-pll-supply160  - vdda18-supply161  - vdda33-supply162 163additionalProperties: false164 165examples:166  - |167    #include <dt-bindings/clock/qcom,rpmh.h>168    #include <dt-bindings/clock/qcom,gcc-sm8150.h>169    phy@88e2000 {170        compatible = "qcom,sm8150-usb-hs-phy", "qcom,usb-snps-hs-7nm-phy";171        reg = <0x088e2000 0x400>;172        #phy-cells = <0>;173 174        clocks = <&rpmhcc RPMH_CXO_CLK>;175        clock-names = "ref";176 177        resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;178 179        vdda-pll-supply = <&vdd_usb_hs_core>;180        vdda33-supply = <&vdda_usb_hs_3p1>;181        vdda18-supply = <&vdda_usb_hs_1p8>;182    };183...184