From patchwork Fri Feb 23 15:21:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 205462 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp656075dyb; Fri, 23 Feb 2024 07:27:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVoCyvHiOEErzCpH3pVngNCu6SGSk2QhifR4zWpeiSjnw1n7ocUWpy2RKpSpWIUYy31xaPuinibzMo4SacaFJoCwaLwQg== X-Google-Smtp-Source: AGHT+IGPQgigCHFD4tWYmQs9fRXkeQ3/sYBqyTwfyC8Nsxt7PgdBOnkXTOvCRx+pyYN6Sy3hld5g X-Received: by 2002:a05:6a00:9285:b0:6e4:8d20:66ed with SMTP id jw5-20020a056a00928500b006e48d2066edmr153434pfb.3.1708702030004; Fri, 23 Feb 2024 07:27:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708702029; cv=pass; d=google.com; s=arc-20160816; b=bT5Zwe5vF0DxHNsMs01FVnussmEqlgQD3o+CKK0Lyqsp56FZrIchI4jchRM1eg1zMK j5aM4UuCrJ3mt5uhgKHmwlrUXFTo/VikbdKDGbz6/znXc5rEwnluQDxGe+hitH7C7ZUf kpZZ6IKtrDrpLxyvd98tIPgxdlDqor7G1p3pXNZ6E4Pc9OAWiXMPz4mYxSYbm5PlvnVP EQN9lSPuK0i17yaqGechVGZanthVQA33sFrH/9UNvipn9QGJDD2VGgIBy+WVgJTjXCAK X4lJJl3pGX2kUkqHHqWez+kqD8rTbnRuTVgiL4706qaIm56rO8wDJbUjVd9vvh4jqTY7 95zg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=YLcX6fylKmdj3Sw4nCdj89OnYwk+QjNeewPc/JpgQ5g=; fh=ZRW1OjL+vw4nR3zHw03SqmaugmDx4dJgwazkhUMUovE=; b=dXGWcZIqxmAkeBrdXuNGVSFFedkps6mK0cZCthVa795La/zFopZsDR7tj1K+vPl1J+ jKpuaPcBvxmdDEy9P4daRPskufIEykz6O7fnV16iF11eDXvqd1r43fNN08dlvEfpJYoW 4uf7BoK1TseEnoLZzbT/Y8tSRurVYokI64u8GO2zPlobHNe9sQQB4UmadGeOFVQ7fMmN ppkUxUf6RO4Y0xFgV/O32sNuGljrghWfTffwVLuYTlB3O8vH8ZzkPtF3Y9czGYQLTkVU VCNCnLRhccoHdPnR+6s75nKg4YnlxuemaX+tZ2M3I55mxmjZ+jZ8q4B/CKZG9T8s5lAz H85g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RiMkzcS5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78598-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78598-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id lb12-20020a056a004f0c00b006e376b9203esi11087043pfb.213.2024.02.23.07.27.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 07:27:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78598-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RiMkzcS5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78598-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78598-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4B49E283A9F for ; Fri, 23 Feb 2024 15:26:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 45BDE82898; Fri, 23 Feb 2024 15:23:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RiMkzcS5" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 710F882897; Fri, 23 Feb 2024 15:23:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708701788; cv=none; b=i+v1w9TE4n32L/Vns6i+Pfb9R6aNjEw3ttjbeUvy96Cw4dlu4Slc/rBEmYzc0NGb8AhuEMA/C+xZM9UWAsd/GxfmCx9lmuOB7s8+hVUC7GLJMZr3BAVCnpnJKEXynWEhoVsJv0dw0umUd+XS5XghEN9GMNOSly9Yiy2s4HSjwMg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708701788; c=relaxed/simple; bh=gJZHjSh3y+j7s4q6gU9xs2cqQ5VjywqHBbKDaqt8bfM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AjL9OCuZLrvwXPKJBDUnoS5igpjZYuA91F4zumxkbn5vX3j5CKXGZc1VqrhrRrCew68rW7FCtayy33AsVyP0kX/YkvvKdEfLd0B+AEHb6pZ51lSuFlo/E28z2Ce84B2C7WqDtOH4Mg6g6eTJXMXOrCDPuEpUlg1kJsOZwjrK1tw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RiMkzcS5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9BC6BC43330; Fri, 23 Feb 2024 15:23:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708701786; bh=gJZHjSh3y+j7s4q6gU9xs2cqQ5VjywqHBbKDaqt8bfM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RiMkzcS5oV2wh7PEl8kSNanLJNv9U7lFD6i8q8LVXxXNHLUXjNvxiuc0rYsong6Wc ssaUlKFv2vUQxAvUh5ohXotOVix5xcW6mw0RzrerVcMqjFetoIlEERDmqr5mce6Qcc XwnYtEkq/uLvlQRpceVaADrgfs9Imbm+dGSZqIgHIwtBcxkdEhBRt0N2VYIrLO/Vt0 sp8ZyJ78zBABDxRmwmdR2VcxdeiT5HdliQYerU4Hz/Jv+sqYfnLXkbCs/sq2yCSsQL bzIviGKvXSsQ3QW8HIMa+y5YX0YE+ktaMj0f6cCVBqChoIby88UN58LnYLyJeNguVV LGkJxduKxYYHQ== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1rdXOJ-000000005Fd-0t1U; Fri, 23 Feb 2024 16:23:11 +0100 From: Johan Hovold To: Bjorn Helgaas , Bjorn Andersson Cc: Konrad Dybcio , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , stable@vger.kernel.org Subject: [PATCH v2 05/12] arm64: dts: qcom: sc8280xp: add missing PCIe minimum OPP Date: Fri, 23 Feb 2024 16:21:17 +0100 Message-ID: <20240223152124.20042-6-johan+linaro@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240223152124.20042-1-johan+linaro@kernel.org> References: <20240223152124.20042-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791703939884946618 X-GMAIL-MSGID: 1791703939884946618 Add the missing PCIe CX performance level votes to avoid relying on other drivers (e.g. USB or UFS) to maintain the nominal performance level required for Gen3 speeds. Fixes: 813e83157001 ("arm64: dts: qcom: sc8280xp/sa8540p: add PCIe2-4 nodes") Cc: stable@vger.kernel.org # 6.2 Signed-off-by: Johan Hovold Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index 0a40b8dec14e..95c7b746407f 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -1780,6 +1780,7 @@ pcie4: pcie@1c00000 { reset-names = "pci"; power-domains = <&gcc PCIE_4_GDSC>; + required-opps = <&rpmhpd_opp_nom>; phys = <&pcie4_phy>; phy-names = "pciephy"; @@ -1878,6 +1879,7 @@ pcie3b: pcie@1c08000 { reset-names = "pci"; power-domains = <&gcc PCIE_3B_GDSC>; + required-opps = <&rpmhpd_opp_nom>; phys = <&pcie3b_phy>; phy-names = "pciephy"; @@ -1976,6 +1978,7 @@ pcie3a: pcie@1c10000 { reset-names = "pci"; power-domains = <&gcc PCIE_3A_GDSC>; + required-opps = <&rpmhpd_opp_nom>; phys = <&pcie3a_phy>; phy-names = "pciephy"; @@ -2077,6 +2080,7 @@ pcie2b: pcie@1c18000 { reset-names = "pci"; power-domains = <&gcc PCIE_2B_GDSC>; + required-opps = <&rpmhpd_opp_nom>; phys = <&pcie2b_phy>; phy-names = "pciephy"; @@ -2175,6 +2179,7 @@ pcie2a: pcie@1c20000 { reset-names = "pci"; power-domains = <&gcc PCIE_2A_GDSC>; + required-opps = <&rpmhpd_opp_nom>; phys = <&pcie2a_phy>; phy-names = "pciephy";