* [PATCH V1] dt-bindings: phy: qcom,sc8280xp-qmp-ufs-phy: Add QMP UFS PHY compatible for Maili
@ 2026-08-14 0:47 Nitin Rawat
2026-08-14 1:56 ` sashiko-bot
2026-08-14 2:31 ` Jingyi Wang
0 siblings, 2 replies; 3+ messages in thread
From: Nitin Rawat @ 2026-08-14 0:47 UTC (permalink / raw)
To: vkoul, krzk+dt, robh, conor+dt
Cc: linux-arm-msm, linux-kernel, devicetree, linux-phy, Nitin Rawat,
Jingyi Wang
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.
Signed-off-by: Nitin Rawat <nitin.rawat@oss.qualcomm.com>
Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com>
---
.../devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
index 7e83cb3238ec..d94503fc26e7 100644
--- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
@@ -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
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH V1] dt-bindings: phy: qcom,sc8280xp-qmp-ufs-phy: Add QMP UFS PHY compatible for Maili
2026-08-14 0:47 [PATCH V1] dt-bindings: phy: qcom,sc8280xp-qmp-ufs-phy: Add QMP UFS PHY compatible for Maili Nitin Rawat
@ 2026-08-14 1:56 ` sashiko-bot
2026-08-14 2:31 ` Jingyi Wang
1 sibling, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-08-14 1:56 UTC (permalink / raw)
To: Nitin Rawat
Cc: olteanv, conor+dt, vkoul, robh, devicetree, neil.armstrong,
linux-phy
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] The new compatible strings `qcom,maili-qmp-ufs-phy` and `qcom,hawi-qmp-ufs-phy` are omitted from the `allOf` conditional blocks that enforce strict constraints for clocks.
- [Medium] The fallback compatible `qcom,hawi-qmp-ufs-phy` is not defined as a standalone base compatible in the schema.
--
--- Patch [1]: [PATCH V1] dt-bindings: phy: qcom,sc8280xp-qmp-ufs-phy: Add QMP UFS PHY compatible for Maili ---
commit c983ddf99ae7f556a6b7a2870c88327054b94d8c
Author: Nitin Rawat <nitin.rawat@oss.qualcomm.com>
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.
> diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
> index b2c5c9a375a35..f74434f51653c 100644
> --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
> +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
> @@ -16,6 +16,10 @@ description:
> properties:
> compatible:
> oneOf:
> + - items:
> + - enum:
> + - qcom,maili-qmp-ufs-phy
> + - const: qcom,hawi-qmp-ufs-phy
[Severity: Medium]
If qcom,hawi-qmp-ufs-phy is used as a fallback here, shouldn't it also
be added to the standalone enum list further down in this file at line 42
under properties:compatible:oneOf:enum?
Without it being defined as a standalone compatible string, a device tree
node for the base Hawi hardware using just
compatible = "qcom,hawi-qmp-ufs-phy" will fail schema validation when running
dt_binding_check.
[Severity: Medium]
Do these new compatibles need to be added to the allOf conditional block
that enforces strict clock constraints at line 88?
Currently, Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
has an allOf:if block starting at line 88 that enforces a strict 3-clock
limit (ref, ref_aux, qref) for most modern PHYs.
Since they are missing from that enum list, device trees using these new
compatible strings will silently bypass the strict clock constraints and
fall back to the loose global defaults. This regression allows incomplete or
invalid clock configurations to pass dt_binding_check validation.
> - items:
> - enum:
> - qcom,qcs8300-qmp-ufs-phy
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260814004725.1368027-1-nitin.rawat@oss.qualcomm.com?part=1
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH V1] dt-bindings: phy: qcom,sc8280xp-qmp-ufs-phy: Add QMP UFS PHY compatible for Maili
2026-08-14 0:47 [PATCH V1] dt-bindings: phy: qcom,sc8280xp-qmp-ufs-phy: Add QMP UFS PHY compatible for Maili Nitin Rawat
2026-08-14 1:56 ` sashiko-bot
@ 2026-08-14 2:31 ` Jingyi Wang
1 sibling, 0 replies; 3+ messages in thread
From: Jingyi Wang @ 2026-08-14 2:31 UTC (permalink / raw)
To: Nitin Rawat, vkoul, krzk+dt, robh, conor+dt
Cc: linux-arm-msm, linux-kernel, devicetree, linux-phy
On 8/14/2026 8:47 AM, Nitin Rawat wrote:
> 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.
>
> Signed-off-by: Nitin Rawat <nitin.rawat@oss.qualcomm.com>
> Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com>
> ---
incorrect DCO chain, the last SoB should be same as the one who
send the patch.
Thanks,
Jingyi
> .../devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
> index 7e83cb3238ec..d94503fc26e7 100644
> --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
> +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
> @@ -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
>
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-08-14 2:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-14 0:47 [PATCH V1] dt-bindings: phy: qcom,sc8280xp-qmp-ufs-phy: Add QMP UFS PHY compatible for Maili Nitin Rawat
2026-08-14 1:56 ` sashiko-bot
2026-08-14 2:31 ` Jingyi Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox