Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751691AbdFGMda (ORCPT ); Wed, 7 Jun 2017 08:33:30 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:37607 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751489AbdFGMd2 (ORCPT ); Wed, 7 Jun 2017 08:33:28 -0400 Subject: Re: [PATCH 2/3] dt-bindings: Add Broadcom STB USB PHY binding document To: Al Cooper , References: <1496426512-10590-1-git-send-email-alcooperx@gmail.com> <1496426512-10590-3-git-send-email-alcooperx@gmail.com> CC: Rob Herring , Mark Rutland , Florian Fainelli , , Greg Kroah-Hartman , , From: Kishon Vijay Abraham I Message-ID: Date: Wed, 7 Jun 2017 18:02:49 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <1496426512-10590-3-git-send-email-alcooperx@gmail.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1177 Lines: 33 Hi, On Friday 02 June 2017 11:31 PM, Al Cooper wrote: > Add DT bindings document for Broadcom STB USB PHYs > > Signed-off-by: Al Cooper > --- > .../bindings/phy/brcm,brcmstb-usb-phy.txt | 37 ++++++++++++++++++++++ > 1 file changed, 37 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.txt > > diff --git a/Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.txt b/Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.txt > new file mode 100644 > index 0000000..e1e9b16 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.txt > @@ -0,0 +1,37 @@ > +Broadcom STB USB PHY > + > +Required properties: > + - compatible: brcm,brcmstb-usb-phy > + - reg: two offset and length pairs. The second pair specifies optional > + registers used by some of the SoCs that support USB 3.x and the first pair? > + - #phy-cells: Shall be 1 as it expects one argument for setting > + the type of the PHY. Possible values are 0 (1.1 and 2.0), > + 1 (3.x) It should use PHY_TYPE_USB2 or PHY_TYPE_USB3 (see include/dt-bindings/phy/phy.h). Thanks Kishon