Skip to contentSkip to conversation

Add ethernet dts schema for qcs615/qcs8300

PATCH Applied Yijie Yang 2 participants 4 messages Oct 29, 2024 – Oct 31, 2024

Subsystems (5)
lore
Share & tools
lore

Yijie Yang

author
#0 lore raw

v3 cover Add ethernet dts schema for qcs615/qcs8300

Document the ethernet and SerDes compatible for qcs8300. This platform shares the same EMAC and SerDes as sa8775p, so the compatible fallback to it.
Document the ethernet compatible for qcs615. This platform shares the same EMAC as sm8150, so the compatible fallback to it. Document the compatible for revision 2 of the qcs8300-ride board.

---
Changes in v3:
- Remove merged patch from this series: "dt-bindings: phy: describe the Qualcomm SGMII PHY".
- Remove unnecessary dependency description.
- Rebase this patchsets on top of 'next-20241028'.
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Adjust the position of the EMAC compatible fallback for qcs8300 in the YAML file according to the order.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Yijie Yang (2):
dt-bindings: net: qcom,ethqos: add description for qcs615
dt-bindings: net: qcom,ethqos: add description for qcs8300

 .../devicetree/bindings/net/qcom,ethqos.yaml          | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

---
base-commit: c8f460cd88112a37cbb3321a25ddddba08bb0372
change-id: 20241029-schema-1a68d22456ff

Best regards,

Signature · 1 line
Yijie Yang <[email protected]>
author
#1 lore raw

PATCH v3 1/2 dt-bindings: net: qcom,ethqos: add description for qcs615

Add compatible for the MAC controller on qcs615 platform. Since qcs615 shares the same EMAC as sm8150, so it fallback to that compatible.

---
 Documentation/devicetree/bindings/net/qcom,ethqos.yaml | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)
Documentation/devicetree/bindings/net/qcom,ethqos.yaml +10 -5
index 6672327358bc13f4a464c845d242d32569bf66a7..8cf29493b8228967156758c0363a978daec84152 100644
@@ -18,11 +18,16 @@ allOf:
 
 properties:
   compatible:
-    enum:
-      - qcom,qcs404-ethqos
-      - qcom,sa8775p-ethqos
-      - qcom,sc8280xp-ethqos
-      - qcom,sm8150-ethqos
+    oneOf:
+      - items:
+          - enum:
+              - qcom,qcs615-ethqos
+          - const: qcom,sm8150-ethqos
+      - enum:
+          - qcom,qcs404-ethqos
+          - qcom,sa8775p-ethqos
+          - qcom,sc8280xp-ethqos
+          - qcom,sm8150-ethqos
 
   reg:
     maxItems: 2
Signature · 1 line
2.34.1
author
#2 lore raw

PATCH v3 2/2 dt-bindings: net: qcom,ethqos: add description for qcs8300

In reply to Yijie Yang

Add compatible for the MAC controller on qcs8300 platforms. Since qcs8300 shares the same EMAC as sa8775p, so it fallback to the compatible.

---
 Documentation/devicetree/bindings/net/qcom,ethqos.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/net/qcom,ethqos.yaml +4 -0
index 8cf29493b8228967156758c0363a978daec84152..0bcd593a7bd093d4475908d82585c36dd6b3a284 100644
@@ -19,6 +19,10 @@ allOf:
 properties:
   compatible:
     oneOf:
+      - items:
+          - enum:
+              - qcom,qcs8300-ethqos
+          - const: qcom,sa8775p-ethqos
       - items:
           - enum:
               - qcom,qcs615-ethqos
Signature · 1 line
2.34.1
#3 lore raw
In reply to Yijie Yang
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Tue, 29 Oct 2024 11:11:54 +0800 you wrote:

Document the ethernet and SerDes compatible for qcs8300. This platform shares the same EMAC and SerDes as sa8775p, so the compatible fallback to it.
Document the ethernet compatible for qcs615. This platform shares the same EMAC as sm8150, so the compatible fallback to it. Document the compatible for revision 2 of the qcs8300-ride board.

[...]

Here is the summary with links:
- [v3,1/2] dt-bindings: net: qcom,ethqos: add description for qcs615

    https://git.kernel.org/netdev/net-next/c/32535b9410b8
  - [v3,2/2] dt-bindings: net: qcom,ethqos: add description for qcs8300
    https://git.kernel.org/netdev/net-next/c/0fb248365993

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html