Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp530204ybl; Mon, 12 Aug 2019 21:40:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqzP9blV1aYrKluedZko8SwWCp9fWYiYAeotMy0NQ7OEpQz6gUC6nGMX42+GDbv+eC6DCBzV X-Received: by 2002:aa7:8b52:: with SMTP id i18mr39625885pfd.194.1565671229224; Mon, 12 Aug 2019 21:40:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565671229; cv=none; d=google.com; s=arc-20160816; b=JUHECV1bQ6KZoJc1jb3mPNeu0J/IE5mDRDBnrd+rpMsb1SKbfiuBSgA1qE8yype3RO LtyuJN/Ao8DUSEJV7g2YaWPrXZbv8PGnZ9N5am0EiV2es5NkoMeZn1qtdTZHGF96sx8O F7mdyv/iPyci8ZeQRNCQw5t1v/H/oek6hqnaNpbCwfAsVFELehCIoEcyxWqvkjK40zJ6 5GAU/2k4VosV73Zji9iR1vfqqoZtgW3v7RBDI8CVoX1vaprMA56cxdj7rBhrEq8+mpfm HWKHx8LWRLhdBTHowYtfo+43wEqKyoLinT+szHZe9y08NPO3BEyDad7EYYv4VXstQld9 7LLg== 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=FwJydpcr667N2/XPMOBcxx0wD/N0E+SUJhtqvw4Uofc=; b=vkDwC4AHMksHbFVmyhl6lXljXRIFCyYk+YpmTmdf5IM4v7pJ3pQ4+2Y7CDNQuY5cj+ WFdEKziUQe0ZNjkW2i92n5t97rbK32nRzCLwxqdRd0rVqh5+WWeItUbO+CyQ+EWGcK9Y A16s4x7dRcX2Aoz32E2y7KWSod18arWitGl/76vy1F8cmbTw4FKk5N97w8FdR7mnslFT SlHn92u3qtE0au+Tf/Bd5ZbOAjNjD771UOgIqxurDvLDz+Hs/DCOVIu88M72UjALe6oY G3AiPbbFTE+NO0sc4xxZHUIVE6PXtlUxrqsYlU4e2xqD+PlfY8ljDJpe8+14q/5pxzgL 4X0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ZXoSPIGR; 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=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a3si755670plp.387.2019.08.12.21.40.13; Mon, 12 Aug 2019 21:40:29 -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=@ti.com header.s=ti-com-17Q1 header.b=ZXoSPIGR; 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=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726789AbfHMEiA (ORCPT + 99 others); Tue, 13 Aug 2019 00:38:00 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:51800 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725298AbfHMEh7 (ORCPT ); Tue, 13 Aug 2019 00:37:59 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x7D4bfUa075008; Mon, 12 Aug 2019 23:37:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1565671061; bh=FwJydpcr667N2/XPMOBcxx0wD/N0E+SUJhtqvw4Uofc=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=ZXoSPIGRf5bEd9CXF5888bXKA/dJVvEzd12eMCDYSiOBzIJd/NWnMSHge97ZmfqVN jA3URMmrInM0u4TPbHr4inRbz1sDP3l5hWoeqXrEouBhjPpUcrcUgWWTRIQ9IomKS4 Zt2tRMZTzHzVZ8Oi58P4pW6t9AIgx3ylM/vzgs9I= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x7D4bflI032016 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 12 Aug 2019 23:37:41 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 12 Aug 2019 23:37:40 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Mon, 12 Aug 2019 23:37:40 -0500 Received: from [172.24.190.233] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x7D4bZp5072921; Mon, 12 Aug 2019 23:37:36 -0500 Subject: Re: [PATCH 1/4] dt-bingings: PCI: Remove the num-lanes from Required properties To: "Z.q. Hou" , Andrew Murray 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 , "lorenzo.pieralisi@arm.com" , "M.h. Lian" , Gabriele Paoloni References: <20190812042435.25102-1-Zhiqiang.Hou@nxp.com> <20190812042435.25102-2-Zhiqiang.Hou@nxp.com> <20190812084517.GW56241@e119886-lin.cambridge.arm.com> From: Kishon Vijay Abraham I Message-ID: <286ea8d2-5467-6cc2-07cb-7707db13ad1a@ti.com> Date: Tue, 13 Aug 2019 10:05:42 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="gbk" Content-Language: en-US Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 13/08/19 8:37 AM, Z.q. Hou wrote: > Hi Andrew, > > Thanks a lot for your comments! > >> -----Original Message----- >> From: Andrew Murray >> Sent: 2019??8??12?? 16:45 >> 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 >> ; lorenzo.pieralisi@arm.com; M.h. Lian >> ; Kishon Vijay Abraham I ; >> Gabriele Paoloni >> Subject: Re: [PATCH 1/4] dt-bingings: PCI: Remove the num-lanes from >> Required properties >> >> On Mon, Aug 12, 2019 at 04:22:16AM +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 has been added in the Optional properties. This patch is to remove >>> it from the Required properties. >> >> For clarity, maybe this paragraph can be reworded to: >> >> "It is previously in both Required and Optional properties, let's remove it >> from the Required properties". > > Agree and will change in v2. > >> >> I don't understand why this property is previously in both required and >> optional... >> >> It looks like num-lanes was first made optional back in >> 2015 and removed from the Required section (907fce090253). >> But then re-added back into the Required section in 2017 with the adition of >> bindings for EP mode (b12befecd7de). >> >> Is num-lanes actually required for EP mode? > > Kishon, please help to answer this query? It should be optional for EP too. Thanks Kishon