Received: by 2002:ac0:8c8e:0:0:0:0:0 with SMTP id r14csp745081ima; Wed, 6 Feb 2019 07:42:15 -0800 (PST) X-Google-Smtp-Source: AHgI3IbInQfapJbuRQgzQnn2LT+4R3JbC5FSoYoaYsM3w8mTv5kyhhfqGSeu7+0qlle3+0pkobQ5 X-Received: by 2002:a62:33c1:: with SMTP id z184mr11021221pfz.104.1549467735275; Wed, 06 Feb 2019 07:42:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549467735; cv=none; d=google.com; s=arc-20160816; b=HnbtMa4qVOXWbJb68aoOZHmVgzkQczsCImZXSof37V02WUs12BtRGvlIYuv0GMoYvB nwVxoykPol5IP7CzcjEPCsZoWHyuT7uEHBHDIDeAHyZPwQyWaTg28hordldPPu4L24/S 3x8ZjPWbjOICSQg15FEzblboq22Oup3R7nZBmG5nDvWiTze8Pzr3mjsXW987SI1n/j5/ my69npXYZMPe5ujP/2IsOft7dJ1WnoOX2d8HlaGIHj1Rfp+bb538o3nfHNqpyK1vY1Ee i6RVbWgdmFUVaDMnYOJdflPM2BPA3LoUV6GrFCkV/pAQAczrw1442Favz5RsPbmWz1US 0N2w== 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=ZkcE4sKmTKPifhk6h7j1EEIJitiKEOOaAtV2z40Cqyg=; b=yOWxfDSIgu8s0IBWGSvd50fRQR40a39eY7v97rRiHoQTMhFbXGDHsSTNz8jiGcLjON C/YhDSYGHnridjVNeJ8BobLs137Ge0Mp0WiD+aAPqT+xy1BjbB1S4995B1USNhpepKS1 vn3WyW2IoWJWzTOVDECJL4FiO2QN+vJSr0bYtyJ0PgN3wdJUmWZCep3qY1K2BWLW/nlZ yhZEMWt0jcSFyZw5P2whGGPmWjn3PaRrqwRBvNKscK62Ty3QAb/q4z2P0jY/5CR/OMmD 8baZWKHdAfQhJ1YPVa+LtNFh5m7BWa2XOQr45v2czHROvKjzX4roTEWu4Oap9QxUyBkU /cWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=ehXb9wYf; 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 e4si6158519pgk.127.2019.02.06.07.41.59; Wed, 06 Feb 2019 07:42:15 -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=ehXb9wYf; 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 S1731358AbfBFPRJ (ORCPT + 99 others); Wed, 6 Feb 2019 10:17:09 -0500 Received: from mail-yb1-f194.google.com ([209.85.219.194]:41956 "EHLO mail-yb1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726726AbfBFPRJ (ORCPT ); Wed, 6 Feb 2019 10:17:09 -0500 Received: by mail-yb1-f194.google.com with SMTP id n6so2600316ybg.8 for ; Wed, 06 Feb 2019 07:17:08 -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=ZkcE4sKmTKPifhk6h7j1EEIJitiKEOOaAtV2z40Cqyg=; b=ehXb9wYf/sxx+zZmh9jOs2WwMTHPNL+KIIXO3NnpRDWa+Qaj4JgxN9HRzRCy7ucCoU aESHz90JQ71x4MkbH9zsDWzTNxwHPMVUCtH1JdG+fmUnaRdWqQ2hH7vGhauf10X3bUyT JO6KCXIJEi7fNyxLm6dh7ahYePxXaJg3+DRaU= 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=ZkcE4sKmTKPifhk6h7j1EEIJitiKEOOaAtV2z40Cqyg=; b=OK6OkmQxDpInX9yGo1QgPB7aPqxQksvajXp0aLVbnpjmcci7CmqQxXMuYrnBKD+tNK b+z8+osCyAqrOrNCzYXHqPAR1fds/5+3GyLS7SMWkvUMddX0G0zQeDcfstIKY2ya+MFC K/R0FIYFkokZM+A6+RvE5gFclJTF57XHcHHKJp9PHjaPy8um4JuYUT0Wlq8Q6czoeVl2 unE2qPpOpeE7t/Vmg9E+VNHcba4X3eXx91wRSTGoRjrer6IXDuznINafeEva7OSOGaP4 0rlJkbGz1/Le7W7XuTAmh+p/FNsVKoU5dg2GPWFfuROoPdckrY65g2ffgzGrceKyOMsC h94w== X-Gm-Message-State: AHQUAuYlg6FxV2Xs33dvMnOw540r9VYPyBCXycCi6nqtVGL4+KidULGO xNxotRU5BEfVLz1quroBF99jHA== X-Received: by 2002:a25:807:: with SMTP id 7mr1734758ybi.367.1549466227940; Wed, 06 Feb 2019 07:17:07 -0800 (PST) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id r124sm557617ywb.39.2019.02.06.07.17.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Feb 2019 07:17:07 -0800 (PST) From: Srinath Mannam To: Rob Herring , Mark Rutland , Kishon Vijay Abraham I Cc: Tejun Heo , "Jayachandran C --cc=devicetree @ vger . kernel . org" , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Srinath Mannam Subject: [PATCH v3 1/3] dt-bindings: phy: Add Stingray USB PHY binding document Date: Wed, 6 Feb 2019 20:46:45 +0530 Message-Id: <1549466207-3190-2-git-send-email-srinath.mannam@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549466207-3190-1-git-send-email-srinath.mannam@broadcom.com> References: <1549466207-3190-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..bfe1367 --- /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-phy" + - "brcm,sr-usb-phy-v2" + - reg: offset and length of the PHY blocks registers + - address-cells: should be 1 + - size-cells: should be 0 + +Sub-nodes: + Each port's PHY should be represented as a sub-node. + +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-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-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-phy-v2"; + reg = <0x00020000 0x100>, + #address-cells = <1>; + #size-cells = <0>; + #phy-cells = <0>; + }; -- 2.7.4