diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-04-11 15:04:43 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-04-12 18:13:49 +0200 |
commit | e5796a9cdf73ed08f8d7fbca4749d7097ee2ca0b (patch) | |
tree | 7562d558bf76ff6a85b14a8d9737eaa3fc126450 /Documentation/devicetree | |
parent | phy: qcom-qmp-pcie: drop sdm845_qhp_pcie_rx_tbl (diff) | |
download | linux-e5796a9cdf73ed08f8d7fbca4749d7097ee2ca0b.tar.xz linux-e5796a9cdf73ed08f8d7fbca4749d7097ee2ca0b.zip |
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: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230411130446.401440-3-brgl@bgdev.pl
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 26 |
1 files changed, 25 insertions, 1 deletions
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 cd0fbbd3593d..94c0fab065a8 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,7 @@ description: properties: compatible: enum: + - qcom,sa8775p-qmp-ufs-phy - qcom,sc8280xp-qmp-ufs-phy - qcom,sm6125-qmp-ufs-phy - qcom,sm7150-qmp-ufs-phy @@ -25,12 +26,15 @@ properties: maxItems: 1 clocks: - maxItems: 2 + minItems: 2 + maxItems: 3 clock-names: + minItems: 2 items: - const: ref - const: ref_aux + - const: qref power-domains: maxItems: 1 @@ -64,6 +68,26 @@ required: - vdda-pll-supply - "#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 examples: |