Commit b225e912 authored by Varadarajan Narayanan's avatar Varadarajan Narayanan Committed by Vinod Koul

dt-bindings: phy: qcom,qmp-usb: Add IPQ9574 USB3 PHY

* Add dt-bindings for USB3 PHY found on Qualcomm IPQ9574

* Making power-domains as optional since IPQ9574 doesn't have GDSCs
Signed-off-by: default avatarVaradarajan Narayanan <quic_varada@quicinc.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/064614c5b28f6d813634ad14a59b0bf94ac334b7.1683630932.git.quic_varada@quicinc.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent fc1ec000
...@@ -16,6 +16,7 @@ description: ...@@ -16,6 +16,7 @@ description:
properties: properties:
compatible: compatible:
enum: enum:
- qcom,ipq9574-qmp-usb3-phy
- qcom,sa8775p-qmp-usb3-uni-phy - qcom,sa8775p-qmp-usb3-uni-phy
- qcom,sc8280xp-qmp-usb3-uni-phy - qcom,sc8280xp-qmp-usb3-uni-phy
...@@ -26,11 +27,7 @@ properties: ...@@ -26,11 +27,7 @@ properties:
maxItems: 4 maxItems: 4
clock-names: clock-names:
items: maxItems: 4
- const: aux
- const: ref
- const: com_aux
- const: pipe
power-domains: power-domains:
maxItems: 1 maxItems: 1
...@@ -61,7 +58,6 @@ required: ...@@ -61,7 +58,6 @@ required:
- reg - reg
- clocks - clocks
- clock-names - clock-names
- power-domains
- resets - resets
- reset-names - reset-names
- vdda-phy-supply - vdda-phy-supply
...@@ -70,6 +66,42 @@ required: ...@@ -70,6 +66,42 @@ required:
- clock-output-names - clock-output-names
- "#phy-cells" - "#phy-cells"
allOf:
- if:
properties:
compatible:
contains:
enum:
- qcom,ipq9574-qmp-usb3-phy
then:
properties:
clock-names:
items:
- const: aux
- const: ref
- const: cfg_ahb
- const: pipe
- if:
properties:
compatible:
contains:
enum:
- qcom,sa8775p-qmp-usb3-uni-phy
- qcom,sc8280xp-qmp-usb3-uni-phy
then:
properties:
clocks:
maxItems: 4
clock-names:
items:
- const: aux
- const: ref
- const: com_aux
- const: pipe
required:
- power-domains
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