diff mbox series

[v5,6/8] dt-bindings: usb: dwc3: add description for rk3328

Message ID 20210209192350.7130-6-jbx6244@gmail.com
State New
Headers show
Series [v5,1/8] dt-bindings: usb: convert rockchip,dwc3.txt to yaml | expand

Commit Message

Johan Jonker Feb. 9, 2021, 7:23 p.m. UTC
Add description for "rockchip,rk3328-dwc3".

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
Changed V5:
  add select
---
 Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Rob Herring (Arm) Feb. 10, 2021, 6:43 p.m. UTC | #1
On Tue, 09 Feb 2021 20:23:48 +0100, Johan Jonker wrote:
> Add description for "rockchip,rk3328-dwc3".
> 
> Signed-off-by: Johan Jonker <jbx6244@gmail.com>
> ---
> Changed V5:
>   add select
> ---
>  Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml | 4 ++++
>  1 file changed, 4 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml b/Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml
index 9908270a9..04077f2d7 100644
--- a/Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml
@@ -28,6 +28,7 @@  select:
     compatible:
       contains:
         enum:
+          - rockchip,rk3328-dwc3
           - rockchip,rk3399-dwc3
   required:
     - compatible
@@ -36,6 +37,7 @@  properties:
   compatible:
     items:
       - enum:
+          - rockchip,rk3328-dwc3
           - rockchip,rk3399-dwc3
       - const: snps,dwc3
 
@@ -46,6 +48,7 @@  properties:
     maxItems: 1
 
   clocks:
+    minItems: 3
     items:
       - description:
           Controller reference clock, must to be 24 MHz
@@ -58,6 +61,7 @@  properties:
           Controller grf clock
 
   clock-names:
+    minItems: 3
     items:
       - const: ref_clk
       - const: suspend_clk