From patchwork Tue Mar 19 09:15:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinath Mannam X-Patchwork-Id: 10859155 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3032615AC for ; Tue, 19 Mar 2019 09:16:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E2BB295DF for ; Tue, 19 Mar 2019 09:16:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 019AF295E2; Tue, 19 Mar 2019 09:16:38 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 8B47A295E1 for ; Tue, 19 Mar 2019 09:16:38 +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=dCt2UKaQv5KhfokV3LDPTyLD32UDm+lbnZvDbvg+N2I=; b=ck9MkSUic2WCwHSyJgFeIv8c9e aJN6eeNlo+kdYZKK3+qWfr1eIwrrhZzQc6AgiQoDny+Z6t4hhIwaKYJPv685i16y9o+4jr9KnaldS I+1G7gcsLSZ2rKQkyA5RY0RsZAV41Eqns9KrkTiWg5F2MqbDWqbKGylftQ60IMT7qhycjbHvSKDIo NrTCfoI+3D5AVhBh2jyZPvnEusmMDy3tgKEOQZVwo6c5DMWnN8gQHhKpsto7bG3mqtXeGBB+d1Wqy QybWHeLtxckZK4Ta1rl4Ue2Lk8Z16xrpzq3wEunB/LBttAPtFuJXXRr4KopRZH3JYLqIY+XIjB+Of zxrAV7FQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6ArM-0001ex-9I; Tue, 19 Mar 2019 09:16:36 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6Ar7-0001Nn-KZ for linux-arm-kernel@lists.infradead.org; Tue, 19 Mar 2019 09:16:24 +0000 Received: by mail-wm1-x342.google.com with SMTP id u10so13134020wmj.5 for ; Tue, 19 Mar 2019 02:16:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YZZhZLbJvBzON0duWiiauO58hIPvf57wqKLHU8bYJBU=; b=F7glSsC/K6n61MGpENpWcmH+B8OvjeE89p5GtNH1OL7tR3XJS/6jVUU8KpIJV7dH+a P+H+n6dRAbvbMMCcJ6DPdujDzCbWmZlXozXdX6FRiCIfmMyk3UoxLOwiYElAfl1sBdXE SuEiWGUWzDSlg097UzUA0t6GoqpWi9+42zLQU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YZZhZLbJvBzON0duWiiauO58hIPvf57wqKLHU8bYJBU=; b=ugzj3q2OhdgqM+klnqEKmHO2sY/yzZlaNBb80D821lUv9E+FLSTcsdClUW9cgy+rkL 544is3+CFZeJVNI4JH9tfVnm31ktwDjPKYdGrbL4Z5amQtVimGKxR31CQS37netpR74+ Wj2lkRBa72OqQq0wcwmVTgsA+xQIZGeMiMrmIJIXIHRDjmkyC6P/wKJKQutDBDbjI1zC lDc0JzlUr0TwuHHoTB/1SWer/0c9K7gdWlJV11mgXiE9dPq6fpjeZRrscJCOsAJCrRV5 mjuuIKvmEtwTaQTB0rOAqLxEaJzC4259g5djsew13mRPNVKJJfibZr2R3KUrr148Wer1 GhbA== X-Gm-Message-State: APjAAAX6D+GhMWtAC7iyKH/tB+kZs/9MzDO9PPVV9Om0iflGImZ1tR1f dzDHvBnvaTBnN1jHeAkEJBtBvw== X-Google-Smtp-Source: APXvYqx2m3lWTnDg7uRuEPncR9EJsCw4U0PcnbZloiCsX4vginrZJoNeQ8t4t9PH7OicgV5Qyszg8A== X-Received: by 2002:a1c:a749:: with SMTP id q70mr2243764wme.151.1552986980110; Tue, 19 Mar 2019 02:16:20 -0700 (PDT) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id w10sm14875743wrn.32.2019.03.19.02.16.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Mar 2019 02:16:19 -0700 (PDT) From: Srinath Mannam To: Rob Herring , Mark Rutland , Kishon Vijay Abraham I Subject: [PATCH v6 1/3] dt-bindings: phy: Add Stingray USB PHY binding document Date: Tue, 19 Mar 2019 14:45:42 +0530 Message-Id: <1552986944-3398-2-git-send-email-srinath.mannam@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1552986944-3398-1-git-send-email-srinath.mannam@broadcom.com> References: <1552986944-3398-1-git-send-email-srinath.mannam@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190319_021621_973479_9FC46D91 X-CRM114-Status: GOOD ( 14.09 ) 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: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Jayachandran C , Tejun Heo , Srinath Mannam , 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 binding document for Stingray USB PHY. Signed-off-by: Srinath Mannam Reviewed-by: Rob Herring --- .../bindings/phy/brcm,stingray-usb-phy.txt | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt diff --git a/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt b/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt new file mode 100644 index 0000000..4ba2989 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt @@ -0,0 +1,32 @@ +Broadcom Stingray USB PHY + +Required properties: + - compatible : should be one of the listed compatibles + - "brcm,sr-usb-combo-phy" is combo PHY has two PHYs, one SS and one HS. + - "brcm,sr-usb-hs-phy" is a single HS PHY. + - reg: offset and length of the PHY blocks registers + - #phy-cells: + - Must be 1 for brcm,sr-usb-combo-phy as it expects one argument to indicate + the PHY number of two PHYs. 0 for HS PHY and 1 for SS PHY. + - Must be 0 for brcm,sr-usb-hs-phy. + +Refer to phy/phy-bindings.txt for the generic PHY binding properties + +Example: + usbphy0: usb-phy@0 { + compatible = "brcm,sr-usb-combo-phy"; + reg = <0x00000000 0x100>; + #phy-cells = <1>; + }; + + usbphy1: usb-phy@10000 { + compatible = "brcm,sr-usb-combo-phy"; + reg = <0x00010000 0x100>, + #phy-cells = <1>; + }; + + usbphy2: usb-phy@20000 { + compatible = "brcm,sr-usb-hs-phy"; + reg = <0x00020000 0x100>, + #phy-cells = <0>; + };