Skip to contentSkip to conversation

dt-bindings: phy: qcom,qmp: add missing power-domains properties

PATCH Applied Johan Hovold 3 participants 6 messages Sep 2, 2022 – Sep 13, 2022

Subsystems (3)
lore
Share & tools
lore
#3 lore raw

PATCH 2/2 dt-bindings: phy: qcom,qmp-usb3-dp: add missing power-domains property

In reply to Johan Hovold

At least the "qcom,sc8280xp-qmp-usb43dp-phy" binding requires a power domain to be specified.

Fixes aa27597e594c ("dt-bindings: phy: qcom,qmp: Add compatible for SC8280XP USB phys")
---
 .../bindings/phy/qcom,qmp-usb3-dp-phy.yaml         | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml +14 -0
index abc29686dff6..97a7ecafbf85 100644
@@ -53,6 +53,9 @@ properties:
       - const: ref
       - const: com_aux
 
+  power-domains:
+    maxItems: 1
+
   resets:
     items:
       - description: reset of phy block.
@@ -159,6 +162,17 @@ required:
 
 additionalProperties: false
 
+allOf:
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - qcom,sc8280xp-qmp-usb43dp-phy
+    then:
+      required:
+        - power-domains
+
 examples:
   - |
     #include <dt-bindings/clock/qcom,gcc-sdm845.h>
Signature · 1 line
2.35.1
#1 lore raw

PATCH 1/2 dt-bindings: phy: qcom,qmp-usb: add missing power-domains property

In reply to Johan Hovold

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")
---
 .../devicetree/bindings/phy/qcom,qmp-usb-phy.yaml   | 13 +++++++++++++
 1 file changed, 13 insertions(+)
Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml +13 -0
index 25e01ec4799d..7acb4b7de7f9 100644
@@ -58,6 +58,9 @@ properties:
     minItems: 3
     maxItems: 4
 
+  power-domains:
+    maxItems: 1
+
   resets:
     maxItems: 2
 
@@ -265,6 +268,16 @@ allOf:
             - const: phy_phy
             - const: phy
 
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - qcom,sc8280xp-qmp-usb3-uni-phy
+    then:
+      required:
+        - power-domains
+
   - if:
       properties:
         compatible:
Signature · 1 line
2.35.1
#0 lore raw

cover dt-bindings: phy: qcom,qmp: add missing power-domains properties

The new SC8280XP USB PHYs require a power domain to be specified so amend the bindings.

Johan

Johan Hovold (2):
dt-bindings: phy: qcom,qmp-usb: add missing power-domains property
dt-bindings: phy: qcom,qmp-usb3-dp: add missing power-domains property

 .../devicetree/bindings/phy/qcom,qmp-usb-phy.yaml  | 13 +++++++++++++
 .../bindings/phy/qcom,qmp-usb3-dp-phy.yaml         | 14 ++++++++++++++
 2 files changed, 27 insertions(+)
Signature · 7 lines
2.35.1


-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
maintainer Reviewed-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] dt-bindings: phy: qcom,qmp-usb: add missing power-domains property

In reply to Johan Hovold
Quoted 9 lines · Johan Hovold

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")
---
 .../devicetree/bindings/phy/qcom,qmp-usb-phy.yaml   | 13 +++++++++++++
 1 file changed, 13 insertions(+)
maintainer Reviewed-by on v1 2/2
#4 lore raw

Re: [PATCH 2/2] dt-bindings: phy: qcom,qmp-usb3-dp: add missing power-domains property

In reply to Johan Hovold
Quoted 9 lines · Johan Hovold

At least the "qcom,sc8280xp-qmp-usb43dp-phy" binding requires a power domain to be specified.

Fixes aa27597e594c ("dt-bindings: phy: qcom,qmp: Add compatible for SC8280XP USB phys")
---
 .../bindings/phy/qcom,qmp-usb3-dp-phy.yaml         | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
maintainer Applied
#5 lore raw
In reply to Johan Hovold
Quoted 2 lines · Johan Hovold

The new SC8280XP USB PHYs require a power domain to be specified so amend the bindings.

Applied, thanks

Signature · 6 lines
~Vinod

-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy