linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Alim Akhtar <alim.akhtar@samsung.com>,
	'Pritam Manohar Sutar' <pritam.sutar@samsung.com>
Cc: vkoul@kernel.org, kishon@kernel.org, robh@kernel.org,
	krzk+dt@kernel.org, conor+dt@kernel.org,
	andre.draszik@linaro.org, peter.griffin@linaro.org,
	kauschluss@disroot.org, ivo.ivanov.ivanov1@gmail.com,
	igor.belwon@mentallysanemainliners.org, johan@kernel.org,
	m.szyprowski@samsung.com, s.nawrocki@samsung.com,
	linux-phy@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, rosa.pila@samsung.com,
	dev.tailor@samsung.com, faraz.ata@samsung.com,
	muhammed.ali@samsung.com, selvarasu.g@samsung.com
Subject: Re: [PATCH v7 5/6] dt-bindings: phy: samsung,usb3-drd-phy: add ExynosAutov920 combo ssphy
Date: Fri, 29 Aug 2025 13:25:41 +0200	[thread overview]
Message-ID: <6b5f20ed-4e88-441e-8f61-20866e2b39c7@kernel.org> (raw)
In-Reply-To: <263801dc18d3$d1e20950$75a61bf0$@samsung.com>

On 29/08/2025 12:58, Alim Akhtar wrote:
> Hi Krzysztof
> 
>> -----Original Message-----
>> From: Krzysztof Kozlowski <krzk@kernel.org>
>> Sent: Friday, August 29, 2025 4:07 PM
>> To: Pritam Manohar Sutar <pritam.sutar@samsung.com>
>> Cc: vkoul@kernel.org; kishon@kernel.org; robh@kernel.org;
>> krzk+dt@kernel.org; conor+dt@kernel.org; alim.akhtar@samsung.com;
>> andre.draszik@linaro.org; peter.griffin@linaro.org; kauschluss@disroot.org;
>> ivo.ivanov.ivanov1@gmail.com; igor.belwon@mentallysanemainliners.org;
>> johan@kernel.org; m.szyprowski@samsung.com;
>> s.nawrocki@samsung.com; linux-phy@lists.infradead.org;
>> devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; linux-arm-
>> kernel@lists.infradead.org; linux-samsung-soc@vger.kernel.org;
>> rosa.pila@samsung.com; dev.tailor@samsung.com;
>> faraz.ata@samsung.com; muhammed.ali@samsung.com;
>> selvarasu.g@samsung.com
>> Subject: Re: [PATCH v7 5/6] dt-bindings: phy: samsung,usb3-drd-phy: add
>> ExynosAutov920 combo ssphy
>>
>> On 29/08/2025 12:15, Pritam Manohar Sutar wrote:
>>> Hi Krzysztof
>>>
>>>> -----Original Message-----
>>>> From: Krzysztof Kozlowski <krzk@kernel.org>
>>>> Sent: 26 August 2025 02:05 PM
>>>> To: Pritam Manohar Sutar <pritam.sutar@samsung.com>
>>>> Cc: vkoul@kernel.org; kishon@kernel.org; robh@kernel.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.
>>
>> Please read my first comment again. I do not see how does this satisfy
>> hardware explanation.
>>
> Just went through the conversation above, 
> until what extent hardware description need to be explain in the commit?
> Do we have any guideline for the same?
> Could you please help with an example from previous any commit or some other patches? 
> I understand that mentioning, “two clocks, two supplies etc" are part of schema, 
> one may or may not capture that in the commit. 
> However mentioning, “this hardware (SoC) contain a combo PHY which supports usb3.1 and usb3.0" is not ok? 


Maybe that's just language, but to me the commit msg did not describe
hardware after first sentence, but said what schema requires (some
clocks and supplies). Other examples:
00399bbe02d2bb6fd8d6eb90573ec305616449f4
e4c9a7b475e5d0d9b2440ee48f91d1364eabd6cb

and here another anti-pattern:
23f793850e9ee7390584c0809f085d6c88de7d3f

(and before you ask why above carries my Rb tag, then note that
Samsung's revenue is around 220 billion USD, so for sure it has a lot,
really a lot of resources to review patches internally and improve their
quality before posting).

