Skip to content

Commit 59e377a

Browse files
lumagvinodkoul
authored andcommitted
dt-bindings: phy: qcom,sc8280xp-qmp-ufs-phy: fix msm899[68] power-domains
The Qualcomm MSM8996 and MSM8998 platforms don't have separate power domain for the UFS PHY. Replace required:power-domains with the conditional schema. Fixes: dc5cb63 ("dt-bindings: phy: migrate QMP UFS PHY bindings to qcom,sc8280xp-qmp-ufs-phy.yaml") Signed-off-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 484b139 commit 59e377a

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ required:
7272
- reg
7373
- clocks
7474
- clock-names
75-
- power-domains
7675
- resets
7776
- reset-names
7877
- vdda-phy-supply
@@ -130,6 +129,21 @@ allOf:
130129
- const: ref
131130
- const: qref
132131

132+
- if:
133+
properties:
134+
compatible:
135+
contains:
136+
enum:
137+
- qcom,msm8996-qmp-ufs-phy
138+
- qcom,msm8998-qmp-ufs-phy
139+
then:
140+
properties:
141+
power-domains:
142+
false
143+
else:
144+
required:
145+
- power-domains
146+
133147
additionalProperties: false
134148

135149
examples:

0 commit comments

Comments
 (0)