From patchwork Mon Jan 24 16:27:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 12722364 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 23F0CC433F5 for ; Mon, 24 Jan 2022 16:30:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Je5iQd71wkhjLIvF4L6GT26hSdNhAcI+939m/jUb8io=; b=QwLF8WzeSdZ0B4 QgWwgdr113WGg7htdMnXQWlIBmX61PLRBe0QcYiCqUVF0eAEH48ZUHFcKlmSDIn56G9nvkzNSGOCe bl/n6stv5ltp7tWY9frRk/oKr0MlM5BvdWRMLYikpnRjqhrbRBiwpHXUSG7m3NPdJsl0BpNcOn1bQ oiyRwkvPw80oXViGS3tqsUEGQGkt/o4UeGqqA5rjknc8bBIqaeuYgQd51aiuamgM4CPAQBJj+jt7t vt6UlTgilqiHAPQRoV4U0TRexCNyrSIfKCXgLjr6AfqJatCf10/L77vplKvqCVNhR7w1R6jwRnhlN n4G64tcOCTSXklZcs1bA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nC2DM-00423j-GL; Mon, 24 Jan 2022 16:29:08 +0000 Received: from guitar.tcltek.co.il ([84.110.109.230] helo=mx.tkos.co.il) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nC2DI-004228-W5 for linux-arm-kernel@lists.infradead.org; Mon, 24 Jan 2022 16:29:06 +0000 Received: from tarshish.tkos.co.il (unknown [10.0.8.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPS id A8C90440537; Mon, 24 Jan 2022 18:28:47 +0200 (IST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tkos.co.il; s=default; t=1643041728; bh=5QfVU3Vc9kJkteXou5FKpbIKc/tTimDxXUcTduzXFC0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n5TPIKBdQFS/Tup/NtncXiCmPANMKDUmzh0Qqt/F4GS7c7HDrh2aQVwliKUAm+iT3 T0CIsjEpC9qftv41GCjggnIMCXq/lXRHLpxzCpkJG9r1ffdTnsWyuscK4UYu72TeHH UzVVwm7NEiR3zOxFEHGdHMdi0mnj/hk+YF0yo1NURvgD0vRv2a4c1/wZbJR9zdXlWI dx+XobylLa1aMIkqk8McyzNMhq4ddwBtz9gQE+81qa6MQCA5sOUnQhliVoffQvirwx bsHYcwcfhUVTL0t8uHowcGbS8Huf+kEOaBsD7CCoXQUcunXaFHP5g36zCA4pMzhR57 wEkGOyj8bxJyg== From: Baruch Siach To: Andy Gross , Bjorn Andersson Cc: Baruch Siach , Baruch Siach , Selvam Sathappan Periakaruppan , Kathiravan T , Bjorn Helgaas , Rob Herring , Thierry Reding , Jonathan Hunter , Jingoo Han , Gustavo Pimentel , Robert Marko , Bryan O'Donoghue , linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org Subject: [PATCH v5 1/3] arm64: dts: qcom: ipq6018: add pcie max-link-speed Date: Mon, 24 Jan 2022 18:27:29 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220124_082905_284171_174E31E9 X-CRM114-Status: GOOD ( 10.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Baruch Siach Add the generic 'max-link-speed' that correctly describes the IPQ6018 PCIe link generation limit. This allows the generic dwc code to configure the link speed correctly. Signed-off-by: Baruch Siach --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index a717fc17523d..665ee301b85d 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -438,6 +438,7 @@ pcie0: pci@20000000 { linux,pci-domain = <0>; bus-range = <0x00 0xff>; num-lanes = <1>; + max-link-speed = <3>; #address-cells = <3>; #size-cells = <2>;