Commit e5796a9c authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by Vinod Koul

dt-bindings: phy: qmp-ufs: describe the UFS PHY for sa8775p

Add a new compatible for the QMP UFS PHY found on sa8775p platforms and
update the clocks property to accommodate three clocks.
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230411130446.401440-3-brgl@bgdev.plSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 813a2398
...@@ -16,6 +16,7 @@ description: ...@@ -16,6 +16,7 @@ description:
properties: properties:
compatible: compatible:
enum: enum:
- qcom,sa8775p-qmp-ufs-phy
- qcom,sc8280xp-qmp-ufs-phy - qcom,sc8280xp-qmp-ufs-phy
- qcom,sm6125-qmp-ufs-phy - qcom,sm6125-qmp-ufs-phy
- qcom,sm7150-qmp-ufs-phy - qcom,sm7150-qmp-ufs-phy
...@@ -25,12 +26,15 @@ properties: ...@@ -25,12 +26,15 @@ properties:
maxItems: 1 maxItems: 1
clocks: clocks:
maxItems: 2 minItems: 2
maxItems: 3
clock-names: clock-names:
minItems: 2
items: items:
- const: ref - const: ref
- const: ref_aux - const: ref_aux
- const: qref
power-domains: power-domains:
maxItems: 1 maxItems: 1
...@@ -64,6 +68,26 @@ required: ...@@ -64,6 +68,26 @@ required:
- vdda-pll-supply - vdda-pll-supply
- "#phy-cells" - "#phy-cells"
allOf:
- if:
properties:
compatible:
contains:
enum:
- qcom,sa8775p-qmp-ufs-phy
then:
properties:
clocks:
maxItems: 3
clock-names:
maxItems: 3
else:
properties:
clocks:
maxItems: 2
clock-names:
maxItems: 2
additionalProperties: false additionalProperties: false
examples: examples:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment