From patchwork Wed Feb 20 10:34:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinath Mannam X-Patchwork-Id: 1045252 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.b="cQiU4jdG"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 444DW82hywz9s2R for ; Wed, 20 Feb 2019 21:34:44 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727541AbfBTKej (ORCPT ); Wed, 20 Feb 2019 05:34:39 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:33798 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727532AbfBTKei (ORCPT ); Wed, 20 Feb 2019 05:34:38 -0500 Received: by mail-pg1-f193.google.com with SMTP id i130so11682211pgd.1 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=g8uHBQieNKAyHW/WadOndANBGpgiC6ZrELtq0WDNya2YY7kw6yf6rVwcLRw0wfN6yU n36+E/U375HhTI6Wii42YEop+t1r9et8NCjdOlgJdFBGeo7XxDenLqbivM3M1rKo6xRW /df94P1YdaHr6H56twcfx1/7WS2BAvhthg10xy9RZ9rBWMPQXwqhvxJjHfXQzwzasAiy LYNCvQCNknwtDsGYqf078+4aMY/B7iiPC6OXlU/A1K6bZHTEz82fpPs0BgWiZsCH0WtC 3tZfJWfk3YmZLutNPCCaAEcg9qKgP6TPqTzLI4bKtInKZxj2lT+YJPz1L6GkLkG7fdJ7 muyA== X-Gm-Message-State: AHQUAua23KSX3CxiP/bsHhaK9GVEOxiCFhb1v6Mmd1FQxVim2FhYdqu7 111OGRurYXeCh85OZ0gTtthiuzOncwo= X-Google-Smtp-Source: AHgI3IbzjzS1JajSSk6mGcbU6F51YLwnaQhjUZpG7gFX50HLjW1K28stvvCmDQnyJkTegO6sb1JkKw== 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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>; + };