summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2022-09-02 10:07:04 +0200
committerVinod Koul <vkoul@kernel.org>2022-09-13 20:05:25 +0530
commit3876ed2b45759b805ba71e9356cb7d56c8183cdd (patch)
treea82e8c39f4bc62b34538f478d18d8fb7a2c8854e
parentb0131107335d21d0b25019ce18d82e93b13b9559 (diff)
dt-bindings: phy: qcom,qmp-usb: add missing power-domains property
At least the "sc8280xp-qmp-usb3-uni-phy" binding requires a power domain to be specified. Fixes: aa27597e594c ("dt-bindings: phy: qcom,qmp: Add compatible for SC8280XP USB phys") Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220902080705.12050-2-johan+linaro@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml
index 25e01ec4799d..7acb4b7de7f9 100644
--- a/Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml
@@ -58,6 +58,9 @@ properties:
minItems: 3
maxItems: 4
+ power-domains:
+ maxItems: 1
+
resets:
maxItems: 2
@@ -270,6 +273,16 @@ allOf:
compatible:
contains:
enum:
+ - qcom,sc8280xp-qmp-usb3-uni-phy
+ then:
+ required:
+ - power-domains
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
- qcom,sdm845-qmp-usb3-phy
- qcom,sm8150-qmp-usb3-phy
- qcom,sm8350-qmp-usb3-phy