[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <000401dc18cd$ec02a1b0$c407e510$@samsung.com>
Date: Fri, 29 Aug 2025 15:45:37 +0530
From: "Pritam Manohar Sutar" <pritam.sutar@...sung.com>
To: "'Krzysztof Kozlowski'" <krzk@...nel.org>
Cc: <vkoul@...nel.org>, <kishon@...nel.org>, <robh@...nel.org>,
<krzk+dt@...nel.org>, <conor+dt@...nel.org>, <alim.akhtar@...sung.com>,
<andre.draszik@...aro.org>, <peter.griffin@...aro.org>,
<kauschluss@...root.org>, <ivo.ivanov.ivanov1@...il.com>,
<igor.belwon@...tallysanemainliners.org>, <johan@...nel.org>,
<m.szyprowski@...sung.com>, <s.nawrocki@...sung.com>,
<linux-phy@...ts.infradead.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>,
<linux-samsung-soc@...r.kernel.org>, <rosa.pila@...sung.com>,
<dev.tailor@...sung.com>, <faraz.ata@...sung.com>,
<muhammed.ali@...sung.com>, <selvarasu.g@...sung.com>
Subject: RE: [PATCH v7 5/6] dt-bindings: phy: samsung,usb3-drd-phy: add
ExynosAutov920 combo ssphy
Hi Krzysztof
> -----Original Message-----
> From: Krzysztof Kozlowski <krzk@...nel.org>
> Sent: 26 August 2025 02:05 PM
> To: Pritam Manohar Sutar <pritam.sutar@...sung.com>
> Cc: vkoul@...nel.org; kishon@...nel.org; robh@...nel.org;
.
.
[snip]
.
.
> >> Subject: Re: [PATCH v7 5/6] dt-bindings: phy: samsung,usb3-drd-phy:
> >> add
> >> ExynosAutov920 combo ssphy
> >>
> >> 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.
> >
> > This is a combo phy having Synopsys usb20 and usb30 phys (these 2 phys are
> totally different).
> > One PHY only supports usb2.0 and data rates whereas another one does
> > usb3.1 ssp+ and usb3.1 ssp
> >
> > This patch only explains about usb30 (since these are two different phys) phy
> and omitted inclusion of usb20 reference (added separate patch for this patch
> no 3).
> >
> > Hope this is clear.
>
> No. That sentence still explains what schema is doing.
>
Ok, let me simplify the commit message further something like below.
Anyways, the coverletter contains more details about it.
"dt-bindings: phy: samsung,usb3-drd-phy: add ExynosAutov920 combo ssphy
Add schema for combo ssphy found on this SoC.
"
Please confirm if this looks fine?
If so, will reflect the similar commit messages in patch 1 and 3.
> BTW, wrap your email correctly.
>
Sure, thanks for your input.
> >
> >>
> >>>
> >>> Add schemas for combo ssphy found on this SoC.
> >>>
> >>> Signed-off-by: Pritam Manohar Sutar <pritam.sutar@...sung.com>
> >>> ---
> >>> .../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.yam
> >>> +++ l
> >>> @@ -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.
> >
> > This is a combo phy consisting of usb2 and usb3 phys combined.
> > To drive these separate phys, added suffixes for these supplies respectively.
>
> But they are separate.
>
> >
> > Moreover, gs101 is also using similar convention for its usb20 and dp supplies.
> > Added suffix for usb2 and usb3 as per our last communication
> > https://lore.kernel.org/linux-phy/6e1c67d2-9bfa-442a-9d53-8c5970a2a9ef
> > @kernel.org/
>
> Then please review patches on the list and help to improve them BEFORE they
> got merged.
>
> I questioned the suffix there, so I really do not understand why did you added it.
>
> >
> >>
> >> 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.
> >
> > Yes, Agree. In device datasheet, suffixes are not mentioned, but in our board
> schematic it is mentioned.
> > Let me know your suggestion about adding suffixes?
>
> I already said, multiple times on various discussions. You name these based on
> how the inputs are called in this device.
Ok, will remove suffixes from supplies.
And will add following supplies dvdd, vdd33 and vdd18.
Let me know, because of above changes, should be removing your
'reviewed-by' tag from patch 1 and 3.
>
> Best regards,
> Krzysztof
Thank you.
Regards,
Pritam
Powered by blists - more mailing lists