From patchwork Fri Aug 12 10:12:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 597055 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 D7AAFC00140 for ; Fri, 12 Aug 2022 10:13:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238206AbiHLKNx (ORCPT ); Fri, 12 Aug 2022 06:13:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238127AbiHLKNa (ORCPT ); Fri, 12 Aug 2022 06:13:30 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDBA9AB4C2 for ; Fri, 12 Aug 2022 03:12:43 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id az6-20020a05600c600600b003a530cebbe3so318779wmb.0 for ; Fri, 12 Aug 2022 03:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=/baD4T2Xvbw5aG3hrD8e631/CGqG+7CyLxE9ixUCKNA=; b=zF4+7WvPYPbP19vhZJfJU5/gMyjua4wMNYXUD0fdQV/O6VT0DCGgRSmhl1DUvvjTgZ NFLaV7CHJO3iMvinSJCO4bq/Yymo6qHrrWHpbOjE/dM1LDZ2wPIDg4Aod8CkwRMRpwk+ do2BUymZ/kGSvWx8zrSFhMXI+0OeJNKURKQGBrwosU9rkAV9MXE7o7HYAPJk8aEV0GZ6 YEcB/NLXYodRdvOF1JC3OE0vn+1sI5SWRJVYb8UGMPpIMajp0YmEfYVKENfsIv2flc1F slm4y5gdBu6lDQPrpXAWwWoRa7AHVQA4Mc5XIWoS0yQ5Z2IH+UBYpjUeAharCWQwMCLv h9jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=/baD4T2Xvbw5aG3hrD8e631/CGqG+7CyLxE9ixUCKNA=; b=1RkOO4lZHpkQFxH12Z1Oaa3y8zlw9CFEuHeHL38RfCtcD4Ubvlu8Jyo2A1z3OLgkEv SBGA0eGi8RyoBoIIrjniY/FiqgfCerxbEYQydLEnC0kQW+IjsFkGcmWZHzGDDLO13s6G 0rFqfyuu92F5mqr0WD0K3TsXM0+AlIxbXz+GtqML5n/XhTdy3kCGukbLzzQTQS1QLw2T KBPAIIkvte/t38rventEh1S6h4VpswKiP7yuxcUwqPAp6bAKtfqOzuFDaAPGktaS7D3X T493OFeSGrDhUw7/Z19O7VjB1OUNOk0X6OHYNTGwcvqBb5axTYlDHn1rNw69GNWbu3HN V0Tg== X-Gm-Message-State: ACgBeo2PYu6x6btm0IQ05nGISBwgc13nEthYgU2x5sbzqocykfJjX+hk lbc0GyjeZw9U8KdDbpd9/6lk4wyEFkV+Gg== X-Google-Smtp-Source: AA6agR5refm7abOpJRHUMi7R1wY5PeY6g6GVPeUjoVLj1v+XfGSFN14+EpCRZkHIDjyfAbRLHbQzXw== X-Received: by 2002:a05:600c:1e8f:b0:3a4:e0f0:4bad with SMTP id be15-20020a05600c1e8f00b003a4e0f04badmr2127432wmb.133.1660299162292; Fri, 12 Aug 2022 03:12:42 -0700 (PDT) Received: from hackbox.lan ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id e25-20020a05600c219900b003a541d893desm2193204wme.38.2022.08.12.03.12.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 03:12:41 -0700 (PDT) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski , Maulik Shah Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH v2 1/4] arm64: dts: qcom: sdm845: Reduce reg size for aoss_qmp Date: Fri, 12 Aug 2022 13:12:37 +0300 Message-Id: <20220812101240.1869605-1-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Like on the other platforms that provide RPMh stats, on SDM845, the aoss_qmp reg size needs to be reduced to its actual size of 0x400, otherwise it will overlap with the RPMh stats reg base, node that will be added later on. Signed-off-by: Abel Vesa --- No changes since v1. arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index f0e286715d1b..5bea96a9ce06 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -4836,7 +4836,7 @@ aoss_reset: reset-controller@c2a0000 { aoss_qmp: power-controller@c300000 { compatible = "qcom,sdm845-aoss-qmp", "qcom,aoss-qmp"; - reg = <0 0x0c300000 0 0x100000>; + reg = <0 0x0c300000 0 0x400>; interrupts = ; mboxes = <&apss_shared 0>; From patchwork Fri Aug 12 10:12:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 596855 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 BF809C25B0F for ; Fri, 12 Aug 2022 10:13:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238209AbiHLKNw (ORCPT ); Fri, 12 Aug 2022 06:13:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238206AbiHLKNW (ORCPT ); Fri, 12 Aug 2022 06:13:22 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91829ABF17 for ; Fri, 12 Aug 2022 03:12:45 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id v5so377962wmj.0 for ; Fri, 12 Aug 2022 03:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=B9cGc19KPCzbp/HnQ1cU37r4MPElwTFqiMBa6G8MiPE=; b=tTWGw1QpiBtbmYksvkCkzZiRzC+Y/f9E42V6KmREw+A9r8MVkUqGxIRRCr1sYcM1HZ VxI0f6kDp80bXW6/ASgGBuFQ+A7+++SQLVk6GuFcZS3hs23ZQ7osZZME/ADpknDN2dhI hzYWdozqmx1NXZwwbvrHDbIW1KRadpPWpBtGo+A/HJBLkuS7wNtCpjHDRA8ZQVBwgMJA 42qAQgPL+/Ya19NLUZUKaD2OLge7hOnrH/pWuVCbmzAxxNfzDHAxvW3VaAQDKJNNTAA3 nIvVv7qhIxGDA9kBYFuD74cViwP0o4zcQ0cBUAp7ObZW4eJJE0oHs6PKWLcCqh82V2yd 070w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=B9cGc19KPCzbp/HnQ1cU37r4MPElwTFqiMBa6G8MiPE=; b=3E0z08bz/nreIC8zvKLc/XyNjUG4soFm36hBu+aU2h8eEirzaJVid8Qi+L709wMZ9e Nsnc/gNlRnk+qL/cH624HGUNcSsJG46H2QfU/PiTpECjCkcwsBWYcg1/v6TSnOm8gOf/ VTecXtofJCAHHlLbK9uljljhFWX4jKhV/vBO7fPxRH21CwUYggMbx2sngo5Yo1eJJeix ecOq1VbbNiH1R8XPVlARGCUEpkrMrPS1ARVvYXrP9qLSjLYV8b/3ugphGISzQG9qGds+ gKqR3PKNZKP4Sufd8HbX9Rbe/wVt7u9SnJ448D4tsCqGHdMRaDb3kurB8hOJsnVwSVCb UWSQ== X-Gm-Message-State: ACgBeo2PfvKHtuHqTh7KK3qN8hTxgLCOSQR3Eay+JU9qsI60dJNNH/PA Gbdc5d/jHE3c2WGnZVXeudVUJt3b4MRLng== X-Google-Smtp-Source: AA6agR4FELZEIhz1T2y8FvYHLJ3zpVGgKHLujHkbOItmTebVTb7bB9U5VYqTYifyO4nB3p3SkoymCA== X-Received: by 2002:a1c:7401:0:b0:3a3:182f:7be9 with SMTP id p1-20020a1c7401000000b003a3182f7be9mr8359047wmc.189.1660299163675; Fri, 12 Aug 2022 03:12:43 -0700 (PDT) Received: from hackbox.lan ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id e25-20020a05600c219900b003a541d893desm2193204wme.38.2022.08.12.03.12.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 03:12:43 -0700 (PDT) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski , Maulik Shah Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH v2 2/4] soc: qcom: stats: Add SDM845 stats config and compatible Date: Fri, 12 Aug 2022 13:12:38 +0300 Message-Id: <20220812101240.1869605-2-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220812101240.1869605-1-abel.vesa@linaro.org> References: <20220812101240.1869605-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org SDM845 is a special case compared to the other platforms that use RPMh stats, since it only has 2 stats (aosd and cxsd), while the others have a 3rd one (ddr). So lets add dedicated stats config and compatible for SDM845 to make the driver aware of this num_records difference. Signed-off-by: Abel Vesa Reviewed-by: Krzysztof Kozlowski --- Changed qcom,rpmh-stats-sdm845 to qcom,sdm845-rpmh-stats, as suggested by Krzysztof. drivers/soc/qcom/qcom_stats.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/soc/qcom/qcom_stats.c b/drivers/soc/qcom/qcom_stats.c index d6bfd1bbdc2a..121ea409fafc 100644 --- a/drivers/soc/qcom/qcom_stats.c +++ b/drivers/soc/qcom/qcom_stats.c @@ -246,6 +246,14 @@ static const struct stats_config rpm_data_dba0 = { .subsystem_stats_in_smem = false, }; +static const struct stats_config rpmh_data_sdm845 = { + .stats_offset = 0x48, + .num_records = 2, + .appended_stats_avail = false, + .dynamic_offset = false, + .subsystem_stats_in_smem = true, +}; + static const struct stats_config rpmh_data = { .stats_offset = 0x48, .num_records = 3, @@ -261,6 +269,7 @@ static const struct of_device_id qcom_stats_table[] = { { .compatible = "qcom,msm8974-rpm-stats", .data = &rpm_data_dba0 }, { .compatible = "qcom,rpm-stats", .data = &rpm_data }, { .compatible = "qcom,rpmh-stats", .data = &rpmh_data }, + { .compatible = "qcom,sdm845-rpmh-stats", .data = &rpmh_data_sdm845 }, { } }; MODULE_DEVICE_TABLE(of, qcom_stats_table); From patchwork Fri Aug 12 10:12:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 596854 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 A263CC28B2B for ; Fri, 12 Aug 2022 10:13:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238127AbiHLKNy (ORCPT ); Fri, 12 Aug 2022 06:13:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238217AbiHLKNa (ORCPT ); Fri, 12 Aug 2022 06:13:30 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 898FCAB4CA for ; Fri, 12 Aug 2022 03:12:46 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 186-20020a1c02c3000000b003a34ac64bdfso4095681wmc.1 for ; Fri, 12 Aug 2022 03:12:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=6PlnIBUoC6w69T/PkaQ57uV9UcjokVo67ltYXeOmdTw=; b=ILzrRoIQ9aEUYRndgjQZU/vRVEvksDk/76BWsCnIcxWYCpuk+7TTChZeBE/9Z5xPPY Q3jeDHaJtVMMPJmzwmDt7JKiaozQcY1rA7IEMKaad7u9Xd1xNeQMbnoyzSn1jSc/57JL zXtoEaiK7MVqOnwEilg44kiI0mpAVR5szF5WOzCrhCNdYsNT5y3Y/JZ7nRVOXX95uKea soBbp+VkBKbqFRv37Pn76810GYnWSLbuScBc2mxhB8OvFl66HF3GMtIYDYHCHZx7Pcup /OIUSvaAp1qaY3IrVUjkPRAv4v82gJaP6xDT1VUjsp6JAV9/BiW8t080Ppcieq6TEMMN OPDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=6PlnIBUoC6w69T/PkaQ57uV9UcjokVo67ltYXeOmdTw=; b=VK0toLwNgJvUkJdLAaR3tY1fWcn2qg9TIw0nlDoHyn3s4mKKzIIvGZgCxMMyuGABm4 QSWEfQfnlj+h+lKd3FyAMMz2kamKfvC1XF2fR0xGSilBKrENVWYjHFH++vnm630BfBsQ BSgkISY2oXP9jP/tgBFvNRYpf0PeEW9m0xp1jkE2S42IrXc6SRVfWPH97Bkirg6HklUN sgSBifXyXxqTdtK4LieMezHFGlXTBql2KHwxf6QiCNRbBsrVyfe+Vllz1kPp1WKQXsK2 eoh8bXgRnrKFvAIUftuhinfUtW3SjqaNhQHwyGRbPNZqiT+ReX0+6NYd4iAxskFtvi9s GVgA== X-Gm-Message-State: ACgBeo2kXD7092xnN7CeQaJnYHUuLDECwwjVVncDF2IY8/nB1946OVLR cG9laGuY+dPBDLb9HU6osd/tDQ== X-Google-Smtp-Source: AA6agR6urUu4cJ7lC76MKC4djtyGFfgFjj2UjRR9XzO9H7PeEVCUAA9AdaYrcMFImtWm4uS5uV2Ymg== X-Received: by 2002:a1c:44d5:0:b0:3a5:4fa3:b260 with SMTP id r204-20020a1c44d5000000b003a54fa3b260mr2122859wma.165.1660299165181; Fri, 12 Aug 2022 03:12:45 -0700 (PDT) Received: from hackbox.lan ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id e25-20020a05600c219900b003a541d893desm2193204wme.38.2022.08.12.03.12.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 03:12:44 -0700 (PDT) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski , Maulik Shah Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH v2 3/4] arm64: dts: qcom: sdm845: Add the RPMh stats node Date: Fri, 12 Aug 2022 13:12:39 +0300 Message-Id: <20220812101240.1869605-3-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220812101240.1869605-1-abel.vesa@linaro.org> References: <20220812101240.1869605-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org SDM845 is a special case compared to the other platforms that use RPMh stats, since it only has 2 stats (aosd and cxsd), while the others have a 3rd one (ddr). So lets add the node but with a SDM845 dedicated compatible to make the driver aware of the different stats config. Signed-off-by: Abel Vesa Acked-by: Krzysztof Kozlowski Tested-by: Caleb Connolly --- Changed qcom,rpmh-stats-sdm845 to qcom,sdm845-rpmh-stats, as suggested by Krzysztof. arch/arm64/boot/dts/qcom/sdm845.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 5bea96a9ce06..67fe08b837be 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -4851,6 +4851,11 @@ ebi_cdev: ebi { }; }; + sram@c3f0000 { + compatible = "qcom,sdm845-rpmh-stats"; + reg = <0 0x0c3f0000 0 0x400>; + }; + spmi_bus: spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0 0x0c440000 0 0x1100>, From patchwork Fri Aug 12 10:12:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 597054 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 61691C00140 for ; Fri, 12 Aug 2022 10:13:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238261AbiHLKN5 (ORCPT ); Fri, 12 Aug 2022 06:13:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237588AbiHLKNc (ORCPT ); Fri, 12 Aug 2022 06:13:32 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7BA9AB4D4 for ; Fri, 12 Aug 2022 03:12:48 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id j1so696082wrw.1 for ; Fri, 12 Aug 2022 03:12:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=VEs6wZWakwgBJ6Ig58MPDjM5leVr1a+Cx/UKYTT/e8E=; b=GIKk+3qBSEL6EfjmSjrHeH5Ma5mGoIpw2bysICq5lXUJ6ybITVz9FnUftGajDg55rr kARbo48b82RDZ0Prna2NsbdMl9dMUjpq0clLT3PanQZy9v5xTCuuxMiQMFNYUuVEN/E1 WzFvKyE3lnF2PkGRnSjTH0GU4UkPzLMOKZVaPmlLI2pSWsvwpEwoRYkIuv7n2RzOOage LCJ5AX64QYoG64hzg4ryy4svmna7gPnun5qHjGYB+LizPIt9aJt2eTfND0D4XOg8byW+ droCVyWVo5BNGJPgvVUbmP1YZVQE9fxqXnld2IGKVW3Q2u27jVHAKvnuHVJBrVdrjzx3 r6hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=VEs6wZWakwgBJ6Ig58MPDjM5leVr1a+Cx/UKYTT/e8E=; b=HZIe9yM88EN8a5TQoN0tuMhhcv4c97DjuM2Aqb8uT6/jEY8DkGFsxlNlf9YNk5XtQX 7WESsWr78LxF30g/mMnLgZAp4BMrSSyFAzpZaQcxGgydDFmtyhEfvDFakkp1Tp9I9xe9 If7R8Z8RZ+NJMXvTJ5vib6LlR1HeDG9NPXZVgAs/IkVFzh7b5V7MkVnJ/gV38gFJoY+7 lRs5LMZEPx7bnv6Bn5cIS4/trSBrZViI2p5gi4Tl9+v1uFomoO2Z1TF17vSJikFjUVzD dSSTohXgC+HsJu4EtsXUnlmPSLrdenE5md5FHpTetU32v5IiA9o0byjEFVzcCOppy126 ovdA== X-Gm-Message-State: ACgBeo1N1u5rMt2t0qHQ/WJxKGLyZF+JlxLJ3/6x1Ly4KOPjuhjlM8xM naWwKLh5tHoMoxS1N86iqdPPEA== X-Google-Smtp-Source: AA6agR7gDJATgg6ukxbMjsQmjBn9A+7ptvHxjH7kebGR6YnZiBHSm5UwYxpex2Dx8I2kOJsxvObd2g== X-Received: by 2002:adf:eb8e:0:b0:223:a1f6:26b2 with SMTP id t14-20020adfeb8e000000b00223a1f626b2mr1428160wrn.216.1660299167448; Fri, 12 Aug 2022 03:12:47 -0700 (PDT) Received: from hackbox.lan ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id e25-20020a05600c219900b003a541d893desm2193204wme.38.2022.08.12.03.12.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 03:12:46 -0700 (PDT) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski , Maulik Shah Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH v2 4/4] dt-bindings: soc: qcom: stats: Document SDM845 compatible Date: Fri, 12 Aug 2022 13:12:40 +0300 Message-Id: <20220812101240.1869605-4-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220812101240.1869605-1-abel.vesa@linaro.org> References: <20220812101240.1869605-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org SDM845 is a special case compared to the other platforms that use RPMh stats, since it only has 2 stats (aosd and cxsd), while the others have a 3rd one (ddr). So in order for the driver to use the dedicated stats config, we added the SDM845 dedicated compatible, which we document here. Signed-off-by: Abel Vesa --- Changed qcom,rpmh-stats-sdm845 to qcom,sdm845-rpmh-stats, as suggested by Krzysztof. Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml index 473adca4e973..48eda4d0d391 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml @@ -20,6 +20,7 @@ properties: compatible: enum: - qcom,rpmh-stats + - qcom,sdm845-rpmh-stats - qcom,rpm-stats # For older RPM firmware versions with fixed offset for the sleep stats - qcom,apq8084-rpm-stats