lkml.org 
[lkml]   [2020]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2 1/2] dt-bindings: usb: dwc3-xilinx: Add documentation for Versal DWC3 Controller
Date
Rob Herring <robh@kernel.org> writes:

> On Thu, Sep 10, 2020 at 12:33:04AM +0530, Manish Narani wrote:
>> Add documentation for Versal DWC3 controller. Add required property
>> 'reg' for the same. Also add optional properties for snps,dwc3.
>>
>> Signed-off-by: Manish Narani <manish.narani@xilinx.com>
>> ---
>> .../devicetree/bindings/usb/dwc3-xilinx.txt | 20 +++++++++++++++++--
>> 1 file changed, 18 insertions(+), 2 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/usb/dwc3-xilinx.txt b/Documentation/devicetree/bindings/usb/dwc3-xilinx.txt
>> index 4aae5b2cef56..219b5780dbee 100644
>> --- a/Documentation/devicetree/bindings/usb/dwc3-xilinx.txt
>> +++ b/Documentation/devicetree/bindings/usb/dwc3-xilinx.txt
>> @@ -1,7 +1,8 @@
>> Xilinx SuperSpeed DWC3 USB SoC controller
>>
>> Required properties:
>> -- compatible: Should contain "xlnx,zynqmp-dwc3"
>> +- compatible: May contain "xlnx,zynqmp-dwc3" or "xlnx,versal-dwc3"
>> +- reg: Base address and length of the register control block
>> - clocks: A list of phandles for the clocks listed in clock-names
>> - clock-names: Should contain the following:
>> "bus_clk" Master/Core clock, have to be >= 125 MHz for SS
>> @@ -13,12 +14,24 @@ Required child node:
>> A child node must exist to represent the core DWC3 IP block. The name of
>> the node is not important. The content of the node is defined in dwc3.txt.
>>
>> +Optional properties for snps,dwc3:
>> +- dma-coherent: Enable this flag if CCI is enabled in design. Adding this
>> + flag configures Global SoC bus Configuration Register and
>> + Xilinx USB 3.0 IP - USB coherency register to enable CCI.
>> +- snps,enable-hibernation: Add this flag to enable hibernation support for
>> + peripheral mode.
>
> This belongs in the DWC3 binding. It also implies that hibernation is
> not supported by any other DWC3 based platform. Can't this be implied by
> the compatible string (in the parent)?

hibernation support is detectable in runtime, and we've been using that.

--
balbi
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-09-24 09:17    [W:0.051 / U:0.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site