diff mbox series

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

Message ID 30c7d87ab46a0ea2da2dd04d824f162a2e3da4c8.1632805672.git.shubhrajyoti.datta@xilinx.com (mailing list archive)
State Accepted
Commit 387ee9fe458775e4b90172ab375e009601dd41ac
Headers show
Series usb: gadget: Add clock support | expand

Commit Message

Shubhrajyoti Datta Sept. 28, 2021, 5:27 a.m. UTC
Add a clocking node for xilinx udc.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
---
v3:
update clock description and names

 Documentation/devicetree/bindings/usb/xlnx,usb2.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Rob Herring (Arm) Sept. 29, 2021, 10:50 p.m. UTC | #1
On Tue, 28 Sep 2021 10:57:10 +0530, Shubhrajyoti Datta wrote:
> Add a clocking node for xilinx udc.
> 
> Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
> ---
> v3:
> update clock description and names
> 
>  Documentation/devicetree/bindings/usb/xlnx,usb2.yaml | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

Acked-by: Rob Herring <robh@kernel.org>
Greg KH Oct. 5, 2021, 10:55 a.m. UTC | #2
On Tue, Sep 28, 2021 at 10:57:10AM +0530, Shubhrajyoti Datta wrote:
> Add a clocking node for xilinx udc.
> 
> Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
> ---
> v3:
> update clock description and names
> 
>  Documentation/devicetree/bindings/usb/xlnx,usb2.yaml | 6 ++++++

This file is not in my tree, where does it come from?

thanks,

greg k-h
Michal Simek Oct. 5, 2021, 10:59 a.m. UTC | #3
On 10/5/21 12:55 PM, Greg KH wrote:
> On Tue, Sep 28, 2021 at 10:57:10AM +0530, Shubhrajyoti Datta wrote:
>> Add a clocking node for xilinx udc.
>>
>> Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
>> ---
>> v3:
>> update clock description and names
>>
>>  Documentation/devicetree/bindings/usb/xlnx,usb2.yaml | 6 ++++++
> 
> This file is not in my tree, where does it come from?

In linux-next I see that Rob has applied it to his tree as commit
ecc4103f32e9 ("dt-binding: usb: xilinx: Convert binding to YAML")

Thanks,
Michal
Rob Herring (Arm) Oct. 8, 2021, 7:32 p.m. UTC | #4
On Tue, 28 Sep 2021 10:57:10 +0530, Shubhrajyoti Datta wrote:
> Add a clocking node for xilinx udc.
> 
> Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
> ---
> v3:
> update clock description and names
> 
>  Documentation/devicetree/bindings/usb/xlnx,usb2.yaml | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

Since I picked up the conversion, applied. Thanks!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml b/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml
index b8acc415eaf1..04c123c7252a 100644
--- a/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml
+++ b/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml
@@ -24,6 +24,12 @@  properties:
       If present, hardware has dma capability.
     type: boolean
 
+  clocks:
+    minItems: 1
+
+  clock-names:
+    const: s_axi_aclk
+
 required:
   - compatible
   - reg