Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753100AbcLEXJo (ORCPT ); Mon, 5 Dec 2016 18:09:44 -0500 Received: from mail-oi0-f67.google.com ([209.85.218.67]:33906 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751590AbcLEXJl (ORCPT ); Mon, 5 Dec 2016 18:09:41 -0500 Date: Mon, 5 Dec 2016 17:09:39 -0600 From: Rob Herring To: Raviteja Garimella Cc: Mark Rutland , Kishon Vijay Abraham I , Ray Jui , Scott Branden , Jon Mason , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/3] Add DT bindings documentation for NS2 USB DRD phy Message-ID: <20161205230939.j6kmns3oll4eddsv@rob-hp-laptop> References: <1480485338-23451-1-git-send-email-raviteja.garimella@broadcom.com> <1480485338-23451-2-git-send-email-raviteja.garimella@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1480485338-23451-2-git-send-email-raviteja.garimella@broadcom.com> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1482 Lines: 40 On Wed, Nov 30, 2016 at 11:25:36AM +0530, Raviteja Garimella wrote: > This patch adds documentation for NS2 DRD Phy driver DT bindings > > Signed-off-by: Raviteja Garimella > --- > .../devicetree/bindings/phy/brcm,ns2-drd-phy.txt | 40 ++++++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/brcm,ns2-drd-phy.txt > > diff --git a/Documentation/devicetree/bindings/phy/brcm,ns2-drd-phy.txt b/Documentation/devicetree/bindings/phy/brcm,ns2-drd-phy.txt > new file mode 100644 > index 0000000..5857f99 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/brcm,ns2-drd-phy.txt > @@ -0,0 +1,40 @@ > +BROADCOM NORTHSTAR2 USB2 (DUAL ROLE DEVICE) PHY > + > +Required properties: > + - compatible: brcm,ns2-drd-phy > + - reg: offset and length of the NS2 PHY related registers. > + - reg-names > + The below registers must be provided. > + icfg - for DRD ICFG configurations > + rst-ctrl - for DRD IDM reset > + crmu-ctrl - for CRMU core vdd, PHY and PHY PLL reset > + usb2-strap - for port over current polarity reversal > + - #phy-cells: Must be 0. No args required. > + - vbus-gpios: vbus gpio binding > + - id-gpios: id gpio binding > + > +Refer to phy/phy-bindings.txt for the generic PHY binding properties > + > +Example: > + gpio_g: gpio@660a0000 { You don't really need to show gpio node for the example. Otherwise, Acked-by: Rob Herring Rob