Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2363067lqp; Sun, 24 Mar 2024 15:52:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWGa2CvkFLqVAOnzOTfik070o+DcY50fjqcGnghFGr7LxOysvMoDPNhwRhJ/9lgcZ+Lc3qp1DI71phC6ODstOm5ZNvgpwdSanHhe3X2cw== X-Google-Smtp-Source: AGHT+IHZki1xxC5ECvHmeNNWRdmYrlekh2GXtoJZ2xqosWITKFq6bnRzaeRUWbF9Ad+Ec5ghMwMk X-Received: by 2002:a19:e05d:0:b0:515:9789:a704 with SMTP id g29-20020a19e05d000000b005159789a704mr2973668lfj.66.1711320767211; Sun, 24 Mar 2024 15:52:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711320767; cv=pass; d=google.com; s=arc-20160816; b=ZrFs80+MQ2jr0aX3etxAbfDEhCKwucdi61bqbUiyPXQHAh7aoLb0fXWa8EPLhyXk4/ ZravH+Fnn8BnNad5LRZmM5rTVyluNjVhF7eLILgBX2kpKgIH57MgH45E0Li3LGLKDFNd tecidks2VTlGZxXfV3Wr0pfotNh80EMyHzSEQbDLSOTEECZVnI11nzSpql4hFtEEEgRK MWKzS5/X5ID2C27M3arFM+6Ismuzufzcy2zVHw9IOM/Viyl8hmb9a/NtsAt475aaNhbX xH6+cxcFZYI4KCgbTX1oWw0CuNvj+575VG0Qc8Ki1bjS9bxjVrldMglFiFecF7J7P7zt 9ySg== 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=N2/YEtHN4qXTytJquBPMpr0fBP+mdjCDRs59O+E2kMw=; fh=L5Dehiwb5F2xsbEFxQM7IYK0VfY2q843apUnamSEidI=; b=HRECg3vsQVQZS1YQ7+N9DcKmotoJRPkTaum5e3bAw6U5JaA+vjnbI5cIwTHbgStkAU fRp37F3+UTC5SvTGn1Hzi52X7+NQZfwNgFV62U00CeoGRARPxrYS4Gt4VY1OgjHZHX0f 5eS7LyczAWuZmK5PsIzecFYxyCe4y0dChS35kfmDY6D5EcGgh2RUpU07suU8pZUvnwIr JQqtsiNdJj9LaQUuc47SMQPp37kZRiJDzvdz+GAtEmhrcdhoynZKy9GTOGVlwJUwx0mV dhEWHPLmex35JKH5hsKaS8nIBZXofaCLXdOmr69/1Zc59GA9C9cOkHh1du4BxcwITgMR zYtA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NxYnWzwM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-112960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r5-20020a50d685000000b0056bb595c538si1957925edi.462.2024.03.24.15.52.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 15:52:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NxYnWzwM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-112960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112960-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 31A141F2191C for ; Sun, 24 Mar 2024 22:52:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4045A1272DF; Sun, 24 Mar 2024 22:36:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NxYnWzwM" 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 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: 8bit 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-93b5c107ed43@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/qcom/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 { }; domain-idle-states { - CLUSTER_SLEEP_0: cluster-sleep-0 { + CLUSTER_SLEEP_APSS_OFF: cluster-sleep-0 { + compatible = "domain-idle-state"; + arm,psci-suspend-param = <0x41000044>; + entry-latency-us = <3300>; + exit-latency-us = <3300>; + min-residency-us = <6000>; + }; + + CLUSTER_SLEEP_AOSS_SLEEP: cluster-sleep-1 { compatible = "domain-idle-state"; arm,psci-suspend-param = <0x4100a344>; entry-latency-us = <3263>; @@ -582,7 +590,7 @@ CPU_PD7: power-domain-cpu7 { CLUSTER_PD: power-domain-cpu-cluster0 { #power-domain-cells = <0>; - domain-idle-states = <&CLUSTER_SLEEP_0>; + domain-idle-states = <&CLUSTER_SLEEP_APSS_OFF &CLUSTER_SLEEP_AOSS_SLEEP>; }; }; -- 2.43.0