{"id":817674,"url":"http://patchwork.ozlabs.org/api/patches/817674/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/1506108842-39072-3-git-send-email-alcooperx@gmail.com/","project":{"id":37,"url":"http://patchwork.ozlabs.org/api/projects/37/?format=json","name":"Devicetree Bindings","link_name":"devicetree-bindings","list_id":"devicetree.vger.kernel.org","list_email":"devicetree@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1506108842-39072-3-git-send-email-alcooperx@gmail.com>","list_archive_url":null,"date":"2017-09-22T19:34:00","name":"[V6,2/4] dt-bindings: Add Broadcom STB USB PHY binding document","commit_ref":null,"pull_url":null,"state":"not-applicable","archived":true,"hash":"80c2dbfb1ee50b0a9832a4d10334787fb9f3d1af","submitter":{"id":22252,"url":"http://patchwork.ozlabs.org/api/people/22252/?format=json","name":"Alan Cooper","email":"alcooperx@gmail.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/1506108842-39072-3-git-send-email-alcooperx@gmail.com/mbox/","series":[{"id":4696,"url":"http://patchwork.ozlabs.org/api/series/4696/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=4696","date":"2017-09-22T19:33:58","name":"Add Broadcom STB USB phy driver","version":6,"mbox":"http://patchwork.ozlabs.org/series/4696/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/817674/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/817674/checks/","tags":{},"related":[],"headers":{"Return-Path":"<devicetree-owner@vger.kernel.org>","X-Original-To":"incoming-dt@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-dt@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xzNxZ55YYz9t2l\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 05:35:46 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752038AbdIVTe4 (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tFri, 22 Sep 2017 15:34:56 -0400","from lpdvrndsmtp01.broadcom.com ([192.19.229.170]:38373 \"EHLO\n\trnd-relay.smtp.broadcom.com\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1751850AbdIVTez (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Fri, 22 Sep 2017 15:34:55 -0400","from mail-irv-17.broadcom.com (mail-irv-17.lvn.broadcom.net\n\t[10.75.224.233])\n\tby rnd-relay.smtp.broadcom.com (Postfix) with ESMTP id 959949056C;\n\tFri, 22 Sep 2017 12:34:54 -0700 (PDT)","from stbsrv-and-3.and.broadcom.com (stbsrv-and-3.and.broadcom.com\n\t[10.28.16.21])\n\tby mail-irv-17.broadcom.com (Postfix) with ESMTP id 32C0B81EAD;\n\tFri, 22 Sep 2017 12:34:53 -0700 (PDT)"],"From":"Al Cooper <alcooperx@gmail.com>","To":"linux-kernel@vger.kernel.org","Cc":"Al Cooper <alcooperx@gmail.com>, Rob Herring <robh+dt@kernel.org>,\n\tMark Rutland <mark.rutland@arm.com>,\n\tFlorian Fainelli <f.fainelli@gmail.com>,\n\tbcm-kernel-feedback-list@broadcom.com,\n\tKishon Vijay Abraham I <kishon@ti.com>,\n\tGreg Kroah-Hartman <gregkh@linuxfoundation.org>,\n\tdevicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org","Subject":"[PATCH V6 2/4] dt-bindings: Add Broadcom STB USB PHY binding\n\tdocument","Date":"Fri, 22 Sep 2017 15:34:00 -0400","Message-Id":"<1506108842-39072-3-git-send-email-alcooperx@gmail.com>","X-Mailer":"git-send-email 1.9.0.138.g2de3478","In-Reply-To":"<1506108842-39072-1-git-send-email-alcooperx@gmail.com>","References":"<1506108842-39072-1-git-send-email-alcooperx@gmail.com>","Sender":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"},"content":"Add DT bindings document for Broadcom STB USB PHYs\n\nAcked-by: Rob Herring <robh@kernel.org>\nSigned-off-by: Al Cooper <alcooperx@gmail.com>\n---\n .../bindings/phy/brcm,brcmstb-usb-phy.txt          | 43 ++++++++++++++++++++++\n 1 file changed, 43 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.txt","diff":"diff --git a/Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.txt b/Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.txt\nnew file mode 100644\nindex 0000000..24a0d06\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.txt\n@@ -0,0 +1,43 @@\n+Broadcom STB USB PHY\n+\n+Required properties:\n+ - compatible: brcm,brcmstb-usb-phy\n+ - reg: two offset and length pairs.\n+\tThe first pair specifies a manditory set of memory mapped\n+\tregisters used for general control of the PHY.\n+\tThe second pair specifies optional registers used by some of\n+\tthe SoCs that support USB 3.x\n+ - #phy-cells: Shall be 1 as it expects one argument for setting\n+\t       the type of the PHY. Possible values are:\n+\t       - PHY_TYPE_USB2 for USB1.1/2.0 PHY\n+\t       - PHY_TYPE_USB3 for USB3.x PHY\n+\n+Optional Properties:\n+- clocks : clock phandles.\n+- clock-names: String, clock name.\n+- brcm,ipp: Boolean, Invert Port Power.\n+  Possible values are: 0 (Don't invert), 1 (Invert)\n+- brcm,ioc: Boolean, Invert Over Current detection.\n+  Possible values are: 0 (Don't invert), 1 (Invert)\n+NOTE: one or both of the following two properties must be set\n+- brcm,has-xhci: Boolean indicating the phy has an XHCI phy.\n+- brcm,has-eohci: Boolean indicating the phy has an EHCI/OHCI phy.\n+- dr_mode: String, PHY Device mode.\n+  Possible values are: \"host\", \"peripheral \", \"drd\" or \"typec-pd\"\n+  If this property is not defined, the phy will default to \"host\" mode.\n+\n+Example:\n+\n+usbphy_0: usb-phy@f0470200 {\n+\treg = <0xf0470200 0xb8>,\n+\t\t<0xf0471940 0x6c0>;\n+\tcompatible = \"brcm,brcmstb-usb-phy\";\n+\t#phy-cells = <1>;\n+\tdr_mode = \"host\"\n+\tbrcm,ioc = <1>;\n+\tbrcm,ipp = <1>;\n+\tbrcm,has-xhci;\n+\tbrcm,has-eohci;\n+\tclocks = <&usb20>, <&usb30>;\n+\tclock-names = \"sw_usb\", \"sw_usb3\";\n+};\n","prefixes":["V6","2/4"]}