Skip to contentSkip to conversation

dt-bindings: phy: add definition for MSM8960

PATCH In review Shinjo Park 3 participants 7 messages Jul 28, 2022 – Aug 2, 2022 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 3/3 dt-bindings: phy: add definition for MSM8960

Document the changes introduced by MSM8960 inclusion.

---
 Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml +1 -0
index 0655e485b..b3075c5ab 100644
@@ -40,6 +40,7 @@ properties:
           - qcom,usb-hs-phy-apq8064
           - qcom,usb-hs-phy-msm8226
           - qcom,usb-hs-phy-msm8916
+          - qcom,usb-hs-phy-msm8960
           - qcom,usb-hs-phy-msm8974
       - const: qcom,usb-hs-phy
 
Signature · 1 line
2.34.1
#2 lore raw
Quoted 9 lines · Krzysztof Kozlowski
Quoted 2 lines · Shinjo Park

Document the changes introduced by MSM8960 inclusion.

1. Thread your submissions.
2. Use subject prefix matching the file.

Quoted 2 lines

It is a v1. How the review tag got here?

We have a Matrix channel ( #linux-apq8064:matrix.org and downstream fork for apq8064/msm8960 [1]), so I saw the patch before it was send to ML.

David

[1] https://github.com/apq8064-mainline/linux

Quoted 3 lines

Best regards,
Krzysztof

Signature · 4 lines
David Heidelberg
Consultant Software Engineer

Matrix: @okias:matrix.org
#3 lore raw
Quoted 7 lines · David Heidelberg
Quoted 6 lines · Krzysztof Kozlowski
Quoted 2 lines · Shinjo Park

Document the changes introduced by MSM8960 inclusion.

1. Thread your submissions.
2. Use subject prefix matching the file.

Quoted 8 lines
Quoted 3 lines
Quoted 2 lines

It is a v1. How the review tag got here?

We have a Matrix channel ( #linux-apq8064:matrix.org and downstream fork for apq8064/msm8960 [1]), so I saw the patch before it was send to ML.

David

New submitters and beginners should rather use full-mailing list process. Since there is quite a chance of beginner mistakes (which was seen here), they might misunderstand something and add Reviewed-by tag even if not received it with respective "Reviewer's statement of oversight".

Best regards,
Krzysztof

Signature · 3 lines
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
#5 lore raw
In reply to a message not in the archive
Quoted 32 lines · Shinjo Park

Hello Krzysztof,

Sorry for any confusion during my first patch submission.

PATCH 1:

Quoted 6 lines
Quoted 1 line

Change the reference of sleep_clk to the same as qcom-apq8064.dtsi.

You add label, not change something.

Quoted 1 line

- sleep_clk {

Quoted 7 lines
Quoted 1 line

+ sleep_clk: sleep_clk {

Since you touch the line, make the device node sleep-clk (device node

names should not have underscores) and mention this in commit msg.

I can change the line into "sleep_clk: sleep-clk". And the commit message would be "Change the device node of sleep_clk to sleep-clk and add a label"? Another problem is that in the same .dtsi file there are other device nodes containing underscores (cxo_board, pxo_board). Should I also change these in the patch?

PATCH 2:

Quoted 5 lines

Review

Quoted 2 lines
(quoted diff) +2 -0
+                     phy-names = "usb-phy";
+                     status = "disabled";

status is the last property.

Quoted 7 lines
Quoted 1 line
Quoted 1 line

+ #reset-cells = <1>;

I can move #reset-cells one line up and make the status last line. On the other hand, the same definition is also used in arch/arm/boot/dts/qcom-apq8064.dtsi (also the clock definition mentioned in PATCH 1). Shall I include another patch for that file in the next revision of this patch series?

Yes, you can rename them in other patch as well.

Quoted 5 lines

PATH 3:

Quoted 1 line

1. Thread your submissions.

Shall I use this thread for all follow-ups for my first and second patch?

No. One patchset, one thread.

https://elixir.bootlin.com/linux/v5.19-rc5/source/Documentation/process/5.Posting.rst

Quoted 5 lines
Quoted 2 lines

2. Use subject prefix matching the file.

If I understood correctly, then this should be "dt-bindings: phy:
qcom,usb-hs-phy:"?

Yes.

Best regards,
Krzysztof

Signature · 3 lines
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
#6 lore raw

PATCH v2 3/3 dt-bindings: phy: qcom,usb-hs-phy: add definition for MSM8960

Document the changes introduced by MSM8960 inclusion.

---

v2:
- Rewrite commit message (subject prefix)

 Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml +1 -0
index 0655e485b260..b3075c5ab887 100644
@@ -40,6 +40,7 @@ properties:
           - qcom,usb-hs-phy-apq8064
           - qcom,usb-hs-phy-msm8226
           - qcom,usb-hs-phy-msm8916
+          - qcom,usb-hs-phy-msm8960
           - qcom,usb-hs-phy-msm8974
       - const: qcom,usb-hs-phy
 
Signature · 1 line
2.34.1