diff mbox series

[v3,1/2] dt-binding: usb: xilinx: Add clocking node

Message ID 625a34188da7fcc4132b8717afd3d69e6bdc3316.1632307026.git.shubhrajyoti.datta@xilinx.com
State Changes Requested, archived
Headers show
Series usb: gadget: Add clock support | expand

Checks

Context Check Description
robh/checkpatch success

Commit Message

Shubhrajyoti Datta Sept. 22, 2021, 11:11 a.m. UTC
Add a clocking node for xilinx udc.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
---
 Documentation/devicetree/bindings/usb/xlnx,usb2.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Rob Herring (Arm) Sept. 27, 2021, 7 p.m. UTC | #1
On Wed, Sep 22, 2021 at 04:41:25PM +0530, Shubhrajyoti Datta wrote:
> Add a clocking node for xilinx udc.
> 
> Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
> ---
>  Documentation/devicetree/bindings/usb/xlnx,usb2.yaml | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml b/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml
> index b8acc415eaf1..39213806ac79 100644
> --- a/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml
> +++ b/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml
> @@ -24,6 +24,14 @@ properties:
>        If present, hardware has dma capability.
>      type: boolean
>  
> +  clocks:
> +    minItems: 1
> +
> +  clock-name:

I think you meant 'clock-names'.

> +    const: "s_axi_aclk"

Don't need quotes.

> +    description: |
> +      Input clock name.

That's every 'clock-names'. You can drop description.

> +
>  required:
>    - compatible
>    - reg
> -- 
> 2.25.1
> 
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml b/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml
index b8acc415eaf1..39213806ac79 100644
--- a/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml
+++ b/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml
@@ -24,6 +24,14 @@  properties:
       If present, hardware has dma capability.
     type: boolean
 
+  clocks:
+    minItems: 1
+
+  clock-name:
+    const: "s_axi_aclk"
+    description: |
+      Input clock name.
+
 required:
   - compatible
   - reg