From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0587C433FF for ; Wed, 31 Jul 2019 10:20:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C7BB720651 for ; Wed, 31 Jul 2019 10:20:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="ZnHxKlYH" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728136AbfGaKUV (ORCPT ); Wed, 31 Jul 2019 06:20:21 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:39704 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728096AbfGaKUU (ORCPT ); Wed, 31 Jul 2019 06:20:20 -0400 Received: by mail-pf1-f196.google.com with SMTP id f17so27619176pfn.6 for ; Wed, 31 Jul 2019 03:20:20 -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=1hFW261EdAqqhHx0R9omLG8cea6wI1AtJQwshss1NJ0=; b=ZnHxKlYHCG2JqkdO1qYbMKw0Igq/zrkMr/66ZX3a3OBAcS2HoMJwTxyLFb/zdDXjtZ EpHOIh+NosfgOyztVan1SBci8of22qogiV29Dtq0p3o6g4J8xml+ttpPkJ8gmN6Y5h2m l9iFy3hgGtMzALboGVSKvQju1e+BKKjiOCNyM= 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=1hFW261EdAqqhHx0R9omLG8cea6wI1AtJQwshss1NJ0=; b=kZcF77is29d/3zvTD56k5yHPbTj2CzBoF9FzfI7waDBFD11YnneTqTYW9X4qx4NoNy K14hP4quIECpO1evFWlzta+bjePzDvl4wZ18gnCZcd1Qoy67Jt8G2ZSVm+uSLFo6fAfA 2WMXMd1VDLiZl6ukZqVYwzRs6MYhOfDqItgvJxjDggQa7uhEYZ6uZXrw1XF9J5Arg4JM CpuT73hfBAj4BZJ4pSA4QZbyCB0hRJ+02N6O39GcLuge7k7Nl6IRmmdR1wLF5v85Q1Rv 2Bujx4/ju6HGmnBem379iEJl6iLK0lg1rVJ3rmYJUIorbx9DwiviutzoPZFYhrhh9JFH K8Kg== X-Gm-Message-State: APjAAAUn9COKAqH7QYg/W0yrdOwGkmLCZk9KLpmmrWHWiFnIXaVnJC5M 7vr31DMwrCaUOwKdSyLS126SdA== X-Google-Smtp-Source: APXvYqy7893HyxGzB7cZaK8oOykAUo7aQy7ubsb08yXfflUP8pw31YdKnzcz2kzBkHHUe5ASPdTHAQ== X-Received: by 2002:a17:90a:ad93:: with SMTP id s19mr2216195pjq.36.1564568419949; Wed, 31 Jul 2019 03:20:19 -0700 (PDT) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id 3sm71161776pfg.186.2019.07.31.03.20.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 Jul 2019 03:20:19 -0700 (PDT) From: Srinath Mannam To: Greg Kroah-Hartman , Mathias Nyman , Rob Herring , Kishon Vijay Abraham I , Mark Rutland Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Srinath Mannam Subject: [PATCH v2 2/5] dt-bindings: phy: Modify Stingray USB PHY #phy-cells Date: Wed, 31 Jul 2019 15:49:52 +0530 Message-Id: <1564568395-9980-3-git-send-email-srinath.mannam@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564568395-9980-1-git-send-email-srinath.mannam@broadcom.com> References: <1564568395-9980-1-git-send-email-srinath.mannam@broadcom.com> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Increase #phy-cells from 1 to 2 to have bitmask of PHY enabled ports. Signed-off-by: Srinath Mannam --- .../devicetree/bindings/phy/brcm,stingray-usb-phy.txt | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt b/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt index 4ba2989..aeb0568 100644 --- a/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt +++ b/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt @@ -6,9 +6,11 @@ Required properties: - "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. + - Must be 2 for brcm,sr-usb-combo-phy. + - Cell 1 - PHY Number, 0 for HS PHY and 1 for SS PHY. + - Cell 2 - Bitmask of enabled ports connected to USB Host controller. + - Must be 1 for brcm,sr-usb-hs-phy to indicate Bit mask of ports connected + to USB Host controller. Refer to phy/phy-bindings.txt for the generic PHY binding properties @@ -16,17 +18,17 @@ Example: usbphy0: usb-phy@0 { compatible = "brcm,sr-usb-combo-phy"; reg = <0x00000000 0x100>; - #phy-cells = <1>; + #phy-cells = <2>; }; usbphy1: usb-phy@10000 { compatible = "brcm,sr-usb-combo-phy"; reg = <0x00010000 0x100>, - #phy-cells = <1>; + #phy-cells = <2>; }; usbphy2: usb-phy@20000 { compatible = "brcm,sr-usb-hs-phy"; reg = <0x00020000 0x100>, - #phy-cells = <0>; + #phy-cells = <1>; }; -- 2.7.4