Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp599205ybb; Wed, 1 Apr 2020 06:19:11 -0700 (PDT) X-Google-Smtp-Source: APiQypInH316TVNS+cCBB0teRTmCIBjxNYTHd08wJuyE74REE6IOXdHCLE1ve+fqeLMEwZbxMVxQ X-Received: by 2002:aca:5403:: with SMTP id i3mr2818876oib.174.1585747151717; Wed, 01 Apr 2020 06:19:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585747151; cv=none; d=google.com; s=arc-20160816; b=pzsAbKJsVAAqHw3OO0TBv2pn/rFbMwwKlf/EI8UIn00CPlVmXPavYsqFJygWwAtfKr x7AeeCa18F89yngNhP7DpBz7vy3dBpYngybxsXqgci/9AfMg4g33XiaaLR6b89Dqi31g +ulOv+YQZoToeXCa63czwCa3XoLT0BPav/3k67HSYUzUJD5mhXBDd94r9xS27Vbp3xBm hDSvbh6Kr+ophOpx1KqL8Sw22Vk1QMXLP1U5ZIDi6aoKDmG7DBzddbK+Th0kqlDsOPmL 0Au5b5XejkXN/hmAVFcOt6Fpw3i1M1XI9oyntCknRLjXNetKRnm+U8k+mva73hhLD5NF OCNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=MK5P2UOvs/xop/j5QGq8bTtqj8D3O2E1AcbPg0iSjl4=; b=TJTHKcXt3CuIBGuF1Jyn9UJ220nCd068tL/YkPj80hMQBAFfokq06IbeiFB0qpRTf3 WC1RiQBbEJjdKCLI/Q7dbbA0gcvhbBpSjkEOuDEwr2NKlPPzfXD97DtfZTleHcHX97of yNkP6pfIhtPmDnafgRLB5UwAwwJ+U9qH+cZUZa68xSYLnPkoyO9sC4rW7qH+qxV51Aa5 oJLMSN0z0JzUhXwN0uDN0VyvhBCmKNUASw/O9TJH+p1XV8G6Osp5lPvhzKYno4CHR+bx 4YUsKfIT3NRHQQONGER5bAU6nJxDmal1T1bi614Qp6EsmHGZma2NT5duv7SJBNvP3ZFL 2+Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mm-sol.com header.s=201706 header.b=qST7F3m+; 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=NONE dis=NONE) header.from=mm-sol.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 18si905352oin.182.2020.04.01.06.18.54; Wed, 01 Apr 2020 06:19:11 -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=@mm-sol.com header.s=201706 header.b=qST7F3m+; 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=NONE dis=NONE) header.from=mm-sol.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732671AbgDANSR (ORCPT + 99 others); Wed, 1 Apr 2020 09:18:17 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:34344 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732637AbgDANSQ (ORCPT ); Wed, 1 Apr 2020 09:18:16 -0400 Received: from [192.168.1.3] (212-5-158-187.ip.btc-net.bg [212.5.158.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by extserv.mm-sol.com (Postfix) with ESMTPSA id 3ABB8CFAB; Wed, 1 Apr 2020 16:18:13 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mm-sol.com; s=201706; t=1585747093; bh=Fq/qdX4sXnkr/VfFDq8FBTyt7s27Fzpli6td1arctek=; h=Subject:To:Cc:From:Date:From; b=qST7F3m+zHnnFC9wOZn+xcd5DI70lX0Rw3f3tA+iL0ImcryxOTwjLBLrITdIXFCgY DUC3A3kGSss4sGNtE+PGodbhJB+DBBM1etR+ElZ0O4hMGXVOJwMXVsmvyjn062guaQ NOJo4pqWehmVlgUiDcsSsFhVr3+BQHHreHEP1g67/QvdAp4Hpsh0RSmTcuhGWzSmnI iYRSpeAoMq8UM7U7XhRkLs0Uq6cnDMdqkF1iv5/dbddklSDxl41Op+qVfiPbdhTA31 ljqYFIZzcVf0FmS1RrVdY4gqP6aqV8BF7WbD0GXNXPkS68/It3NfrDof+xjRuxcSBC eDtSo81ataQIQ== Subject: Re: [PATCH 11/12] devicetree: bindings: pci: add force_gen1 for qcom,pcie To: Ansuel Smith Cc: Andy Gross , Bjorn Andersson , 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 References: <20200320183455.21311-1-ansuelsmth@gmail.com> <20200320183455.21311-11-ansuelsmth@gmail.com> From: Stanimir Varbanov Message-ID: <10cd1a8d-7203-c267-a9d7-9ca761d5acce@mm-sol.com> Date: Wed, 1 Apr 2020 16:17:55 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200320183455.21311-11-ansuelsmth@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ansuel, Before inventing new DT property I'd suggest you to consult with [1]. There is already property max-link-speed for that purpose. On 3/20/20 8:34 PM, Ansuel Smith wrote: > Document force_gen1 optional definition to limit pcie > line to GEN1 speed > > Signed-off-by: Ansuel Smith > --- > Documentation/devicetree/bindings/pci/qcom,pcie.txt | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.txt b/Documentation/devicetree/bindings/pci/qcom,pcie.txt > index 8c1d014f37b0..766876465c42 100644 > --- a/Documentation/devicetree/bindings/pci/qcom,pcie.txt > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.txt > @@ -260,6 +260,11 @@ > Definition: If not defined is 0. In ipq806x is set to 7. In newer > revision (v2.0) the offset is zero. > > +- force_gen1: > + Usage: optional > + Value type: > + Definition: Set 1 to force the pcie line to GEN1 > + > * Example for ipq/apq8064 > pcie@1b500000 { > compatible = "qcom,pcie-apq8064", "qcom,pcie-ipq8064", "snps,dw-pcie"; > -- regards, Stan [1] Documentation/devicetree/bindings/pci/pci.txt