Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4286190pxk; Tue, 8 Sep 2020 16:08:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0ek2T8XCzilHf5fVZwShPJ2TK5cE1WX0Nij8KhjQH83X+Yd/PYIhW4dqLawXj85vqh4Xl X-Received: by 2002:a50:8062:: with SMTP id 89mr1306768eda.241.1599606536157; Tue, 08 Sep 2020 16:08:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599606536; cv=none; d=google.com; s=arc-20160816; b=y6A8LpuBLzO0Bk1bkuQWry7Gu5jZxH17SEQYld6+IMB4XLC4ILGoSzc+y6Ev/+tDfo eabsKooksEXsdbAJgL3GS4xpOSwzfP+DQ/YeqavHkDBL9icFH7mJI/6sD+dCXsx2fvOp obFJTQwWB2ar/++pDQj1mh5DrSR7ei1Zudq4moTdjwGmva9D2eiK9fWWbKIrkvi+sWyv OEY3l4pMHDLlGYKpI6VgZjWWKLvxZ1nSKMKbwuhyc15IFKIGZK6D4C/DOo0UC3d06c1x TDaB7LAOM1kBfummK3BOVRytE0pZyFDPCvX8MpPlRwmdBRl3bygTZRipCrXQp1hu+DZt uUzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=/qeqE/5fPzRv3YsJ66Yy8YazV/xbUggNlRPkCJRA0bA=; b=a9yDf6LQ+R6OfvydURtGk4e9pOWTN6q/3wZZIDfCLORiWvUbW+2kPCQwA9Q/onFSpg w47EK2RH9ySaSGnlU1L5IVMeVEsKMAoACL1J9lqf6evvpALIT2/Zvd0luBpPet9+5UUv bB4HQ4GjEfATBl3sU9gTAtQdBZ3VXbaHD4yh2nJJ2fZjGyd2+U4/oHcZBmIdkVUxzoB0 1y9g5h6epR4OXhZO8V6LkcPYL6tNLQ7y5atQvT/gA6RtAaHFbVJPI08x2hWjLRuHKYZn wfdfrWK0/4Nu2/FchyhDotl2ZJKBJQTVJ77blEC1HSCHuZaXt8Wk1JD5b/E85jkDiEza 5xpA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o18si350300edr.51.2020.09.08.16.08.32; Tue, 08 Sep 2020 16:08:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729529AbgIHXF2 (ORCPT + 99 others); Tue, 8 Sep 2020 19:05:28 -0400 Received: from mail-il1-f193.google.com ([209.85.166.193]:36667 "EHLO mail-il1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726657AbgIHXFY (ORCPT ); Tue, 8 Sep 2020 19:05:24 -0400 Received: by mail-il1-f193.google.com with SMTP id p13so559620ils.3; Tue, 08 Sep 2020 16:05:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=/qeqE/5fPzRv3YsJ66Yy8YazV/xbUggNlRPkCJRA0bA=; b=MhrCfIi4c7NwDcTW8chKtWpsLVVW1UHnw7zL2MywIAM1XkCyWaaMUYNFindw4Zgy4O j9RIxvawBB5welx0TW3np/bbZGWaOOJ0x3K25fUrQWIynXa5o+lzeUor4MjAhxqffDDo dDK6awCoLx7HQ3CmzcjS//93Bvft34W5gKBGxwAEXYDVpd2PKJKrmuK2BDtiGWcv9x45 y+gVSr7GIhIpsCZKM0sj07Irqjmfrg5dfMkxhJNizx+T2SbOSE7vjawxWTQ8Fow8OIeA i933SI/YLwYcVPnchVQ24ZFa+r24gdIIHgvAmCSCgvSefOecJfI3lv1MSgqMLnPbE3dP WUug== X-Gm-Message-State: AOAM530jtjE3A/9U7XkGT1kz92R4U6VlCyMB6DP0qTxjKJkhhQH2V3jC CQIfih8rSunCFTXTXDPvig== X-Received: by 2002:a92:c009:: with SMTP id q9mr1098800ild.73.1599606323035; Tue, 08 Sep 2020 16:05:23 -0700 (PDT) Received: from xps15 ([64.188.179.251]) by smtp.gmail.com with ESMTPSA id k2sm372555ioj.2.2020.09.08.16.05.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 16:05:22 -0700 (PDT) Received: (nullmailer pid 1108505 invoked by uid 1000); Tue, 08 Sep 2020 23:05:20 -0000 Date: Tue, 8 Sep 2020 17:05:20 -0600 From: Rob Herring To: Manish Narani Cc: gregkh@linuxfoundation.org, michal.simek@xilinx.com, balbi@kernel.org, p.zabel@pengutronix.de, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, git@xilinx.com Subject: Re: [PATCH 1/2] dt-bindings: usb: dwc3-xilinx: Add documentation for Versal DWC3 Controller Message-ID: <20200908230520.GA1102401@bogus> References: <1598467441-124203-1-git-send-email-manish.narani@xilinx.com> <1598467441-124203-2-git-send-email-manish.narani@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1598467441-124203-2-git-send-email-manish.narani@xilinx.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 27, 2020 at 12:14:00AM +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 > --- > .../devicetree/bindings/usb/dwc3-xilinx.txt | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/usb/dwc3-xilinx.txt b/Documentation/devicetree/bindings/usb/dwc3-xilinx.txt > index 4aae5b2cef56..dd41ed831411 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,19 @@ 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. > +- interrupt-names: This property provides the names of the interrupt ids used You have to define what the names are. 'dwc_usb3' seems pretty pointless if only 1 name. > + > Example device node: > > usb@0 { > #address-cells = <0x2>; > #size-cells = <0x1>; > compatible = "xlnx,zynqmp-dwc3"; > + reg = <0x0 0xff9d0000 0x0 0x100>; > clock-names = "bus_clk" "ref_clk"; > clocks = <&clk125>, <&clk125>; > ranges; > @@ -26,7 +34,9 @@ Example device node: > dwc3@fe200000 { > compatible = "snps,dwc3"; > reg = <0x0 0xfe200000 0x40000>; > + interrupt-name = "dwc_usb3"; > interrupts = <0x0 0x41 0x4>; > dr_mode = "host"; > + dma-coherent; > }; > }; > -- > 2.17.1 >