Skip to contentSkip to conversation

dt-bindings: usb: generic-ohci: Restrict access-controllers to ST STM32MP2 SoC

PATCH In review Marek Vasut 1 participant 3 messages Sep 7 – Nov 11

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dt-bindings: usb: generic-ohci: Restrict access-controllers to ST STM32MP2 SoC

Tighten the access-controllers DT property availability, restrict it only to ST STM32MP2 SoC, which is currently the only known user of it. Once more users start using access-controllers, the restriction can be losened here.

---
Cc: Alexandre Torgue <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Maxime Coquelin <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
 Documentation/devicetree/bindings/usb/generic-ohci.yaml | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/usb/generic-ohci.yaml +3 -0
index 7a8c3c2318153..cd9f51bbb445f 100644
@@ -237,6 +237,9 @@ allOf:
       required:
         - access-controllers
         - clocks
+    else:
+      properties:
+        access-controllers: false
 
 unevaluatedProperties: false
 
Signature · 1 line
2.53.0
#1 lore raw

PATCH 2/2 dt-bindings: usb: generic-ehci: Restrict access-controllers to ST STM32MP2 SoC

Tighten the access-controllers DT property availability, restrict it only to ST STM32MP2 SoC, which is currently the only known user of it. Once more users start using access-controllers, the restriction can be losened here.

---
Cc: Alexandre Torgue <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Maxime Coquelin <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
 Documentation/devicetree/bindings/usb/generic-ehci.yaml | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/usb/generic-ehci.yaml +3 -0
index 908b02d9175e0..9f5130a0e784c 100644
@@ -217,6 +217,9 @@ allOf:
       required:
         - access-controllers
         - clocks
+    else:
+      properties:
+        access-controllers: false
 
 unevaluatedProperties: false
 
Signature · 1 line
2.53.0
#2 lore raw

Re: [PATCH 2/2] dt-bindings: usb: generic-ehci: Restrict access-controllers to ST STM32MP2 SoC

Quoted 27 lines · Marek Vasut

Tighten the access-controllers DT property availability, restrict it only to ST STM32MP2 SoC, which is currently the only known user of it. Once more users start using access-controllers, the restriction can be losened here.

---
Cc: Alexandre Torgue <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Maxime Coquelin <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
  Documentation/devicetree/bindings/usb/generic-ehci.yaml | 3 +++
  1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/usb/generic-ehci.yaml +0 -0
index 908b02d9175e0..9f5130a0e784c 100644

Documentation/devicetree/bindings/usb/generic-ehci.yaml allOf: · line 225

Quoted 9 lines
Documentation/devicetree/bindings/usb/generic-ehci.yaml +3 -0
@@ -217,6 +217,9 @@ allOf:
        required:
          - access-controllers
          - clocks
+    else:
+      properties:
+        access-controllers: false
 
  unevaluatedProperties: false
 

How can we proceed with these patches ?

Thank you for your help !