Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp624694imu; Thu, 13 Dec 2018 01:23:36 -0800 (PST) X-Google-Smtp-Source: AFSGD/UFWG5hw4e0kLl4oslFvFmjllhfL8CmA4LWi3F/kpl7x04AZCswQHlTCSUsf3t4pO6IYc3A X-Received: by 2002:a62:62c5:: with SMTP id w188mr23619855pfb.160.1544693016028; Thu, 13 Dec 2018 01:23:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544693016; cv=none; d=google.com; s=arc-20160816; b=Y3I5FWnJsyI+a6NRQCFB0UtjpK3+laou6Xm1X32ahOsx1ntTBWeAa6LbGSKwcqOAOo imfAXytedAnGi+V9B08FCqhMjQfylvE+poOLoK2kHKDR0obGDa0DQf99ey303wrBvFI9 td34WnmWyLet0jMNeTLnvFwR810mYeR9IbBC4qSxPCRuUrJT/y5ZYwdBnhFhlb3fTz/f S0A9MbHhByGMMp0hlYG2wQ2lGwyBlzuAEqsQb+LUXAH7Y6xNd2Pb9ehaco8kTerNLhaC YYVzds0PydWFoT8G+pmHGZvJaTcoFMLi/dTX4479IO0kgVHWI28YXPw1jHe1SW5yskKZ Dwhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ssi74EFhzvk4hkl+CKBc5pU0Zt7ykonCrGFTKNL/QfE=; b=OVISCBYnxAs6AIIi9ulUolASIpxzu7i05mtR3tx1GSZCaDhIm4tTcVUVB1c/vN9Agx f3o6HCBgcQTiyOPXpE6h6v5NJrYukeaMgocP4okjGhs1axg0w935PpUqz4xv5DENxkaR EMVhlHCRChLEsSnK3DKPw+67F7hHVuqLR3Bk8mK62RdqgVCHdqVKreXeXeSEcPNi6hLI /dQ+cCdscJI2gb04LuecgKGGfZsGtnNWfILQrP5eG9JGaa2qcRO4RXGohC3mIr7OouxJ 00E5K3yYB4Tz8PlA+OzoNzk3tdmI33m2Gdmab2fHCsEJ5Ui7jyyu5Dd4FkRTup3kLzv4 Rxrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A5yVLycB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r25si1275402pfk.28.2018.12.13.01.23.21; Thu, 13 Dec 2018 01:23:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A5yVLycB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727991AbeLMJVJ (ORCPT + 99 others); Thu, 13 Dec 2018 04:21:09 -0500 Received: from mail-it1-f194.google.com ([209.85.166.194]:53011 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727548AbeLMJVI (ORCPT ); Thu, 13 Dec 2018 04:21:08 -0500 Received: by mail-it1-f194.google.com with SMTP id g76so2676868itg.2; Thu, 13 Dec 2018 01:21:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ssi74EFhzvk4hkl+CKBc5pU0Zt7ykonCrGFTKNL/QfE=; b=A5yVLycBb8uEFABHNuxa6+YocnBLhgRW74m8799lEg9aTWzseJ2ko/UT27GVm/I8G7 w7HtYbuUMGwBbdGs0SNcq0FqEuK7aWNSHiiGDu4lR3spsO1ib1xN2TRZs++ILGw7McuJ tr8w1S6o+Zo6LYICOUf86FaaQ23g+rGpLaELnCRl74ZTU6xvlpHXCdjYQF5AK92FCAJp UD9lC4RItGeuOn5qDzBYO90EDeywrF/fgLUK8DczT4MfNyIi6SWhE61rfPQ8sM6P3eH2 MRvrv1m7pUlXqcxKVIUt+CW7cCSlr1q/IuZrMs2kMKPxLd9SzHWbYF8YHxqKafDpbxrP lUkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ssi74EFhzvk4hkl+CKBc5pU0Zt7ykonCrGFTKNL/QfE=; b=Wod7/s4msDY4L+ad7n3M5TFlIMcPYx13fHhjJKh9dBUErGqin7PYzb56D4Fento4wO 5sexlvjRtM0K8p95WeedrEeoeuC81YlQIjA0OW7AwpwSBs9Mq2TJAF9atVKKxxFJ4RdY C7s57GS6+pz/47MHBBSxYe8odtiCQ+BpFpKgkUnys+LWNS/qx177U5M1TfB+d4X390tH bXMxfI5bdbdrPk4frj4Mep4rFjUlWD6WLi5iekmSC1lAuk0VZ2fu5Lw3jYRECzQPmwN0 xWwyrCsjCO6NULM6NeynkBSazODv/d1IR3ZiqDGlUYE9lqrcgIQ+jZfpWUjbSR5Ygsy1 a/JQ== X-Gm-Message-State: AA+aEWb+jrjUJIdkn8Ydw+28FBFotu72rE8KJZx205tfbilxCjv890PJ he8sgGDzHlDQdfHBLioCto966PYVM64fNDqLXaE= X-Received: by 2002:a02:97fd:: with SMTP id v58mr23203088jaj.115.1544692867925; Thu, 13 Dec 2018 01:21:07 -0800 (PST) MIME-Version: 1.0 References: <1544445555-17325-1-git-send-email-pawell@cadence.com> <1544445555-17325-2-git-send-email-pawell@cadence.com> <5C0F8E7B.3030601@ti.com> In-Reply-To: <5C0F8E7B.3030601@ti.com> From: Peter Chen Date: Thu, 13 Dec 2018 17:20:57 +0800 Message-ID: Subject: Re: [PATCH v1 1/2] dt-bindings: add binding for USBSS-DRD controller. To: rogerq@ti.com Cc: pawell@cadence.com, devicetree@vger.kernel.org, Greg Kroah-Hartman , linux-usb@vger.kernel.org, balbi@kernel.org, lkml , adouglas@cadence.com, jbergsagel@ti.com, nsekhar@ti.com, nm@ti.com, sureshp@cadence.com, peter.chen@nxp.com, pjez@cadence.com, kurahul@cadence.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 11, 2018 at 6:19 PM Roger Quadros wrote: > > Pawel, > > On 10/12/18 14:39, Pawel Laszczak wrote: > > This patch aim at documenting USB related dt-bindings for the > > Cadence USBSS-DRD controller. > > > > Signed-off-by: Pawel Laszczak > > --- > > .../devicetree/bindings/usb/cdns3-usb.txt | 31 +++++++++++++++++++ > > 1 file changed, 31 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/usb/cdns3-usb.txt > > > > diff --git a/Documentation/devicetree/bindings/usb/cdns3-usb.txt b/Documentation/devicetree/bindings/usb/cdns3-usb.txt > > new file mode 100644 > > index 000000000000..ae4a255f0b10 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/usb/cdns3-usb.txt > > @@ -0,0 +1,31 @@ > > +Binding for the Cadence USBSS-DRD controller > > + > > +Required properties: > > + - reg: Physical base address and size of the controller's register areas. > > + Controller has 3 different regions: > > + region 1 - HOST registers area > > + region 2 - DEVICE registers area > > + region 3 - OTG/DRD registers area > > + - compatible: Should contain: "cdns,usb3" > > + - interrupts: Interrupt specifier. Refer to interrupt bindings. > > + Driver supports only single interrupt line. > > + This single interrupt is shared between Device, > > + host and OTG/DRD part of driver. > > + > > +Optional propertiesi: > > s/propertiesi/properties > > > + - maximum-speed : valid arguments are "super-speed", "high-speed" and > > + "full-speed"; refer to usb/generic.txt > > + - dr_mode: Should be one of "host", "peripheral" or "otg". > > + - phys: reference to the USB PHY > > + - phy-names: name of the USB PHY, should be "cdns3,usbphy" > > + > > + > > +Example: > > + usb@f3000000 { > > + compatible = "cdns,usb3"; > > + interrupts = ; > > + reg = <0xf3000000 0x10000 //memory area for HOST registers > > + 0xf3010000 0x10000 //memory area for DEVICE registers > > + 0xf3020000 0x10000>; //memory area for OTG/DRD registers > > Use "/* */" instead. > > > + }; > > + > > When running git am to apply patch, it has below warning, please fix them. Applying: dt-bindings: add binding for USBSS-DRD controller. .git/rebase-apply/patch:42: new blank line at EOF. + warning: 1 line adds whitespace errors.