Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1201444ybl; Wed, 21 Aug 2019 11:37:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzaNz1AqRPG6m7LjDhaOIV3zP/ITQF21FfVu5G8sVDVKy4Vl/QymRjCdzNgo+/0nEXUbItR X-Received: by 2002:a17:902:1004:: with SMTP id b4mr34016468pla.340.1566412627018; Wed, 21 Aug 2019 11:37:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566412627; cv=none; d=google.com; s=arc-20160816; b=w49VYYgiWCOGLSwS8xX1wm2dGVZ3kdMWy4Ih4Lp/cSX9bK2vo7dr/38ofcU8dljjwh ymz+htJJ5JSpQ5fgF7Ov3TFRc9XpT5B4ZAqfaO0xZM2/FT6si2EDCHRpha2LnXziDNG+ Ad2VsvlUVDSsIKB9xIVcJMkIgDxWSySzUtpZ+g4TCt05ekkDmoCL1AZ2xRmYn2rE5DQQ IHUmlogvt/uzLuF5ewTmuEph9i/T8vR86LVQ0okY2Um1ywXfQC17uW7TgceRN0qp0a3b DusSyfBsYyZgF0n77/nVwTT21N0x1Mm4ymhZDl3iSnm3T+zszWZjDSZS8XvnyCW/UgZo WRwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=EPCVlMcnobgA0fbJbdjCw5LDxpNEEaKqZxggEUsbNFc=; b=e4ojj87Eg3UM0P04m3ZcQCn3/gNwe6RRqk4UCWPn7zNN2cc8UM7l9rpWa23ha104th X0G5Dn5gcpT54EedC2LV5vD5ZaP9SCHafPdl/1IX15vquLCDs4SdTQhTMxjG1PjS5OV4 isj2Wqfo0BvADNnzNH/znIsF0+0+4Vzgx+XXb1eY/GRIOBnlIneit2f7GRwPj04voOhw 0XV8+Ytj//BldcA4wbxsdelNYIg21Im5+1Mo/Sd9/JawfurCDZ94iqEucHiu4UHGOTHE A78V2EuPMwhtUcFm4K93FyAyA1JOQKeO6vxV/4YIe4jdb2Cc2TcMmaUD2OGd7t0VKoS2 cIWw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 23si15987129pfi.265.2019.08.21.11.36.51; Wed, 21 Aug 2019 11:37:07 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728810AbfHUSVW (ORCPT + 99 others); Wed, 21 Aug 2019 14:21:22 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:36539 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728026AbfHUSVV (ORCPT ); Wed, 21 Aug 2019 14:21:21 -0400 Received: by mail-oi1-f196.google.com with SMTP id n1so2343705oic.3; Wed, 21 Aug 2019 11:21:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=EPCVlMcnobgA0fbJbdjCw5LDxpNEEaKqZxggEUsbNFc=; b=Omd99dWbcGAsZOSVYnwaQAP0W9p09UZpNm3+4XY+XOqBsuXFOgIX2kDB4N1/0YywQp UVsTHDQLW5okE6BSkOOxUzdVZhxXLN1FVyAEDCYgQ9erxFT1I1tvhyOdTH0opLuJvAsf Od/d2UkkikIQEvrhU93XZs1xniuCyvfvCsUVE7tkc3CNCdwNS+0stq540xppcWXctMX9 Q3pwsC0X+XfAPwRJTg6wYDPNd/0nVXpxtBEmAxDVFwzoJet1hOQAbg6SmyPdlAF0gP+b abVMwRow8R21M6WiZanPZqIGu+oyD7dGeMFFAQt4ueZYNktLriY/LIFKA61JaY6RkAxQ BIrw== X-Gm-Message-State: APjAAAUgWYIHOgxvS9S2iFyxVaULNdkCR3cDtrfEFYCZdJX9+PyhRBto IhqSaB97f+lbQwWnIXaknw== X-Received: by 2002:aca:1313:: with SMTP id e19mr1019955oii.5.1566411680554; Wed, 21 Aug 2019 11:21:20 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id l16sm7673045otq.42.2019.08.21.11.21.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2019 11:21:20 -0700 (PDT) Date: Wed, 21 Aug 2019 13:21:19 -0500 From: Rob Herring To: Srinath Mannam Cc: Greg Kroah-Hartman , Mathias Nyman , Kishon Vijay Abraham I , Mark Rutland , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Subject: Re: [PATCH v2 2/5] dt-bindings: phy: Modify Stingray USB PHY #phy-cells Message-ID: <20190821182119.GA27408@bogus> References: <1564568395-9980-1-git-send-email-srinath.mannam@broadcom.com> <1564568395-9980-3-git-send-email-srinath.mannam@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1564568395-9980-3-git-send-email-srinath.mannam@broadcom.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 31, 2019 at 03:49:52PM +0530, Srinath Mannam wrote: > Increase #phy-cells from 1 to 2 to have bitmask of PHY enabled ports. And from 0 to 1... Are you going to update all the dts files so when we convert this to schema we don't get a bunch of warnings? (Feel free to convert this to schema too). > > 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 >