Best regards,
Krzysztof

  reply	other threads:[~2025-08-29 11:25 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20250822093005epcas5p16df62346568b8c6570cfff7c01da0667@epcas5p1.samsung.com>
2025-08-22  9:38 ` [PATCH v7 0/6] initial usbdrd phy support for Exynosautov920 soc Pritam Manohar Sutar
     [not found]   ` <CGME20250822093008epcas5p218f9f9a5381a716b5b8e0c4b23e4b3bf@epcas5p2.samsung.com>
2025-08-22  9:38     ` [PATCH v7 1/6] dt-bindings: phy: samsung,usb3-drd-phy: add ExynosAutov920 HS phy compatible Pritam Manohar Sutar
2025-08-24  8:46       ` Krzysztof Kozlowski
     [not found]   ` <CGME20250822093012epcas5p1550eebdc0d2847ebf09945ae46c8335d@epcas5p1.samsung.com>
2025-08-22  9:38     ` [PATCH v7 2/6] phy: exynos5-usbdrd: support HS phy for ExynosAutov920 Pritam Manohar Sutar
     [not found]   ` <CGME20250822093015epcas5p1f479af38c65a6decc900c37fe37537e5@epcas5p1.samsung.com>
2025-08-22  9:38     ` [PATCH v7 3/6] dt-bindings: phy: samsung,usb3-drd-phy: add ExynosAutov920 combo hsphy Pritam Manohar Sutar
2025-08-24  8:47       ` Krzysztof Kozlowski
     [not found]   ` <CGME20250822093019epcas5p28a21e48b059bc67824e9d7ed96605fbe@epcas5p2.samsung.com>
2025-08-22  9:38     ` [PATCH v7 4/6] phy: exynos5-usbdrd: support HS combo phy for ExynosAutov920 Pritam Manohar Sutar
     [not found]   ` <CGME20250822093022epcas5p42d8c16c851769dab0e1da9d45743ab1f@epcas5p4.samsung.com>
2025-08-22  9:38     ` [PATCH v7 5/6] dt-bindings: phy: samsung,usb3-drd-phy: add ExynosAutov920 combo ssphy Pritam Manohar Sutar
2025-08-24  8:55       ` Krzysztof Kozlowski
2025-08-26  6:37         ` Pritam Manohar Sutar
2025-08-26  8:35           ` Krzysztof Kozlowski
2025-08-29 10:15             ` Pritam Manohar Sutar
2025-08-29 10:36               ` Krzysztof Kozlowski
2025-08-29 10:58                 ` Alim Akhtar
2025-08-29 11:25                   ` Krzysztof Kozlowski [this message]
2025-08-29 11:58                     ` Alim Akhtar
2025-08-29 12:03                     ` Pritam Manohar Sutar
2025-09-02 12:12                     ` Pritam Manohar Sutar
2025-09-02 12:59                       ` Krzysztof Kozlowski
     [not found]   ` <CGME20250822093026epcas5p24ca84f56e803cbc65b5d21fc539dbd79@epcas5p2.samsung.com>
2025-08-22  9:38     ` [PATCH v7 6/6] phy: exynos5-usbdrd: support SS combo phy for ExynosAutov920 Pritam Manohar Sutar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6b5f20ed-4e88-441e-8f61-20866e2b39c7@kernel.org \
    --to=krzk@kernel.org \
    --cc=alim.akhtar@samsung.com \
    --cc=andre.draszik@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=dev.tailor@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=faraz.ata@samsung.com \
    --cc=igor.belwon@mentallysanemainliners.org \
    --cc=ivo.ivanov.ivanov1@gmail.com \
    --cc=johan@kernel.org \
    --cc=kauschluss@disroot.org \
    --cc=kishon@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=muhammed.ali@samsung.com \
    --cc=peter.griffin@linaro.org \
    --cc=pritam.sutar@samsung.com \
    --cc=robh@kernel.org \
    --cc=rosa.pila@samsung.com \
    --cc=s.nawrocki@samsung.com \
    --cc=selvarasu.g@samsung.com \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).