Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp418799imp; Wed, 20 Feb 2019 02:35:24 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ7cA62DAOPk8tnqUPBMV1XTLH2OsjOjMZTGJ/FgcfcEj54Yq3ozg7pVCp1Sd8Oo9R1948l X-Received: by 2002:a17:902:bb86:: with SMTP id m6mr25906412pls.4.1550658924226; Wed, 20 Feb 2019 02:35:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550658924; cv=none; d=google.com; s=arc-20160816; b=XflQ4lgikbsmLGsvD5TJgRnth0u6w6CVLXsnjFk2+QI9YJ+hBkoKiZsLMdrPAC+MdH hlSHuSGyOuFnVShOmhdHKFFsKD3t2mHCzZ7uBqPdb27qEdGyji3X+6EqBsslPKdfdpIg Xf/B/AUSStexLbGjWw+Qf259YxKeo70pZbbWOZJj1+PXf+sdVpH42hAXld6xZLo1CaGJ a45qjLT2a41F0EOdVV5NExWNfPC9Fc0IgdjomyX4T4z3BCwNIYfPqu1DP2pwX9e1LICN PUwYvsVOXcP2ec1odvkfipRggMSt4TfkjNFg3CuOeImxCEakHl+wxrU2SqcmGuDZw4ga Fs5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=lgoiu2t/jzkJA5/PieX0YxtG8m8fWvSawqBQFKAyYB0=; b=TLYVgDokc2SshGHbZODtZC3I/8YVKeTZtxS4psfyh88NN7dEWVdrVpFpV9VMByg/rP 0N/akzBNWLs4uWZT3lTwpf3vmDCbjxcqDJOiPny9IkQZW+zq9g/cQJeMRs+1IyTIzQ8B A2mRjjj06oLYTTIEI4+ippI2N6lKAnawXsWWuyZ3HAEDAYCsZ908seF3dEPkdPkDEsLC 4EQ+mZOvZkladMO7+K5HRn8mDanFeL2Bh4/4AywcZ9sOtuWP1zDkxAOHnnkLi68M80Od p03xPzYbzKiZzIAvktqJGUN03Xn58RaXJqkuO2nuVLvbJMcgsnmOnBZ1zWq1u9SvuHIT nLWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=cQiU4jdG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x2si16840601pgr.341.2019.02.20.02.35.09; Wed, 20 Feb 2019 02:35:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=cQiU4jdG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727549AbfBTKej (ORCPT + 99 others); Wed, 20 Feb 2019 05:34:39 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:42344 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726317AbfBTKei (ORCPT ); Wed, 20 Feb 2019 05:34:38 -0500 Received: by mail-pf1-f195.google.com with SMTP id n74so11709262pfi.9 for ; Wed, 20 Feb 2019 02:34:38 -0800 (PST) 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=lgoiu2t/jzkJA5/PieX0YxtG8m8fWvSawqBQFKAyYB0=; b=cQiU4jdGHl29UfTjZRMio3i5b5uxtr+1x2r63wgOlsDEGWBUUOQRl8JpN4TYc3/LcN AIkJV+vagv9dxDUElb8TdPnHi+0V5jr0gBHeu4vjSWAb9QxvIcuOXyfYWPBt/wdBQUhq CY3U5/mcVj+wvkFwQtOgnRHQMyxbDz7DtRU5Q= 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=lgoiu2t/jzkJA5/PieX0YxtG8m8fWvSawqBQFKAyYB0=; b=Q7LZodyAXYUOAvx3KbHCLtzsCGWPwc9OFrjpBIQ5Cqk4qtNOVxZdrw3/+2mJL7G+41 B/SvdL3cbSaF4OwUp4zCWpe/84TzNRcKA4p+izmKJ2OITc6xFdhFzSZPnJfXYY7vB3iR BjTu60RsGVU7iiJMGNbmsuq1oY/p45VrCSYrAnBvTWg58HMzVPAyp7LMx7ZWMl1yyylb 6XL6IJTFOR+qGn+kDNC/YC0ekgKqGQ7lqh0HlBOoPYje56BQFXuoVi+5tgYDeemtU0Yn a4QhwmPxBR7GVxbQBsx1ZtDpZtg9ulNI+oln2uHLTAh3kG9p8eZSuxYbToTvJBezL3Ox WyJw== X-Gm-Message-State: AHQUAuYXhltO5/gijWnSu/luR7jP2zqXkJZCmlC5ODhXYBvjNGBJazWy 5GV53sKPFn08fcMJk0L80i/DPg== X-Received: by 2002:a63:be4d:: with SMTP id g13mr28652836pgo.378.1550658877895; Wed, 20 Feb 2019 02:34:37 -0800 (PST) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id i71sm57426796pfi.170.2019.02.20.02.34.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Feb 2019 02:34:37 -0800 (PST) From: Srinath Mannam To: Rob Herring , Mark Rutland , Kishon Vijay Abraham I Cc: Tejun Heo , Jayachandran C , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Srinath Mannam Subject: [PATCH v4 1/3] dt-bindings: phy: Add Stingray USB PHY binding document Date: Wed, 20 Feb 2019 16:04:00 +0530 Message-Id: <1550658842-19167-2-git-send-email-srinath.mannam@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1550658842-19167-1-git-send-email-srinath.mannam@broadcom.com> References: <1550658842-19167-1-git-send-email-srinath.mannam@broadcom.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add DT binding document for Stingray USB PHY. Signed-off-by: Srinath Mannam Reviewed-by: Florian Fainelli Reviewed-by: Scott Branden --- .../bindings/phy/brcm,stingray-usb-phy.txt | 62 ++++++++++++++++++++++ 1 file changed, 62 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..da19236 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt @@ -0,0 +1,62 @@ +Broadcom Stingray USB PHY + +Required properties: + - compatible : should be one of the listed compatibles + - "brcm,sr-usb-combo-phy" is a combo PHY has one SS PHY and one HS PHY. + - "brcm,sr-usb-hs-phy" has a single HS PHY. + - reg: offset and length of the PHY blocks registers + - address-cells: should be 1 + - size-cells: should be 0 + +Sub-nodes: + brcm,sr-usb-combo-phy have two sub-nodes for one SS PHY and one HS PHY. + +Sub-nodes required properties: + - reg: required for brcm,sr-usb-phy model PHY. + reg value 0 is HS PHY and 1 is SS PHY. + - phy-cells: generic PHY binding; must be 0 + +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>; + #address-cells = <1>; + #size-cells = <0>; + + usb0_phy0: phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + + usb0_phy1: phy@1 { + reg = <1>; + #phy-cells = <0>; + }; + }; + + usbphy1: usb-phy@10000 { + compatible = "brcm,sr-usb-combo-phy"; + reg = <0x00010000 0x100>, + #address-cells = <1>; + #size-cells = <0>; + + usb1_phy0: phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + + usb1_phy1: phy@1 { + reg = <1>; + #phy-cells = <0>; + }; + }; + + usbphy2: usb-phy@20000 { + compatible = "brcm,sr-usb-hs-phy"; + reg = <0x00020000 0x100>, + #address-cells = <1>; + #size-cells = <0>; + #phy-cells = <0>; + }; -- 2.7.4