From patchwork Mon Dec 27 06:46:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 12699574 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 2C020C433F5 for ; Mon, 27 Dec 2021 06:48:36 +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=zwIX8P5/sb77IQOp7Y/HEl20opRm7hzkpohQOWwlQjY=; b=fPwdPGHjzeg9jG PSLJcnqvHVQe8h6CYQUiNmILjpQ7vk+ZihQRaIE+SWvaJyeKKjBFSx5AYp9NvInSwa/AkWtHeY47O wkHTDsXKLNl3XMRqab/RDR9I8D+Y8jKwa6MfZPG8LxPzJEhf/o+Cb2TSNO4TTTsDUjmpmwkXceMIp bThU1dheoAwKfvIGqavc8RuixevYvQAPLU8zVbkgR8wWONQbF6cq4hXp8VZNzvlo1Hw9qLncDqkRX iTDFKUVaoQQAhJg+6uJ+USwzx8NVB2YN0MiAvLve7tSJvXXItplmwQ3v1OkumaCEoN41m6yKwMTxL xAtPKhZwcQRBnSsKM/kQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n1jmI-00GFxL-4a; Mon, 27 Dec 2021 06:46:38 +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 1n1jlw-00GFuH-O1 for linux-arm-kernel@lists.infradead.org; Mon, 27 Dec 2021 06:46:19 +0000 Received: from tarshish.tkos.co.il (unknown [10.0.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPS id E36234405B0; Mon, 27 Dec 2021 08:45:58 +0200 (IST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tkos.co.il; s=default; t=1640587559; bh=v4vtQdbtJGJ4z3e70Ewov7SB+hmi3tHkxZRYAVgoeM8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XAe9bh2vJHXby9P12x4UIwvnDilOG7Z26L0Xe6TQ/Hp4NrHXTBF7wKzB1ugDdCLqW lc117XRJRIZs88L/1/cVn8xDicMl7ny9V3EIu+6cNCPmMs5Iaoul9CsZsJBTEJMxHT jldrLdPm1XxgQOFaxShIsNa86fDj0fbB6RmGIyAoEFQK1zRCPnIQfXWvnz1mp8fbN1 VLsizx6szLiAsW4crYsQxeqroTwI6ulxMLbx+Gbg6ZmWvIH63xsI7ZK1rTLkMy121T twqYhukrawAwnR0vDzo8WoVCE/emETTrIH7OXqXKZQHk5hnzTKT9KpSSSmWyknWjYI 5OTRb+qPOLAGA== From: Baruch Siach To: Andy Gross , Bjorn Andersson Cc: Baruch Siach , Selvam Sathappan Periakaruppan , Kathiravan T , Bjorn Helgaas , Rob Herring , Thierry Reding , Jonathan Hunter , Jingoo Han , Gustavo Pimentel , Robert Marko , linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org Subject: [PATCH v4 1/3] arm64: dts: qcom: ipq6018: add pcie max-link-speed Date: Mon, 27 Dec 2021 08:46:03 +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-20211226_224617_005065_115FF6C4 X-CRM114-Status: GOOD ( 10.18 ) 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' property to describe 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>;