From patchwork Fri Mar 3 21:58:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64097 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp667177wrd; Fri, 3 Mar 2023 14:59:53 -0800 (PST) X-Google-Smtp-Source: AK7set9J15GFUVGaUA4MyY+u2GgqhNb2ghnq5rMMMqti2BA05t6H+vTDTAcXO0TlJImKbq61OQ2o X-Received: by 2002:a17:907:3e0e:b0:8b2:a42:5c3a with SMTP id hp14-20020a1709073e0e00b008b20a425c3amr3908518ejc.70.1677884393086; Fri, 03 Mar 2023 14:59:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677884393; cv=none; d=google.com; s=arc-20160816; b=AMKviKSmfa/oJ1wC90O0XRVVxtfbreVHPJZSVIOqCsZGYZ/WA10y022OHP6ToMqnPz 0ji3Ez9euqx7jJ6jq/gWuf4S/DP+7o973JflXSALWzVwVcEp/oVTOFtwVr4LCHUQPs/Y SiNdYb9XpJNc9/oYkh3Wj8acN7hSYg/kYrbEBbWjF0baGHZiYJUtzUCYvW8VkGcIIs+h pzyavU2EDx8YvO696kWjxE9Wx5/l5V9V3Qqy8AsAy379k7o7LHFbg5P0WV2zqe4b0QH4 B+cQOz/MSai3WQIgynSY9eIwp6AnfAD8co5dQquQdg1nqLVB/3jfeDSM1rIZDF6ErSTd NsUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=8raBTXfySji8fpCPLBYPhkx+Ml6mdyfbjzhF4yIreP0=; b=ENvlYwadek1FCll5+1qvcuodQzUV7Gy1bZ9/A020TPHNi4sKWirfam/gOOQIM40gcZ YOKjRPQQgTsaCT8YC52prh4KsyOm5ThHHzrGGc6kezXmDLQ/McVyoWJyItfr0upLnsqs TvxJfPPIZhiKv6xYesXfeLTDgmGl4GIIpmep+Mt9/MM1BoJHOYtRL3mfAwowoLpw9UQU CBDF0gSLNd5PAzy2jm1dVM6TM40AMpKHi4FREkx1T8MKqgRYwIjxjESqVYdnu2jv5Xll 088xYoAT08qdTagDZeW+/6kK4CXLbC4UkahZDEkgEu8t5Q241BripSAlqzNTGTFREbd4 Z7CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xoIo8qJA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x17-20020a1709064a9100b008df5a5088ccsi828886eju.94.2023.03.03.14.59.29; Fri, 03 Mar 2023 14:59:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xoIo8qJA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231793AbjCCWq6 (ORCPT + 99 others); Fri, 3 Mar 2023 17:46:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231587AbjCCWq4 (ORCPT ); Fri, 3 Mar 2023 17:46:56 -0500 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71F95199F9 for ; Fri, 3 Mar 2023 14:46:12 -0800 (PST) Received: by mail-lj1-x22b.google.com with SMTP id z42so3823065ljq.13 for ; Fri, 03 Mar 2023 14:46:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677883504; 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=xoIo8qJArvmh6/FgZUqXzIJnnr+wKRNzq4eRC/BARmBUhb0UMHlrwrusCNYxhUIVa0 Ui4t0Lv3aNcuNYZccNgUL4B7xkGqA00k+vTBF4AK8OclWHIlxqHJBE0f3V3M7X/hrJR6 lN9knuP7pvzoP75FxpxKeRmLwoeCzZyIXnBpBJTnXFpks5NpE8W67Dt9RepJWWzRN7I3 7NRcSoiGIB03utjsxHif5VpTYjNo2Ghq9yH1A9irz5L3KeirO16f2kORWtz/I6Xqrpa8 pBklWidSmBKiVMjRuA1jC68if9GdNygaiWZuV6jI7rPqj+/eTQUUMeew4mzCzp0Eq/W9 Z0Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677883504; 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=le9B+4ffVAsaVLKs/x1Z6Os31MGu+W0K9M2UOBv7Wu6mSnGzKu3kgtpDODbCyIEYRH bN8mMRyvca8jZqOzntRUZRfXHcNPCk8qUbI5vXC+56JEm/inLqfFvzS9VwnKgUHDegok 9Slv0fT7UHgDNR0ANNSkaCS0NdAFjgeeXqG26WXpAFnMQd4MdOQqkLxD6tKHPtVtYKo4 3LuPlks/x13L3Y6APtvL2WqLsl9eqboWuWhVx4gUG13JqmcdPf48OoZ2vHTBi3hsliuw wpa9oOpCQeCS/RXHAi4WVRbHYpHQijvgjoNt3ZJ7PiB2ybw/4dS40zVEZbkFabHmCNN8 04eA== X-Gm-Message-State: AO0yUKXTB/DSo+cFBx3P5NSBxJsxE9kw11cqkfvaq8kYsBeAnDFhqj4z BtWrtfOYC+PZv/DrLaDVsLbkK7rfGrDZknzs+oY= X-Received: by 2002:ac2:4a74:0:b0:4dd:a212:e3ca with SMTP id q20-20020ac24a74000000b004dda212e3camr948621lfp.11.1677880697243; Fri, 03 Mar 2023 13:58:17 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:16 -0800 (PST) From: Konrad Dybcio Date: Fri, 03 Mar 2023 22:58:04 +0100 Subject: [PATCH 04/15] arm64: dts: qcom: sm6375: Add RPM sleep stats MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v1-4-8c8d94fba6f0@linaro.org> References: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@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, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=761; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=DKx+rSMb2n+6CPR4L2fodh6IzfCfn+ctrSy97qX3zGU=; b=ieZzG7g5ztbr6xl4XS6hT/hcGYS9CF9DgfDN9kVdowHP4hjJI4xQiPH4AVR1FIGts7rPCJkZkEgF 93W+nIO6DG1CU0I/gEWLtzQLXcAtTQB/8iAm6c0HyZxqWpgY77Db X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759389305593257075?= X-GMAIL-MSGID: =?utf-8?q?1759389305593257075?= 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>;