diff mbox series

[next,v2,2/3] dt-bindings: usb: microchip,usb2514: add support for USB2512/USB2513

Message ID 20250212135649.3431570-2-catalin.popescu@leica-geosystems.com (mailing list archive)
State Superseded
Headers show
Series [next,v2,1/3] dt-bindings: usb: microchip,usb2514: add support for vdda | expand

Commit Message

Catalin Popescu Feb. 12, 2025, 1:56 p.m. UTC
Extend support to Microchip hubs USB2512 & USB2513 which are identical
to USB2514 but offer less downstream ports (i.e. respectively 2 and 3
ports).

Signed-off-by: Catalin Popescu <catalin.popescu@leica-geosystems.com>
---
v2:
- remove needless "items" keyword from "oneOf"
---
 .../bindings/usb/microchip,usb2514.yaml          | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

Comments

Conor Dooley Feb. 12, 2025, 7:13 p.m. UTC | #1
On Wed, Feb 12, 2025 at 02:56:48PM +0100, Catalin Popescu wrote:
> Extend support to Microchip hubs USB2512 & USB2513 which are identical
> to USB2514 but offer less downstream ports (i.e. respectively 2 and 3
> ports).
> 
> Signed-off-by: Catalin Popescu <catalin.popescu@leica-geosystems.com>

Acked-by: Conor Dooley <conor.dooley@microchip.com>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml b/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml
index aeffdf0362c2..dcbd4bd116b0 100644
--- a/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml
+++ b/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml
@@ -11,11 +11,17 @@  maintainers:
 
 properties:
   compatible:
-    enum:
-      - usb424,2412
-      - usb424,2417
-      - usb424,2514
-      - usb424,2517
+    oneOf:
+      - enum:
+          - usb424,2412
+          - usb424,2417
+          - usb424,2514
+          - usb424,2517
+      - items:
+          - enum:
+              - usb424,2512
+              - usb424,2513
+          - const: usb424,2514
 
   reg: true