From patchwork Fri Jun 2 18:01:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Cooper X-Patchwork-Id: 9763159 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 49A52602BF for ; Fri, 2 Jun 2017 18:09:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3DCC628589 for ; Fri, 2 Jun 2017 18:09:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 30E6928593; Fri, 2 Jun 2017 18:09:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A98FD28589 for ; Fri, 2 Jun 2017 18:09:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=K2jg+2zDPfU//h/Q4ZKUk6ltqm1uE5gSXImoA35uu90=; b=n9bNQ/VZhDaLGSjZeQtrD/pG0T +G0XofDe6ZbPKV6Dis0IhK+k/X2Imedt9SXwbzDwY7Xe+e3lV5h2cBNe3WUeNexHtJPErQxAjqu3p CP6nUiEtmNUlJmfSRgwdC0ztdGebC9eyky7Zl09bMcA+ZdV1cqXMfA5LF/JiuyoaobIClgOf4x0/D dXqTkfukDrpnqrr43X5vGr0Sm5EwURv2aPwnDTJnJx8vjCuk6EhjlM1xbgYyuQS+NAYKzT99fAQS8 NkghbRWLMKgcSadhrRm4lBWljUnFVNYSWdyCVl9TkwkheLfsKB3NN6LcoZLYKh/3b6lrp9RluS2IY He6LZ1uw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dGr0V-00033U-6E; Fri, 02 Jun 2017 18:09:07 +0000 Received: from lpdvrndsmtp01.broadcom.com ([192.19.229.170] helo=rnd-relay.smtp.broadcom.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dGr06-0002Vs-M1 for linux-arm-kernel@lists.infradead.org; Fri, 02 Jun 2017 18:08:44 +0000 Received: from mail-irv-17.broadcom.com (mail-irv-17.lvn.broadcom.net [10.75.224.233]) by rnd-relay.smtp.broadcom.com (Postfix) with ESMTP id 4575B30C00A; Fri, 2 Jun 2017 11:08:25 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 rnd-relay.smtp.broadcom.com 4575B30C00A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1496426905; bh=AmI0YEV6mq88ae8Lp0PYHwZepEUA2zdls0WjSamnnrA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WLIPep1sC+HNVzoAJaJcxM+k6+/xyJKSc2lpZWITN/EmGEyzLRVoTjQGQhiwVjKTU hZTa7KB3e7LwU+dnhX8F6oenouElejYIPPmnASdu8QH7rSWusP0bCz5DL39RrweMF2 qVeHWJHFHA+m28pt87w1T2h308BLnT7B6pAeUW9c= Received: from stbsrv-and-3.and.broadcom.com (stbsrv-and-3.and.broadcom.com [10.28.16.21]) by mail-irv-17.broadcom.com (Postfix) with ESMTP id 44A1281EE9; Fri, 2 Jun 2017 11:08:23 -0700 (PDT) From: Al Cooper To: linux-kernel@vger.kernel.org Subject: [PATCH 2/3] dt-bindings: Add Broadcom STB USB PHY binding document Date: Fri, 2 Jun 2017 14:01:51 -0400 Message-Id: <1496426512-10590-3-git-send-email-alcooperx@gmail.com> X-Mailer: git-send-email 1.9.0.138.g2de3478 In-Reply-To: <1496426512-10590-1-git-send-email-alcooperx@gmail.com> References: <1496426512-10590-1-git-send-email-alcooperx@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170602_110842_868378_4151DBF2 X-CRM114-Status: UNSURE ( 9.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Florian Fainelli , Greg Kroah-Hartman , Al Cooper , Kishon Vijay Abraham I , Rob Herring , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 + - #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) + +Optional Properties: +- clocks : clock phandles. +- clock-names: String, clock name. +- brcm,ipp: Boolean, Invert Port Power. + Possible values are: 0 (Don't invert), 1 (Invert) +- brcm,ioc: Boolean, Invert Over Current detection. + Possible values are: 0 (Don't invert), 1 (Invert) +- brcm,has-xhci: Boolean indicating an optional 3.x only XHCI controller. +- brcm,has-xhci-only: Boolean indicating an XHCI controller that supports + 1.1, 2.0 and 3.0 devices +- brcm,device: String, PHY Device mode. + Possible values are: off (Host), on (Device), dual (DRD) + or typec-pd (Type-C PD control) + +Example: + +usbphy_0: usb-phy@f0470200 { + reg = <0xf0470200 0xb8>, + <0xf0471940 0x6c0>; + compatible = "brcm,brcmstb-usb-phy"; + #phy-cells = <1>; + brcm,ioc = <1>; + brcm,ipp = <1>; + brcm,has-xhci; + clocks = <&usb20>, <&usb30>; + clock-names = "sw_usb", "sw_usb3"; +};