Add ethernet dts schema for qcs615/qcs8300
Subsystems (6)
v2 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.
---
This patch series depends on below patch series:
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/20240926-add_initial_support_for_qcs615-v3-0-e37617e91c62@quicinc.com/
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 (3):
dt-bindings: net: qcom,ethqos: add description for qcs615
dt-bindings: phy: describe the Qualcomm SGMII PHY
dt-bindings: net: qcom,ethqos: add description for qcs8300
.../devicetree/bindings/net/qcom,ethqos.yaml | 19 ++++++++++++++----- .../bindings/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml | 7 ++++++- 2 files changed, 20 insertions(+), 6 deletions(-)
---
base-commit: 40e0c9d414f57d450e3ad03c12765e797fc3fede
change-id: 20241010-schema-50b0b777c28b
Best regards,
Signature · 1 line
Yijie Yang <[email protected]>
PATCH v2 1/3 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
@@ -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
PATCH v2 2/3 dt-bindings: phy: describe the Qualcomm SGMII PHY
In reply to Yijie YangDescribe the SGMII/SerDes PHY present on the qcs8300 platforms. Since qcs8300 shares the same SerDes as sa8775p, so it fallback to the compatible.
--- .../devicetree/bindings/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml +6 -1
@@ -15,7 +15,12 @@ description: properties: compatible: - const: qcom,sa8775p-dwmac-sgmii-phy + oneOf: + - items: + - enum: + - qcom,qcs8300-dwmac-sgmii-phy + - const: qcom,sa8775p-dwmac-sgmii-phy + - const: qcom,sa8775p-dwmac-sgmii-phy reg: items:
Signature · 1 line
2.34.1
PATCH v2 3/3 dt-bindings: net: qcom,ethqos: add description for qcs8300
In reply to Yijie YangAdd 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
@@ -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
Quoted 7 lines · Yijie Yang
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.
Quoted 5 lines
Signed-off-by Yijie Yang <[email protected]>---
This patch series depends on below patch series:
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/20240926-add_initial_support_for_qcs615-v3-0-e37617e91c62@quicinc.com/
So it cannot be merged...
Instead please decouple your works. I don't get why do you claim there is dependency in the first place, but anyway. Fix up your patchsets to fix that (if there is something to fix).
Best regards,
Krzysztof
Quoted 14 lines · Krzysztof Kozlowski
Quoted 7 lines · Yijie Yang
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.Quoted 5 lines
Signed-off-by Yijie Yang <[email protected]>---
This patch series depends on below patch series:
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/20240926-add_initial_support_for_qcs615-v3-0-e37617e91c62@quicinc.com/
Quoted 6 lines
So it cannot be merged...
Instead please decouple your works. I don't get why do you claim there is dependency in the first place, but anyway. Fix up your patchsets to fix that (if there is something to fix).
Actually, the dependency is unnecessary here. I will remove it together with the merged patch in the upcoming version.
Quoted 3 lines
Best regards,
Krzysztof
Signature · 2 lines
Best Regards, Yijie