Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4897763imu; Mon, 12 Nov 2018 20:14:44 -0800 (PST) X-Google-Smtp-Source: AJdET5db9zMbuAkzD+ba7HI3tPyzvzuHwFb7Bapui4FdrlE+iajdZsdapRbMhqy8Q6LOC7I4zep1 X-Received: by 2002:a63:af45:: with SMTP id s5-v6mr3323814pgo.125.1542082484504; Mon, 12 Nov 2018 20:14:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542082484; cv=none; d=google.com; s=arc-20160816; b=ozmvCpSjjnZxE52DCLEpYL118CVHkLwWkGf43g8DlK2hLNN3KvhCzcormTgrhoZGCP EYW1Esfh1IIXBEdGo0b8kuAI0Jypk+XyIOMRDxwuxhr+eBdh97x7uTzAZH3NcwqytbZD TfaIbknF/GUwhuXQJya1gCl4RgbCkGKDDfalvqJUfElIEtizxi8Oe2kUOGy0e4+Qpfom AAPY32C6UikwC1Eso7tTclzQrEE6/NtBmp9hsF1G9/s28U94kWju443yTzQqB/zky0G6 I2NIQGV5jngs3AWGvjV9DUfnjB57PJ2YXdzdN005LvE2J6YkaXXMDYSmpPsJLSzsH97p GT2g== 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=4vtPT1ZqHINrsov+4fmRl7vXniE1/avTYUvgomTImas=; b=jQ5rZy4RuQ17wptKg2qdpQRZpcH1tQdFBHBnT+Jyk1F16b/1I0ruK8hZe9ZaYy43+i +W1DqMHckbNX0Udil5MHv+or6gJjn7Nt+4YYlNeBtoaE1OlCixsN4KtQ6B8EAL3N6tnL iKG9tLt2sM/Q6cotWjlnOb6mED7CWWTnHFx87uOFMMe8MWTmUm4mQY/zfDUYkAbSiEYZ uMX5G0NqMIDL99v+cM/0MtUNTHhz5jve174pLv9dYO0X+LDzCXwceSoHwZR6MU5tq2xP Gzt/J9EHglS+uvgh0uzl8h8JORucx+7W6kWkripcjBqfRQgODBQhBOOhFnQDowHJrSBz cqng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="GUd/iKUa"; 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 62-v6si21161886pfu.2.2018.11.12.20.14.29; Mon, 12 Nov 2018 20:14:44 -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="GUd/iKUa"; 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 S1730665AbeKMOKP (ORCPT + 99 others); Tue, 13 Nov 2018 09:10:15 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:35041 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726103AbeKMOKP (ORCPT ); Tue, 13 Nov 2018 09:10:15 -0500 Received: by mail-wm1-f67.google.com with SMTP id t15-v6so10097117wmt.0 for ; Mon, 12 Nov 2018 20:14:00 -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=4vtPT1ZqHINrsov+4fmRl7vXniE1/avTYUvgomTImas=; b=GUd/iKUaL0AwoSpdmXyk+30lOZbrqP9f80EQcF5BRHomX/eS1DmJ5QBKe4d5QMA/yb FCeguS6a4UVW+Isz6FkCVs/eNeYURyfw7T75o+JfpGU/W5WXUuzqBv2lJreyqB6Lo4Fe ip28zMQht/crTpVO8js04ZK09DRblmGkcOgvI= 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=4vtPT1ZqHINrsov+4fmRl7vXniE1/avTYUvgomTImas=; b=ErPy/Pjt9tGUvyknaRSMvi5J5adgnyL1h95fK6Cu538+D/X4PSkeSAYOwjxfUeDCX6 h5IOJ5CmRjP6XYwnFLjhQOnppXtD2tXAAnrcY+9dpi3SzKiL4ybElY1VKL4XCOsP0eSR XbqWMdT6jzwQ6isdt1UVAMCyhq0fNEicAR1hKEhBjLNHYe+xCA7LP8WIQRZAAtidg1WE cR4RoBNm2ZsZ12vjgEQs9oRcbAmQh3oxKw1OxDViMyslc7njLSrMiJ4kZv8l7+5KeRl8 SKNcBUCYKCrHNcr/Z5IDMFGo0s9INqMQMhCjy3qMwOGThAdKwHwYgzx4Jr/aomxFMA4J dr6A== X-Gm-Message-State: AGRZ1gLwAZSMDTVoDkJW+K/OCf6D92gNLchUeSA4skQujv+9BQ8qgdec MfH4/1Wk/3aiJ92ou8SahBb1vw== X-Received: by 2002:a1c:e004:: with SMTP id x4-v6mr1749304wmg.71.1542082439318; Mon, 12 Nov 2018 20:13:59 -0800 (PST) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id x2-v6sm12206193wrw.42.2018.11.12.20.13.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Nov 2018 20:13:58 -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 1/3] dt-bindings: phy: Add binding document for stingray usb phy Date: Tue, 13 Nov 2018 09:43:36 +0530 Message-Id: <1542082418-16675-2-git-send-email-srinath.mannam@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542082418-16675-1-git-send-email-srinath.mannam@broadcom.com> References: <1542082418-16675-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