Re: [PATCH v7 5/6] dt-bindings: phy: samsung,usb3-drd-phy: add ExynosAutov920 combo ssphy
From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2025-08-24 08:55:55
Also in:
linux-devicetree, linux-phy, linux-samsung-soc, lkml
On Fri, Aug 22, 2025 at 03:08:44PM +0530, Pritam Manohar Sutar wrote:
This phy supports USB3.1 SSP+(10Gbps) protocol and is backwards compatible to the USB3.0 SS(5Gbps). It requires two clocks, named "phy" and "ref". The required supplies for USB3.1 are named as vdd075_usb30(0.75v), vdd18_usb30(1.8v).
Please do not describe the schema, but hardware. This sentence does not help me in my question further.
quoted hunk ↗ jump to hunk
Add schemas for combo ssphy found on this SoC. Signed-off-by: Pritam Manohar Sutar <redacted> --- .../bindings/phy/samsung,usb3-drd-phy.yaml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+)diff --git a/Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml b/Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml index f0cfca5736b8..96e5bbb2e42c 100644 --- a/Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml +++ b/Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml@@ -34,6 +34,7 @@ properties: - samsung,exynos7870-usbdrd-phy - samsung,exynos850-usbdrd-phy - samsung,exynos990-usbdrd-phy + - samsung,exynosautov920-usb31drd-combo-ssphy - samsung,exynosautov920-usbdrd-combo-hsphy - samsung,exynosautov920-usbdrd-phy@@ -118,6 +119,12 @@ properties: vdd18-usb20-supply: description: 1.8V power supply for the USB 2.0 phy. + dvdd075-usb30-supply: + description: 0.75V power supply for the USB 3.0 phy. + + vdd18-usb30-supply: + description: 1.8V power supply for the USB 3.0 phy. + required: - compatible - clocks@@ -227,6 +234,7 @@ allOf: - samsung,exynos7870-usbdrd-phy - samsung,exynos850-usbdrd-phy - samsung,exynos990-usbdrd-phy + - samsung,exynosautov920-usb31drd-combo-ssphy - samsung,exynosautov920-usbdrd-combo-hsphy - samsung,exynosautov920-usbdrd-phy then:@@ -262,6 +270,21 @@ allOf: properties: dvdd075-usb20-supply: false vdd18-usb20-supply: false + - if: + properties: + compatible: + contains: + enum: + - samsung,exynosautov920-usb31drd-combo-ssphy + then: + required: + - dvdd075-usb30-supply + - vdd18-usb30-supply
Why are you adding usb20 and usb30 suffixes to the supplies? These are separate devices, so they do not have both variants at the same time. From this device point of view, the supply is called dvdd075 or vdd18. If you open device datasheet (not SoC datasheet), that's how it will be called, most likely. Best regards, Krzysztof