Skip to content

Commit a7f0d69

Browse files
krzkvinodkoul
authored andcommitted
dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Restrict resets per each device
Bindings should be complete, thus complete the constraints for the resets by adding missing compatibles for devices with two resets and "else:" clause narrowing them for all other devices. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Link: https://patch.msgid.link/20251017045919.34599-2-krzysztof.kozlowski@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 95e5905 commit a7f0d69

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,15 +215,23 @@ allOf:
215215
enum:
216216
- qcom,sm8550-qmp-gen4x2-pcie-phy
217217
- qcom,sm8650-qmp-gen4x2-pcie-phy
218+
- qcom,x1e80100-qmp-gen3x2-pcie-phy
218219
- qcom,x1e80100-qmp-gen4x2-pcie-phy
219220
- qcom,x1e80100-qmp-gen4x4-pcie-phy
220221
- qcom,x1e80100-qmp-gen4x8-pcie-phy
222+
- qcom,x1p42100-qmp-gen4x4-pcie-phy
221223
then:
222224
properties:
223225
resets:
224226
minItems: 2
225227
reset-names:
226228
minItems: 2
229+
else:
230+
properties:
231+
resets:
232+
maxItems: 1
233+
reset-names:
234+
maxItems: 1
227235

228236
- if:
229237
properties:

0 commit comments

Comments
 (0)