Message ID | 20231230-topic-8180_more_fixes-v1-4-93b5c107ed43@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-13286-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp2856260dyb; Fri, 29 Dec 2023 16:06:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IFVMYMUdOmPYcJxe3MlPxlAP9hxUp0zyg9Rn/BNTeFu4wcJd1iTgGgF7g01c+gen/03DIon X-Received: by 2002:a17:903:4290:b0:1d3:abaa:1399 with SMTP id ju16-20020a170903429000b001d3abaa1399mr11499906plb.51.1703894792223; Fri, 29 Dec 2023 16:06:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703894792; cv=none; d=google.com; s=arc-20160816; b=rUGEef16qrHvpun4nabbbCUT4d1jcKG8/mFWFvb8KDtWcRAxRpjH4aGp9NM7cOTvVL h7REC4W2pph1Vmm42F+5GV1EwPA2LGNCsOjm22uidRbWaJsd5w3PSkzJORBdTIZLO7IN ojnvcgXHxm2Wf9kwxTmHgd3VSjguFWHfn8ZRnfTP4f0BpC/1p/mfFL8zNVGeLkCVVIHt iGioLzSXsWrBKXxtLlI70omX+DpCcWwEZjUk9ZmlWeHRVrl6M2PqjyvsQSBD/+trbXZx osUPPepYfxbO6dWHFIf1sb0ziMdtQWuBLJzmO9yvIx4fy/wLjvbB4dKxl32BKdLrUsuH egQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=5ns1dL2MqcYmvBdrUOAiqp2mC+tSGPSDtkE6TV4xq48=; fh=5QK1rh7VGKoSXX39AsKq/sVNxj7melNvWk3JL5hTkXg=; b=sTXKO5OEHbGdL2GuptzQZyoqGz80VblmbVCbNcdxiSAIn5VLlUvYXRPQHos4ogE10j iEvOSDRk3b64WlCcZKFwEoHI4oqRKvStOorsEcQu9dfgGC+DCFMAfj2fF6igshyQrtSl jdF02z/c/JpuSGPqXS0OHosGIurGPhWuy1pNIcLNkXKJwwQaM3G+yWrkICg/QtbSOMv2 v23PNHiroSEl6okJ//pfSelia12KNCd+J7aIK8wl2rfUn/UihjZ91Qju+mzz4cCcCmA5 PMepXb0ANvzWnFb0hm9F3AG8+KRYKYzcBB7AbIjll8OLJGXPyv4E7B7XECfUxEEeFQXU Yy9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rCQJAWWL; spf=pass (google.com: domain of linux-kernel+bounces-13286-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13286-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ju16-20020a170903429000b001d0a7201fe4si14959222plb.310.2023.12.29.16.06.32 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 16:06:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13286-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=@linaro.org header.s=google header.b=rCQJAWWL; spf=pass (google.com: domain of linux-kernel+bounces-13286-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13286-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 029E02839A6 for <ouuuleilei@gmail.com>; Sat, 30 Dec 2023 00:06:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B68728F5C; Sat, 30 Dec 2023 00:05:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rCQJAWWL" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB9363C3D for <linux-kernel@vger.kernel.org>; Sat, 30 Dec 2023 00:05:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a2772011f8dso162040366b.2 for <linux-kernel@vger.kernel.org>; Fri, 29 Dec 2023 16:05:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703894712; x=1704499512; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=5ns1dL2MqcYmvBdrUOAiqp2mC+tSGPSDtkE6TV4xq48=; b=rCQJAWWLd0+lXneLnqrV2YvQOdYxJFFrQ0oj936cojSE34anZD8/EOqBXmGIqYdBiu B5X7+Rj9redNSAUCJ+zOFSXV+aI3++ejLZRpOJVxz7uf2LjDxopMOb2AkSnA4v3a913t VHVthDK748anKG1xaiLyG+Q16L5EXJGgM3W40x9CZ/6WBO9pT92lrCiwV1XFCrIkI3fC yelczvx1brT0CpLei6b6RGNGcYbdShii9etFNrgstydAsH3UPhIEUyBeV6wnpZD7NzLs eKrjkb3C4gpeDQxPswDDCST0xzpXzgkhQxjoeiGWi40PkszG9wok2BdfY9qG89skYnTF PL0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703894712; x=1704499512; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5ns1dL2MqcYmvBdrUOAiqp2mC+tSGPSDtkE6TV4xq48=; b=d/jFFZnvDElzk1EXEvnMDkQ7r43ANnh9yahI96+ojqvx3UrOPY9xcZ6OAk9oOObBPT 6E038nIrj8SS/RvayxIYaXXBlqwM3SlPUdqj/8jX9n8PyJUz0srbA6PBmixxHrj1EJhs eoDT2slFGHGAuyMeiBeqDpbB5G99SqU47NE1xgQusoGaTSrSoM4byN3IZ06YKz4FE+Nx sARg8OyyI8GyGf2pLDwXJRjGtvuctT7iO2+K6vMebcixy9Y/7IKE9lSy/kpkvjjTq2yt l1gGebvxWeEAtml2StstcG3gXYvJg6VP+QH14WbueOsbMJOui+R7xmrkkAntE0KRiEWM Mfzg== X-Gm-Message-State: AOJu0YynRZvxnznmqqyyTcxcWX81AP1kYb1l08oSBKao6HIFrliMHOih f2V9ckCH+svSmzOli1zs77lm/DHDlyirCw== X-Received: by 2002:a17:906:3e54:b0:a23:6259:12d2 with SMTP id t20-20020a1709063e5400b00a23625912d2mr5168883eji.69.1703894711882; Fri, 29 Dec 2023 16:05:11 -0800 (PST) Received: from [10.167.154.1] (178235179036.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.36]) by smtp.gmail.com with ESMTPSA id wj6-20020a170907050600b00a26a0145c5esm8609623ejb.116.2023.12.29.16.05.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 16:05:11 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Sat, 30 Dec 2023 01:05:05 +0100 Subject: [PATCH 04/10] arm64: dts: qcom: sc8180x: Add missing CPU off state Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231230-topic-8180_more_fixes-v1-4-93b5c107ed43@linaro.org> References: <20231230-topic-8180_more_fixes-v1-0-93b5c107ed43@linaro.org> In-Reply-To: <20231230-topic-8180_more_fixes-v1-0-93b5c107ed43@linaro.org> To: Bjorn Andersson <andersson@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Vinod Koul <vkoul@kernel.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703894704; l=1425; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=+PkUcmeYaxFipnN5tNi1C4DL3fSDrQJVd/KWJuKrVDQ=; b=GoZh2GoTTHAsw7/PuHEDfeMrw1K6eOfM+uzNCWnQXqbuJR31KiRBfPtGUWe0p61kMXBU/7pEk wdHqcLHDAUlCesyPBSQIOK0hcoyvvsBBCZqTZ7YVkSibJJzkD3OvFbK X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786663185626701031 X-GMAIL-MSGID: 1786663185626701031 |
Series |
More 8180x dts fixes
|
|
Commit Message
Konrad Dybcio
Dec. 30, 2023, 12:05 a.m. UTC
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 <konrad.dybcio@linaro.org>
---
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 b84fe5f3b41c..8849469d0aa1 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>; }; };