From nobody Fri Dec 19 18:59:44 2025 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 611851272B8; Sun, 24 Mar 2024 22:36:12 +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=1711319772; cv=none; b=q1o4NdTqzJomGwaFwIWFdeuCuzkoFrPoeYY4/lNGC4gA14xOQ9h06cXXxZjw0Xd0nOmykzI0Zvzw4XFEXVJ9owtrtQF9BTeK3LTG9gkctkp7zpnXZ03rBUhMWuys22rYjrWXDp0vY5CopqRODojpqvC/J+JzbBkw9OWMJWjwd/M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319772; c=relaxed/simple; bh=tV8tPyjDBqcivZy7fQnifxHJaUsNLTeXhPXtDBg9Lzw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZGFoIeowUGlW9DQ8BgLS+AoHjBZh00FiOT/pjHwoSxncPU03Vr1OVhfxTeMfKxRl6SZOua4uUCfWX4j6VqFXAT0iVjYFFnFgTl/L/cJkustzxz12lJyXJRGCls7eWh48ZGP9RIFmzEvYBv2WcHCEFFziwgGET5Ap2oW7emzWRbQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NxYnWzwM; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NxYnWzwM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9507DC433C7; Sun, 24 Mar 2024 22:36:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711319772; bh=tV8tPyjDBqcivZy7fQnifxHJaUsNLTeXhPXtDBg9Lzw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NxYnWzwMvsj8qno1zmcbxUaiuCv23FY97s8fc/4NRDeOZ0hs9xKwUDWJ1Qrw9KZxh 73pP/FRGOKlWJU3TFD+VHGnQXX9D4XCWfhiLuTtQ258HGqMRv+etTI+03BnEdiyBVl pQq0USOhyVwXm7AH9aPdcLAxu91JqBRUgp9QSQg+XzRb2K/QGUT9y2wdm13nP2zXBe POatgUno9jQlT9itnjspWz1lvhW5OPcFFRGS0cg3BlpJYwolDyjz2ksxC68PfbQvL5 eK0AnBaHj5dN14R+vaKmxwDRNolqg/EZUoL9Rf8c3PRj1VkZzZnMXWa4Elj7vlRDiL iZNd6DrBqa4zg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Konrad Dybcio , Bjorn Andersson , Sasha Levin Subject: [PATCH 6.8 073/715] arm64: dts: qcom: sc8180x: Add missing CPU off state Date: Sun, 24 Mar 2024 18:24:12 -0400 Message-ID: <20240324223455.1342824-74-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Konrad Dybcio [ Upstream commit 07b600dfdfea65d58dd80ea25becd8cff69bfafc ] The CPUs can be powered off without pulling the plug from the rest of the system. Describe the idle state responsible for this. Fixes: 8575f197b077 ("arm64: dts: qcom: Introduce the SC8180x platform") Signed-off-by: Konrad Dybcio Link: https://lore.kernel.org/r/20231230-topic-8180_more_fixes-v1-4-93b5c10= 7ed43@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/sc8180x.dtsi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qc= om/sc8180x.dtsi index b84fe5f3b41cb..8849469d0aa10 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi @@ -298,7 +298,15 @@ BIG_CPU_SLEEP_0: cpu-sleep-1-0 { }; =20 domain-idle-states { - CLUSTER_SLEEP_0: cluster-sleep-0 { + CLUSTER_SLEEP_APSS_OFF: cluster-sleep-0 { + compatible =3D "domain-idle-state"; + arm,psci-suspend-param =3D <0x41000044>; + entry-latency-us =3D <3300>; + exit-latency-us =3D <3300>; + min-residency-us =3D <6000>; + }; + + CLUSTER_SLEEP_AOSS_SLEEP: cluster-sleep-1 { compatible =3D "domain-idle-state"; arm,psci-suspend-param =3D <0x4100a344>; entry-latency-us =3D <3263>; @@ -582,7 +590,7 @@ CPU_PD7: power-domain-cpu7 { =20 CLUSTER_PD: power-domain-cpu-cluster0 { #power-domain-cells =3D <0>; - domain-idle-states =3D <&CLUSTER_SLEEP_0>; + domain-idle-states =3D <&CLUSTER_SLEEP_APSS_OFF &CLUSTER_SLEEP_AOSS_SLE= EP>; }; }; =20 --=20 2.43.0