Commit 28810c0d authored by Pritam Manohar Sutar's avatar Pritam Manohar Sutar Committed by Vinod Koul
Browse files

dt-bindings: phy: samsung,usb3-drd-phy: add ExynosAutov920 HS phy compatible



Document support for the USB20 phy found on the ExynosAutov920 SoC. The
USB20 phy is functionally identical to that on the Exynos850 SoC, so no
driver changes are needed to support this phy. However, add a dedicated
compatible string for USB20 phy found in this SoC.

This phy needs 0.75v, 0.18v and 3.3v supplies for its internal
functionally. Power Supply's names are as per phy's User Data-Book.
These names, (dvdd, vdd18 and vdd33), are considered  for 0.75v, 1.8v
and 3.3v respectively.

Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarAlim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: default avatarPritam Manohar Sutar <pritam.sutar@samsung.com>
Link: https://patch.msgid.link/20251124110453.2887437-2-pritam.sutar@samsung.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 8e98ca1e
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ properties:
      - samsung,exynos7870-usbdrd-phy
      - samsung,exynos850-usbdrd-phy
      - samsung,exynos990-usbdrd-phy
      - samsung,exynosautov920-usbdrd-phy

  clocks:
    minItems: 1
@@ -110,6 +111,15 @@ properties:
  vddh-usbdp-supply:
    description: VDDh power supply for the USB DP phy.

  dvdd-supply:
    description: 0.75V power supply for the USB phy.

  vdd18-supply:
    description: 1.8V power supply for the USB phy.

  vdd33-supply:
    description: 3.3V power supply for the USB phy.

required:
  - compatible
  - clocks
@@ -221,6 +231,7 @@ allOf:
              - samsung,exynos7870-usbdrd-phy
              - samsung,exynos850-usbdrd-phy
              - samsung,exynos990-usbdrd-phy
              - samsung,exynosautov920-usbdrd-phy
    then:
      properties:
        clocks:
@@ -238,6 +249,24 @@ allOf:
        reg-names:
          maxItems: 1

  - if:
      properties:
        compatible:
          contains:
            enum:
              - samsung,exynosautov920-usbdrd-phy
    then:
      required:
        - dvdd-supply
        - vdd18-supply
        - vdd33-supply

    else:
      properties:
        dvdd-supply: false
        vdd18-supply: false
        vdd33-supply: false

unevaluatedProperties: false

examples: