From patchwork Thu Mar 16 14:12:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 664895 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 92266C6FD19 for ; Thu, 16 Mar 2023 14:13:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231239AbjCPONX (ORCPT ); Thu, 16 Mar 2023 10:13:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231209AbjCPONP (ORCPT ); Thu, 16 Mar 2023 10:13:15 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03557AB8B3 for ; Thu, 16 Mar 2023 07:13:08 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id a32so1850524ljq.1 for ; Thu, 16 Mar 2023 07:13:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678975987; 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=8raBTXfySji8fpCPLBYPhkx+Ml6mdyfbjzhF4yIreP0=; b=azxV0C7ElI9nuIrzcyidvF7wgMwRjrYpY0h3aDMacTQtr27ionpn4UIG6e7iJ55i6C +gN0i6O6HGBVpaTf1OQ2Ku8d+g5jDBPI2DNV6HVoUer4aNZ79cJltykl/9VlvKinM2iK 0ekYHVYFjtRhraNTIswyN17bFotw4ZKNm70U7WS7+Z4zp5tlGErso3sdtCXHXbtf0cO3 y/Mk2MXFcKV5vOJzqf8m/2iFqY3XM72P3RCywjy5mIevJICr5G6tsYnaI0vQ60VZoQqO ptInUSWaMFRl7ZuxhmFjiyf0ztk5dHPzlt+hWBuO5vy174976jqRU4J3Sxg5HZqB6pGE qMHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678975987; 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=8raBTXfySji8fpCPLBYPhkx+Ml6mdyfbjzhF4yIreP0=; b=vUkesyVt5WugFOO8fVZ6OYtfo01pE4mqNOX/AcO7Iwvvw5TBQ3sR95YaAVc1zVxECt YXyg0pRpWy5AnSdy5QFo/SuFnn9uWRpNpUl1KStklr6EgMR/+G4WMPTulBlV3Npur6Lv fQfFzYb0rKbJY8/AABNNprJhAb+XCVfPyjUoBa+w2RaRJDh5AH30W3Nk1RxvYyfseQz0 tthTMTKhErUXOh3Wdwvodp5F2S+yN+GDdvn2KcLT9XqYfPF2lGWeIG46DXwA8aTjOJD0 IRNXiVA1iEZNnLOqsEMNsfkLyjXnRQ+6rxUfaV5X5frB4g8X7FGhMGkQ/bL9HSFyQLMy 4Viw== X-Gm-Message-State: AO0yUKWnt2DdjskSEWwUVEQF6bPVZFEns7UMoWFyAZ4WnyKocAc1yMT1 GNBg9OC/Ei9FeG8yosIUccGpaw== X-Google-Smtp-Source: AK7set8TUH1Gft3ha6FOirDCP6FOLXq32NPtBNRJjeOI4lUYMguEYQtUAO/4c/EPiSZ3Iy21WVSPbA== X-Received: by 2002:a2e:850d:0:b0:290:8289:8cc8 with SMTP id j13-20020a2e850d000000b0029082898cc8mr2002890lji.22.1678975987062; Thu, 16 Mar 2023 07:13:07 -0700 (PDT) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id a9-20020a2eb549000000b00295735991edsm1261639ljn.38.2023.03.16.07.13.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 07:13:06 -0700 (PDT) From: Konrad Dybcio Date: Thu, 16 Mar 2023 15:12:53 +0100 Subject: [PATCH v2 04/14] arm64: dts: qcom: sm6375: Add RPM sleep stats MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v2-4-708b8191f7eb@linaro.org> References: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> To: Amit Kucheria , Thara Gopinath , Andy Gross , Bjorn Andersson , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Rob Herring , Krzysztof Kozlowski , Georgi Djakov , Sibi Sankar Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marijn Suijten , Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678975978; l=761; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=DKx+rSMb2n+6CPR4L2fodh6IzfCfn+ctrSy97qX3zGU=; b=kgTjRf+0MZH83jHV0+hWfT5jLGkzIuDSYLc2nQr1s13EaX8qETr6kQs7C8nt53DKqE14Vs4CKI87 dFLEuKAqClp7xo7Qh9Lv+Zic8bOij0SKVMfKLQ0Tp1FCMygSzx5f X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add a node for RPM sleep stats to enable sleep monitoring. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index 31b88c738510..de5882c0ff81 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -718,6 +718,11 @@ rpm_msg_ram: sram@45f0000 { reg = <0 0x045f0000 0 0x7000>; }; + sram@4690000 { + compatible = "qcom,rpm-stats"; + reg = <0 0x04690000 0 0x400>; + }; + sdhc_2: mmc@4784000 { compatible = "qcom,sm6375-sdhci", "qcom,sdhci-msm-v5"; reg = <0 0x04784000 0 0x1000>;