Received: by 2002:ac0:950e:0:0:0:0:0 with SMTP id f14csp48066imc; Fri, 15 Mar 2019 16:24:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqw3Lz/DNGJZCfeqRQYyTcJsuGi0DwctuoYAR/I+3jZLXEOwROSjc9kJve9kmMJSeLLiPJFE X-Received: by 2002:a63:1b21:: with SMTP id b33mr5090757pgb.245.1552692242339; Fri, 15 Mar 2019 16:24:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552692242; cv=none; d=google.com; s=arc-20160816; b=N0TDc08mxF8Mh6Oj8s55Xo1+Sa6Hg7V67Jf0VdOx7ibdVYMYpbe2/XSebKIvVgWPmz fGcYnA6BciaE2zLkKVlbpNRiOCdgMyJqxIgdhiDvmgBcIa0GyxuA5PCoC8fCvhXLUz5G zTIrnEpMT6Z6G0WrZBq1N5GtshA3rAgGp3BW9tRHobGCZchOUP3bxM9sSORKS08asxAy qFK8dorPOjVYGes1daoX5e+JGTvs38PCesip/8O11HSbNkKcmDx2gWfNGqJf/LY/oq4h 38ZsWfRrhYSsQB+n2MlBAZVBBd2sexfZVbT5y19dNZpwj7s/thri54dOHhwo/hn778g3 Yj8Q== 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=4vWOVw173LlG102bzQxZCjkBSAnfIUTlDyFq5biQERc=; b=GIsV96EWYrkmQ1+FEf+B3xFTzMLhMGd7XYyB7ikzea9Mu0fvbkottE3L9yNnqOv0zE Am6PyPVl9dDddskNo2nOH+Ez2KTWePZlVvoQXm/+n1l+k7p6+SPGSEDpSqyCX0pTbGrU Q6olz5Nq71b+9ky4H5y4/f7w2Mftx06TzQ2FpOcJxFmdADIMHUUMRX+Lwm1+Xjn2f7DU Z/3/LSKZnsNx+bxxq1Tztyr5brP6qEYJNHvVuNIRqajyNNWPuEUmsRAut0con669w/VU +bfyP09NlRk2+Uu+WzdxpkB2MBYu7Cni4n9zIghI7Jun8Ro5XyzjiQAdL2re/B/QGts4 wRmA== 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 y14si2792720pll.378.2019.03.15.16.23.45; Fri, 15 Mar 2019 16:24:02 -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 S1727137AbfCOXXH (ORCPT + 99 others); Fri, 15 Mar 2019 19:23:07 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:36991 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726803AbfCOXXH (ORCPT ); Fri, 15 Mar 2019 19:23:07 -0400 Received: by mail-ot1-f66.google.com with SMTP id b3so9827412otp.4; Fri, 15 Mar 2019 16:23:06 -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=4vWOVw173LlG102bzQxZCjkBSAnfIUTlDyFq5biQERc=; b=ZNhld0OkZ0ETiyEnhkoaHpxlFDMD2uzJ/FnDhkzIOGVkJNVwIbDFyaVGZMpcnAOC4/ 6H1LT3wNNE7DsO4UFnDYbeJBMrz0BY/5ZwVbihoyXYSrLVAK1LdPsXm/c7WMyjeuxGIU iTSuhYL9z2s/yl3lfrQDzhai2rPQOgpuXL/SjZHxasTfV77cI6njups5/0/Kfx2LWyMD 0EWctAi9DzqXmFWlnLIMawlPY3TaYML2sW2BQKO5EMAJm6WsxKhZrWXQcfTbNZTjL4dI qUQ5jDhYTlwpCRs4JSloDTnnz1aojWECj13CbfyhHU0xLXldSkLhnkTH463VqiC7K4kW P8Og== X-Gm-Message-State: APjAAAWQbGRE5kkF4yfRJK+EDHKORRv6jH82a6+sCjBLeAwYxevRpzze 59oPrkeVzgtdj2uKI12aPA== X-Received: by 2002:a9d:7597:: with SMTP id s23mr3693880otk.25.1552692186013; Fri, 15 Mar 2019 16:23:06 -0700 (PDT) Received: from localhost ([2607:fb90:1cdc:ff1d:59ce:35b2:628:2365]) by smtp.gmail.com with ESMTPSA id c19sm1494396oih.46.2019.03.15.16.23.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Mar 2019 16:23:04 -0700 (PDT) Date: Fri, 15 Mar 2019 18:23:03 -0500 From: Rob Herring To: Srinath Mannam Cc: Mark Rutland , Kishon Vijay Abraham I , Tejun Heo , Jayachandran C , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Subject: Re: [PATCH v5 1/3] dt-bindings: phy: Add Stingray USB PHY binding document Message-ID: <20190315232303.GA17556@bogus> References: <1552406781-5180-1-git-send-email-srinath.mannam@broadcom.com> <1552406781-5180-2-git-send-email-srinath.mannam@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1552406781-5180-2-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 Tue, Mar 12, 2019 at 09:36:19PM +0530, Srinath Mannam wrote: > Add DT binding document for Stingray USB PHY. > > Signed-off-by: Srinath Mannam > --- > .../bindings/phy/brcm,stingray-usb-phy.txt | 40 ++++++++++++++++++++++ > 1 file changed, 40 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..51c3d73 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt > @@ -0,0 +1,40 @@ > +Broadcom Stingray USB PHY > + > +Required properties: > + - compatible : should be one of the listed compatibles > + - "brcm,sr-usb-combo-phy" is combo PHY has two PHYs, one SS and one HS. > + - "brcm,sr-usb-hs-phy" is a single HS PHY. > + - reg: offset and length of the PHY blocks registers > + - address-cells: should be 1 > + - size-cells: should be 0 These can be dropped now. With that, Reviewed-by: Rob Herring > + - #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. > + > +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>; > + #phy-cells = <1>; > + }; > + > + usbphy1: usb-phy@10000 { > + compatible = "brcm,sr-usb-combo-phy"; > + reg = <0x00010000 0x100>, > + #address-cells = <1>; > + #size-cells = <0>; > + #phy-cells = <1>; > + }; > + > + usbphy2: usb-phy@20000 { > + compatible = "brcm,sr-usb-hs-phy"; > + reg = <0x00020000 0x100>, > + #address-cells = <1>; > + #size-cells = <0>; > + #phy-cells = <0>; > + }; > -- > 2.7.4 >