Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1007027ybb; Wed, 1 Apr 2020 13:50:08 -0700 (PDT) X-Google-Smtp-Source: APiQypKMZPkwgkhVifdt6E02wNn59Nw1MazpTmvO4qYMqwf4mn1EOeynnsZgibBcSl1zOwUkEx14 X-Received: by 2002:aca:d503:: with SMTP id m3mr161550oig.165.1585774202111; Wed, 01 Apr 2020 13:50:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585774201; cv=none; d=google.com; s=arc-20160816; b=pzF64lOwkR+SGr5O4NHw+fCw2pycbroJ3oBCCA3rHYpT25El55B84NwgAVsQmmMPeS ZE2gG+R6dQ3vFh1DavoDdDDtnLCNBWMbR89WjUbTINYuzASarPJFIQ2Hu/IJ3QFzEYdK YxpAoDYB27namH2L+Z+CpM+Vf/ldWFWdtCdhd/gBEeHGnjPHnNXkpDu1EcLQUlkMsIEe Og0fMJjBTW7miQIuTDSG/O4WFwhHCWFpWC9UV1iThfECI2ISHIjwcdbSC2vsB0690tVO rxkcwXZCS84ejvyX7sEd6wYUjmu1lm9YF8Zdqcwmy/Ms00tbIUYVo+5WLzbfjAnhPw19 rd6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=zFP2MmEh+fFQszCsXSQY0ldP1U7Kx8dHPHKr9P/7iew=; b=t9swZ31ENmExsm8TvjXsasFo0wzSY4G0dEULyKryePgdyNyG7Bd7WBcxwZzc+kou4d 8mGSP0f+VT9yGvDfcZ+M8zzlQhtGuX/kQ174blJME63Fm1bryENP5gThtHd+DUlvqQ9w jpB7hw1OckpZDWqzHR+OfEW/3iG5G4egIrD273WocER98NyK1odnqx2uKbWLstPYh3CR mayIyXVRemaRBqxJavoEWoHqnqF/TdLkVHj5jIHuqhsC+0cSsGBdz4GfQf5eEjHDI4+E IODq6bEOrPvUtI6xwPv+EV/B3ZeA6dGuNKw9CzcE4U1LLK341AjQoHnTHZH9DiVkI0Fb FDKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fPxTEVFS; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l185si1366410oif.274.2020.04.01.13.49.41; Wed, 01 Apr 2020 13:50:01 -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=@linaro.org header.s=google header.b=fPxTEVFS; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732809AbgDAUlT (ORCPT + 99 others); Wed, 1 Apr 2020 16:41:19 -0400 Received: from mail-pj1-f66.google.com ([209.85.216.66]:34961 "EHLO mail-pj1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732737AbgDAUlS (ORCPT ); Wed, 1 Apr 2020 16:41:18 -0400 Received: by mail-pj1-f66.google.com with SMTP id g9so589944pjp.0 for ; Wed, 01 Apr 2020 13:41:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=zFP2MmEh+fFQszCsXSQY0ldP1U7Kx8dHPHKr9P/7iew=; b=fPxTEVFSZHusXbeYgo0DRZTeCJp4bRLu6bZ/SGBluaqbz9og1z6nGehIiTjPxXSWC7 7XXKEc83C13IFBptDr+ZqsLS6/yvTM0tHmg7LbQnog3GlMw5pn0R/aBIgaifX2RxWAvh NpqU2CLiUNC4FY2/d7FD3cmAXDu3Ck2nG0fcRyWy2LbJ5afHFwmd06gN6U581bUrthVk nEFVgQms+XDfcztVX8JUlOAKbHf0EvNckanMnwF17//lXE391eKTb5W52IKB1JlXevhU Ost7smm2vqyI9EryPdUv7MN5Kio8SpShtqi6RS1OkZ3129TVhVhdXtb4K13VAp8+50k4 p45A== 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; bh=zFP2MmEh+fFQszCsXSQY0ldP1U7Kx8dHPHKr9P/7iew=; b=FMyGnEDVMadQjMmh+84lofruJ/JmlmQ+5TNX/ICdYaU3ocUFJIrWZwu/DGrI0pLgk2 vObMIIFU7ki6vXR5ghxO9C63HO2LtF/NuwSKx9ctj28q0zZkNXbDp6yJ+BmjJmmkvFqo pnbtrJRJW5AXcglgSuHvw6rMZkuqA7TYRuyAxzn/KhtvC2UF8IYvzsLineHGLERjZJiC OZcQOK7owLIHsck7hPWKts4WaUWlS+0HU6zUu5hMmXHHaMocu+faec+HZ8+D6VtKA1GO uRogzelYm58Di3mdIzRAGq7ufj+7JYr8RQD/vPBCXdQ1DWo1mc7PblVLVbCORNRrrGr1 pfXA== X-Gm-Message-State: ANhLgQ1k+FMwLLf3yLuu2LSLdlAw2KTI8CpjMPMm9HJodP4nSVLoad1E TODxP0nsLDX0HVmGuO0ndpcCUw== X-Received: by 2002:a17:902:76ca:: with SMTP id j10mr23691174plt.184.1585773676926; Wed, 01 Apr 2020 13:41:16 -0700 (PDT) Received: from minitux (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id nl7sm2408552pjb.36.2020.04.01.13.41.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Apr 2020 13:41:16 -0700 (PDT) Date: Wed, 1 Apr 2020 13:41:13 -0700 From: Bjorn Andersson To: Ansuel Smith Cc: Stanimir Varbanov , Andy Gross , Bjorn Helgaas , Rob Herring , Mark Rutland , Lorenzo Pieralisi , Andrew Murray , Philipp Zabel , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 08/12] devicetree: bindings: pci: add phy-tx0-term-offset to qcom,pcie Message-ID: <20200401204113.GH254911@minitux> References: <20200320183455.21311-1-ansuelsmth@gmail.com> <20200320183455.21311-8-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200320183455.21311-8-ansuelsmth@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 20 Mar 11:34 PDT 2020, Ansuel Smith wrote: > Document phy-tx0-term-offset propriety to qcom pcie driver > > Signed-off-by: Ansuel Smith > --- > Documentation/devicetree/bindings/pci/qcom,pcie.txt | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.txt b/Documentation/devicetree/bindings/pci/qcom,pcie.txt > index 6efcef040741..8c1d014f37b0 100644 > --- a/Documentation/devicetree/bindings/pci/qcom,pcie.txt > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.txt > @@ -254,6 +254,12 @@ > - "perst-gpios" PCIe endpoint reset signal line > - "wake-gpios" PCIe endpoint wake signal line > > +- phy-tx0-term-offset: If I understand your implementation correctly this difference in hardware revision should be encoded in the compatible string. Regards, Bjorn > + Usage: optional > + Value type: > + Definition: If not defined is 0. In ipq806x is set to 7. In newer > + revision (v2.0) the offset is zero. > + > * Example for ipq/apq8064 > pcie@1b500000 { > compatible = "qcom,pcie-apq8064", "qcom,pcie-ipq8064", "snps,dw-pcie"; > @@ -293,6 +299,7 @@ > reset-names = "axi", "ahb", "por", "pci", "phy", "ext"; > pinctrl-0 = <&pcie_pins_default>; > pinctrl-names = "default"; > + phy-tx0-term-offset = <7>; > }; > > * Example for apq8084 > -- > 2.25.1 >