Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp98630ybl; Thu, 22 Aug 2019 20:39:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqypQYVwVGtpclF2gLgNkHdzjSrOdIeK4CYtF8kGlZLC60sye3DVIsLOHiT+W3sOg8P3XoDX X-Received: by 2002:a63:9245:: with SMTP id s5mr2127030pgn.123.1566531588037; Thu, 22 Aug 2019 20:39:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566531588; cv=none; d=google.com; s=arc-20160816; b=D6T3marUq1Y3QNvSg4vYZTiw2Q3sJyVzHmnrrfyJHpszRlMgkArvW8Isi4f39x1gnH e/2dylePdtl6i347hyUznEdBotiu7ZVrHvZnRoEXImrj+5RM6oA1Ycn+xYDpY0YJPgij PUEb2tdFsWC4j3xTGsgUbU0km0qjPhpgolquAq00VtZx2WyWUu04Ls5UvG1AKqkUPsbt PdL6mH5EI7JecDAWkBPFH+cfG0mW4PlBXZ/HIBk3ToV3gi6B9oSGY41F6zuI/zdeSKbO BVVb1DZmABH6W7KxUMBq0bTOPFgVisP5U7TJn13R10g4pcOruPxFjeOZwG5VZCcohbnK fpiA== 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=O8a7xqVfVIsancBzqvOTO2Bf6Nd8QRdjboNzKRF/gdw=; b=pFk95XA++E3/OPTjsFIAbY81iyVAtBp4qPPIZt0nLE3DiKB3AwlJxq59oTKRDs2DiO Rhjm8YrpjHwY5c2lkK2AffqjbH5Gq2ZA517QktFKhhrfprw+MtmAyHPk9f6uL0u6qC3y mQ9J4Hm4sfBGUewu0Qpx0YdhoPKpdIYbog4sqPr6F5AYUwA89DxO9gac1ACJ7MUfhDtR pMYfOtjT8KoeBTaS8pFS4OE5zFtgM4thAFApEtvHZEs1pMs/3S24IWz98IymsFJVSky0 p6p6LNmU6iD+YBC4VRucBaMIGAd6fX+oWzLAEZCwM+cGUXAP3JM+7Q7za1o7ALk6/6jl OTHg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o8si941594pgj.239.2019.08.22.20.39.33; Thu, 22 Aug 2019 20:39:47 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404824AbfHVRcL (ORCPT + 99 others); Thu, 22 Aug 2019 13:32:11 -0400 Received: from foss.arm.com ([217.140.110.172]:50008 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404559AbfHVRcA (ORCPT ); Thu, 22 Aug 2019 13:32:00 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AD8D628; Thu, 22 Aug 2019 10:31:59 -0700 (PDT) Received: from e121166-lin.cambridge.arm.com (unknown [10.1.196.255]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0846C3F718; Thu, 22 Aug 2019 10:31:57 -0700 (PDT) Date: Thu, 22 Aug 2019 18:31:55 +0100 From: Lorenzo Pieralisi To: "Z.q. Hou" Cc: "linux-pci@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "gustavo.pimentel@synopsys.com" , "jingoohan1@gmail.com" , "bhelgaas@google.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , Leo Li , "andrew.murray@arm.com" , "M.h. Lian" Subject: Re: [PATCHv2 1/4] dt-bindings: PCI: designware: Remove the num-lanes from Required properties Message-ID: <20190822173155.GB12855@e121166-lin.cambridge.arm.com> References: <20190820073022.24217-1-Zhiqiang.Hou@nxp.com> <20190820073022.24217-2-Zhiqiang.Hou@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190820073022.24217-2-Zhiqiang.Hou@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 20, 2019 at 07:28:43AM +0000, Z.q. Hou wrote: > From: Hou Zhiqiang > > The num-lanes is not a mandatory property, e.g. on FSL > Layerscape SoCs, the PCIe link training is completed > automatically base on the selected SerDes protocol, it > doesn't need the num-lanes to set-up the link width. > > It is previously in both Required and Optional properties, > let's remove it from the Required properties. > > Signed-off-by: Hou Zhiqiang > --- > V2: > - Reworded the change log and subject. > - Fixed a typo in subject. > > Documentation/devicetree/bindings/pci/designware-pcie.txt | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/pci/designware-pcie.txt b/Documentation/devicetree/bindings/pci/designware-pcie.txt > index 5561a1c060d0..bd880df39a79 100644 > --- a/Documentation/devicetree/bindings/pci/designware-pcie.txt > +++ b/Documentation/devicetree/bindings/pci/designware-pcie.txt > @@ -11,7 +11,6 @@ Required properties: > the ATU address space. > (The old way of getting the configuration address space from "ranges" > is deprecated and should be avoided.) > -- num-lanes: number of lanes to use > RC mode: > - #address-cells: set to <3> > - #size-cells: set to <2> The patch is fine but if I were to be picky, we should update the "Optional" entry to remove the "this property should be specified unless the link is brought already up in BIOS" AFAIK in this HW "BIOS" does not really play a role (and honestly the sentence above is vague enough to make it useless if not harmful in a DT binding). Lorenzo