Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp401744ybl; Tue, 27 Aug 2019 22:56:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzU/HWmL9Nd2WGlx1K2M2+tzTOoahi8t5vYxCl8wawCMYBz0bpBQANyVT8yDb2t9PQMo+sT X-Received: by 2002:a17:90a:2047:: with SMTP id n65mr2586984pjc.5.1566971767718; Tue, 27 Aug 2019 22:56:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566971767; cv=none; d=google.com; s=arc-20160816; b=o5hn3M188j4MEHW88RaXlmsm9cr8Wb/zFm+946UgGe4K0ucnUp75Y4f4et9DCd5Bf+ CyCdG00NgroIRhJ5uCvpVZ5Opk79k3OtriAECgvEFKGC4BsxVthJMs+RKTSthX19v5vn 0jxWrTKMEgaB1lbmSA/BsM1fcs47X/nOHG0mNuYmAOycj5oL0iFttdd5LoFlKUkuMfbP 96OX73xqs3U1SkvzymQ9wGy8WRe51o4dUhwXTHNy8kgtppIh5CpNpMXIBdaohTt6BBDE THrDrzyiO02h9WV40rxr6Rg/ZqM6mjceJ2T29qAbmRG6NPZQuvh5CbNvIzfacnEWntyL 2NJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=PGmiQt/UsaBijFOEhYrYqRMTRujiOfYHOw+bx00fOk4=; b=nTiNUDiQ4XoOKuCcZDCy1RV/J90vPGPcvHrfXp3nmPcYpJBWb3UjQWwy+BLA2TUbtn q+lJOGff+nqvW8Add12Y8UibSdHh0cuFIv10feUSVOON1lP+Qx0SpgHW8LZh9HS+bW1k qZ1mUII8BnzD0iprWmdW4qSRxAKk6IryAASvD80ELo9NqW7hBGoXiujGM2yZ96UbIKaa fwTy3sR5JyMiOov1nr0+lFRW54TQ8bUOylXg3oG6Cpvvx8wfScL49DAWUapdcyIfm/w4 IEaJZWwVAiorTGeuzAiU6IFta08xsHXnhkMf3nH0ilgtzwMMI+aKWxng42qoA/Q0FsWd sqbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=W3rG2buh; 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 j23si1563613pfr.41.2019.08.27.22.55.51; Tue, 27 Aug 2019 22:56: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; dkim=pass header.i=@broadcom.com header.s=google header.b=W3rG2buh; 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 S1726207AbfH1Fy5 (ORCPT + 99 others); Wed, 28 Aug 2019 01:54:57 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:53277 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726131AbfH1Fy4 (ORCPT ); Wed, 28 Aug 2019 01:54:56 -0400 Received: by mail-wm1-f68.google.com with SMTP id 10so1354999wmp.3 for ; Tue, 27 Aug 2019 22:54:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PGmiQt/UsaBijFOEhYrYqRMTRujiOfYHOw+bx00fOk4=; b=W3rG2buhdnwgCZZ4bAPhEyB6pmKm9fUHX++eXK+ylmU+IwJlXUvLxqjQ0kaGjuwSBb ImveNu1P1EVncE2ZMqg8QX6jZCAonZccjY3GEOLMU7VR4AoCuwwaxQKyO4aAhyNX62C3 ekVph/xAp7yzGjOz/CJDUjVw2zCHJ5RfSIKDI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PGmiQt/UsaBijFOEhYrYqRMTRujiOfYHOw+bx00fOk4=; b=dgsI250nH0VUMVriERKe2iL62j9b1PEoLlmHRXPGPayo8wgU4E+etAOOAUAUniJoN/ rt5F2enjql5QmI73h4YfumVsYn+i5S75oOjCcGkmEJKDLM578mVX0/XttsXN6SAtS67C qFvKd7/k0ANz5Cki09Gwf7oy+iLEy2h33NUlhz1PexTpNTt/w05xeGF9F//V+DQribCr XG8TaE/84egj4Hi9Kb/SsBBIOTWCeMJbhRlyHhpJcfrUgnNwoc7bEkXrvptJ3n5gx2gn CH2kM0rhF8VNs3DG/5/AQQpcgDrMY4pl51rYdnIaewkf4cl7DoOwReoY9v8LfEurFnVz 8iIg== X-Gm-Message-State: APjAAAWReIx1o1ZjENIUvhOnaTfV02iFYaUJuZJAqlJ7ZUZoBQTWyPlh 67/cJjbVQTWpG9SPLhfSpDtOgf515BCv7Rk5YVm2mg== X-Received: by 2002:a05:600c:2245:: with SMTP id a5mr2467090wmm.121.1566971694777; Tue, 27 Aug 2019 22:54:54 -0700 (PDT) MIME-Version: 1.0 References: <1564568395-9980-1-git-send-email-srinath.mannam@broadcom.com> <1564568395-9980-3-git-send-email-srinath.mannam@broadcom.com> <20190821182119.GA27408@bogus> In-Reply-To: <20190821182119.GA27408@bogus> From: Srinath Mannam Date: Wed, 28 Aug 2019 11:24:43 +0530 Message-ID: Subject: Re: [PATCH v2 2/5] dt-bindings: phy: Modify Stingray USB PHY #phy-cells To: Rob Herring Cc: Greg Kroah-Hartman , Mathias Nyman , Kishon Vijay Abraham I , Mark Rutland , Linux USB List , devicetree@vger.kernel.org, Linux Kernel Mailing List , BCM Kernel Feedback Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, Thanks for the review. I will modify commit message and send new patch set. We have a plan to upstream DTS files. We will send DTS changes in different patch set once this is done. Regards, Srinath. On Wed, Aug 21, 2019 at 11:51 PM Rob Herring wrote: > > 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 > >