From nobody Mon Feb 9 23:01:32 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C931EC001DB for ; Wed, 5 Jul 2023 13:36:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232240AbjGENgh (ORCPT ); Wed, 5 Jul 2023 09:36:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231963AbjGENge (ORCPT ); Wed, 5 Jul 2023 09:36:34 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75051171C for ; Wed, 5 Jul 2023 06:36:33 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2b6c5ede714so9410931fa.1 for ; Wed, 05 Jul 2023 06:36:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688564191; x=1691156191; 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=tDehjscIk2SWf6ZQIAfGyZlVXOMBjkBzSfoQGLWDyj4=; b=feC0yXfQzzZp6eVr5IJdwjCUikDuSUaJAmKIXJOZwZ5+R10CQ6r+DOZEudkiQQaWI6 wdHgR9qbWqnZxhLX7rBfJbl1oOfV25bC0SznNqG0DIqQrB8sBUFslNtuv2aOMqgR1jAN PITEjF9m+9oHY3DMrySOuzd4NVdcO2O4WlLCiLaMmHZSQ7/iHPALb+MWKswwALk04Ttl ra2PA/zoTwZPTZ5gjnz4iwINYH9TAwDzS3myZTkmcIZMoSPJD5O6fyctkPwfYZlsjkx5 3A7KeefQiggNHDtjNhUomOOuhYSkvlRg5I5qB2At21K7CX9pQ8PV4dm3ZimRhlOsHoOG tcJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688564191; x=1691156191; 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=tDehjscIk2SWf6ZQIAfGyZlVXOMBjkBzSfoQGLWDyj4=; b=M15DwcO1i3XZkfk47c/ceTSYuyacuvoBccIS7eE1+GMtfTbYKCR83uowHqrCpsnLZR UgPLaqeLYgc7S5RybkWhZt8k/yRjH0vICLI+IULgKkjizwbSJolPAMyeV6LYnP942x9Z UMQH8HWH0f0pfKDPL4yVdiaCloPb8L2z3730TNC8p9uEZbsOf5xeDBpAUUhxuIyqrQ6I JN8uW6pJNzdsF4tQdmp96zVlRDFXku0mOd41wtlTt8GZmXXJa7wPxQVDeDqMm3LswmBm Rsk2VNZyC5mzDI8G7N7LehcAtcg9h7CKcBPrWc/wdt3rzRnii/v5WjF+8e7GqlLzD9Yr RauA== X-Gm-Message-State: ABy/qLbpLI5OiyZOWs7hBmQF6UnrUeAbxATerIA89sJx3GI+mk1QOogc 5OHdvH0TxLgoe83KayNnEiCyMg== X-Google-Smtp-Source: APBJJlENKDp6usuj9WAYjV2ygLavZQZtouQgc4/QErgo4SaYp00oPmTEDTUZQgVR/54rNsqyoe/kuQ== X-Received: by 2002:a2e:aa13:0:b0:2b6:f942:ad50 with SMTP id bf19-20020a2eaa13000000b002b6f942ad50mr910220ljb.11.1688564191441; Wed, 05 Jul 2023 06:36:31 -0700 (PDT) Received: from [192.168.1.101] (abyj26.neoplus.adsl.tpnet.pl. [83.9.29.26]) by smtp.gmail.com with ESMTPSA id z16-20020a2e7e10000000b002b700952298sm246803ljc.33.2023.07.05.06.36.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jul 2023 06:36:31 -0700 (PDT) From: Konrad Dybcio Date: Wed, 05 Jul 2023 15:36:21 +0200 Subject: [PATCH 1/3] arm64: dts: qcom: sm8350: Add missing cluster sleep state MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20230705-topic-sm8350_fixes-v1-1-0f69f70ccb6a@linaro.org> References: <20230705-topic-sm8350_fixes-v1-0-0f69f70ccb6a@linaro.org> In-Reply-To: <20230705-topic-sm8350_fixes-v1-0-0f69f70ccb6a@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robert Foss , Vinod Koul Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1688564188; l=1346; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=2d2DhQq++j2DfhV91lvpb7i8X8VdjQL38pPB0W6MgOc=; b=L7k96R2XaasHAcso5HGo7jWJ4j61BNSo3itSsd3rvV5zyuYSTOOhPNh5t1l6nO0q1pu8DvA6g RLIwJk/aRbXCIRAsuycgO4uQefMW3/pgDFuDPghe+tfY01d2uw3uf81 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SM8350's cores can be shut off, without engaging full-on SoC-wide power collapse. Add the missing idle state to allow for that. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qco= m/sm8350.dtsi index ec451c616f3e..e1a09d4a83c4 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -264,7 +264,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 <2752>; + exit-latency-us =3D <3048>; + min-residency-us =3D <6118>; + }; + + CLUSTER_SLEEP_AOSS_SLEEP: cluster-sleep-1 { compatible =3D "domain-idle-state"; arm,psci-suspend-param =3D <0x4100c344>; entry-latency-us =3D <3263>; @@ -346,7 +354,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.41.0