Skip to contentSkip to conversation

dt-bindings: phy: qcom,sc8280xp-qmp-ufs-phy: Add QMP UFS PHY compatible for Maili

PATCH Superseded Nitin Rawat 4 participants 4 messages Aug 14 – Sep 7

Subsystems (3)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: phy: qcom,sc8280xp-qmp-ufs-phy: Add QMP UFS PHY compatible for Maili

Document the QMP UFS PHY compatible for Qualcomm Maili to support physical layer functionality for UFS found on the SoC. Use fallback to indicate the compatibility of the QMP UFS PHY on the Maili with that on the Hawi.

---
Change from V1:
1. Fixed Signed-off-by chain order.

---
 .../devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml    | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml +4 -0
index 4efe40c0dc97..eb289c09906a 100644
@@ -16,6 +16,10 @@ description:
 properties:
   compatible:
     oneOf:
+      - items:
+          - enum:
+              - qcom,maili-qmp-ufs-phy
+          - const: qcom,hawi-qmp-ufs-phy
       - items:
           - enum:
               - qcom,qcs8300-qmp-ufs-phy

--
2.34.1

#1 lore raw
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] Incomplete Binding Schema: The newly added compatible string `qcom,maili-qmp-ufs-phy` and its…

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Incomplete Binding Schema: The newly added compatible string qcom,maili-qmp-ufs-phy and its fallback qcom,hawi-qmp-ufs-phy are omitted from the allOf conditional blocks, and the fallback string is not defined as a standalone compatible. --

--- Patch [1]: [PATCH V2] dt-bindings: phy: qcom,sc8280xp-qmp-ufs-phy: Add QMP UFS PHY compatible for Maili --- commit 85736fd391afb5ebf38138e2d5c3a36609d6c2c8
Author: Nitin Rawat <[email protected]>

dt-bindings: phy: qcom,sc8280xp-qmp-ufs-phy: Add QMP UFS PHY compatible for Maili

This commit documents the QMP UFS PHY compatible string for Qualcomm Maili, using qcom,hawi-qmp-ufs-phy as a fallback.

Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml description: · line 22

Quoted 12 lines
Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml +4 -0
index b2c5c9a375a35..f74434f51653c 100644
@@ -16,6 +16,10 @@ description:
 properties:
   compatible:
     oneOf:
+      - items:
+          - enum:
+              - qcom,maili-qmp-ufs-phy
+          - const: qcom,hawi-qmp-ufs-phy

[Severity: Medium]
Does the addition of this compatible string require updates to the allOf conditional blocks further down in this file?

It appears the new qcom,maili-qmp-ufs-phy and fallback qcom,hawi-qmp-ufs-phy strings are missing from the allOf conditional blocks that enforce hardware constraints like clocks:

allOf:
- if:
properties:
compatible:
contains:
enum:
- qcom,milos-qmp-ufs-phy
- qcom,msm8998-qmp-ufs-phy

Without these updates, device trees with invalid configurations might silently pass validation.

Also, could this cause a schema validation regression if qcom,hawi-qmp-ufs-phy is missing as a standalone compatible definition under properties.compatible.oneOf?

- enum:
- qcom,milos-qmp-ufs-phy
- qcom,msm8996-qmp-ufs-phy

If a device tree uses only the Hawi compatible string, it seems it will fail validation entirely because it is undefined as a standalone item.

Quoted 3 lines
Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml +0 -0
       - items:
           - enum:
               - qcom,qcs8300-qmp-ufs-phy
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Reviewed-by on v2 1/1
#2 lore raw
In reply to Nitin Rawat
Quoted 5 lines · Nitin Rawat

Document the QMP UFS PHY compatible for Qualcomm Maili to support physical layer functionality for UFS found on the SoC. Use fallback to indicate the compatibility of the QMP UFS PHY on the Maili with that on the Hawi.

Quoted 7 lines

---
Change from V1:
1. Fixed Signed-off-by chain order.

---
 .../devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml    | 4 ++++

Best regards,
Krzysztof

reviewer Acked-by on v2 1/1
#3 lore raw
In reply to Nitin Rawat
Quoted 7 lines · Nitin Rawat

Document the QMP UFS PHY compatible for Qualcomm Maili to support physical layer functionality for UFS found on the SoC. Use fallback to indicate the compatibility of the QMP UFS PHY on the Maili with that on the Hawi.

Authorship is still wrong. If Jingyi wrote the patch, then 'Authorship' should belong to Jingyi. Otherwise, if Nitin is the author, then there should be a Co-developed-by tag for Jingyi for co-development of the patch.

For the patch content though,

- Mani

Signature · 1 line
மணிவண்ணன் சதாசிவம்