Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4643876ima; Mon, 4 Feb 2019 21:54:55 -0800 (PST) X-Google-Smtp-Source: AHgI3IZuU9/CU9IZd10gMqy05kiAPZzVYtXBfrKAFNxr83w3gIjUVwMkwMh+F2s7O7i4c7A9y4Z8 X-Received: by 2002:a17:902:aa82:: with SMTP id d2mr3356167plr.153.1549346095142; Mon, 04 Feb 2019 21:54:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549346095; cv=none; d=google.com; s=arc-20160816; b=eKEvGkGGTmhQ+E1uG1njPbwXdcwpgcg3CuO98NP0ExakZm5C/ESW8fYkhY+d7QlSUy Np+tHk7yV/8DiYn4pp1keSdFnRNeE/0/yU4Ca5jg5CEYJaS/f9nvg8OdeNZ+3obkOSui z/aFOocEqEqksm9Exdg3V4kqKdQ7Cln2YIT1s9HmlxIejT9iL44ZCI4cKL9DlTCT4Gvd 64kt3l1pptAiaHEFuBAHdIOsuxVgBhoT4rtE3+/C3RuuHYKe6/hJOcl0HmUosWNih0EU 7fh0lMVUNPt5BykKYRihIULURJKDwZAgT4MKc8zkCecuYndTKnuZjRNErU4Naxoz912V XJug== 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:dkim-signature; bh=iuy83wv2J0JyH7wUG6Wa64a8goqyTnziEnppehUecNo=; b=ZYUsUk6cEtpqUnfExYKxhMPhzkxTBju0+BUBkSzZwg6kDzDQmmE65+cHdgUDBInm8N sGXvo8eAodMp9gk1VVSB8py3TuOe2xt85xicMI30DLMWA5YKSMjLX9pQrHKgJQnmAdzo u7nw76nnh0BrjU3p9fNgDsFenvOChIBRDUdFZIMor+DFzlm4dK9xwEGKEI9l9Kk9J41x +cGHVwU2leK/A24IVIhF1s2CEb3q7VqORnSr32UTMMx+vvNP+KugDV9CcNqHBjQ2/uEf KuWV1AhUWBhsH2DQ94jLsmYsX8cVmCmV+TKwub8W+V4WsC1JQiGbp75RhgMOYA/mnj5x QBrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BuizQqlI; 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=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 x10si2135954pgl.209.2019.02.04.21.54.39; Mon, 04 Feb 2019 21:54:55 -0800 (PST) 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=@kernel.org header.s=default header.b=BuizQqlI; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726456AbfBEFy0 (ORCPT + 99 others); Tue, 5 Feb 2019 00:54:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:60638 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725886AbfBEFy0 (ORCPT ); Tue, 5 Feb 2019 00:54:26 -0500 Received: from localhost (unknown [171.61.84.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 903ED2081B; Tue, 5 Feb 2019 05:54:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549346065; bh=d0aZ3auWf+/3eovxxc6ZRJMGHjE4CaV7tW/bUNyKqHU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BuizQqlIhp+4ctVdK65LOSWsTiP/vT+xAZ/TpuLE1GIq0qEQFrSWdVpWqF9NlUvNc KiJuKjOdqF14CAOibUoGcsR8+jYwKF+3Am6PqOofh2W9WF+e/I9ODUgRpFdXLyJj3/ v5i2Xv6uxb3M/7hwzNxr3unoimwRcKaPb6Q275Cg= Date: Tue, 5 Feb 2019 11:24:16 +0530 From: Vinod Koul To: Bjorn Andersson Cc: Kishon Vijay Abraham I , Mark Rutland , Rob Herring , Andy Gross , Bjorn Helgaas , David Brown , Khasim Syed Mohammed , Lorenzo Pieralisi , Michael Turquette , Niklas Cassel , Stanimir Varbanov , Stephen Boyd , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH 2/7] dt-bindings: phy: Add binding for Qualcomm PCIe2 PHY Message-ID: <20190205055416.GX4296@vkoul-mobl> References: <20190125234509.26419-1-bjorn.andersson@linaro.org> <20190125234509.26419-3-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190125234509.26419-3-bjorn.andersson@linaro.org> 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 25-01-19, 15:45, Bjorn Andersson wrote: > The Qualcomm PCIe2 PHY is a Synopsys based PCIe PHY found in a number of > Qualcomm platforms, add a binding to describe this. > > Signed-off-by: Bjorn Andersson > --- > .../bindings/phy/qcom-pcie2-phy.txt | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/qcom-pcie2-phy.txt > > diff --git a/Documentation/devicetree/bindings/phy/qcom-pcie2-phy.txt b/Documentation/devicetree/bindings/phy/qcom-pcie2-phy.txt > new file mode 100644 > index 000000000000..7da02f9d78c7 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/qcom-pcie2-phy.txt > @@ -0,0 +1,40 @@ > +Qualcomm PCIe2 PHY controller > +============================= > + > +The Qualcomm PCIe2 PHY is a Synopsys based phy found in a number of Qualcomm > +platforms. > + > +Required properties: > + - compatible: compatible list, should be: > + "qcom,qcs404-pcie2-phy", "qcom,pcie2-phy" > + > + - reg: offset and length of the PHY register set. > + - #phy-cells: must be 0. > + > + - clocks: a clock-specifier pair for the "pipe" clock > + > + - vdda-vp-supply: phandle to low voltage regulator > + - vdda-vph-supply: phandle to high voltage regulator > + > + - resets: reset-specifier pairs for the "phy" and "pipe" resets > + - reset-names: list of resets, should contain: > + "phy" and "pipe" > + > + - clock-output-names: name of the outgoing clock signal from the PHY PLL Should we specify the clk name here? > + > +Example: > + phy@7786000 { > + compatible = "qcom,qcs404-pcie2-phy", "qcom,pcie2-phy"; > + reg = <0x07786000 0xb8>; > + > + clocks = <&gcc GCC_PCIE_0_PIPE_CLK>; > + resets = <&gcc GCC_PCIEPHY_0_PHY_BCR>, > + <&gcc GCC_PCIE_0_PIPE_ARES>; > + reset-names = "phy", "pipe"; > + > + vdda-vp-supply = <&vreg_l3_1p05>; > + vdda-vph-supply = <&vreg_l5_1p8>; > + > + clock-output-names = "pcie_0_pipe_clk"; > + #phy-cells = <0>; > + }; > -- > 2.18.0 -- ~Vinod