From patchwork Wed Aug 10 10:57:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 597082 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 3D516C25B08 for ; Wed, 10 Aug 2022 10:57:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230234AbiHJK5Z (ORCPT ); Wed, 10 Aug 2022 06:57:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231269AbiHJK5X (ORCPT ); Wed, 10 Aug 2022 06:57:23 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D48956BB8 for ; Wed, 10 Aug 2022 03:57:22 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id l4so17270304wrm.13 for ; Wed, 10 Aug 2022 03:57:22 -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=0ysaBA2f8fvfJ+bdCl24YEvB2OkWOdw+12iTq6pAuz0=; b=O/ar/o42qj4hribZl7qVTa+3SUQCAymYUcOKFzt4k/JTRljYqgHhKrPgkpU6RXX2sP x2/dCw1EJM2O2ufjdy4rcix55cZIgLvd+nJths5RLsrS1RvAfDtV034jbgbgCNRNaZlY d146OK3/8QnFvL0da7AnQo9m01IiYUhmWqzVxPBFbMf4ofc0eUZzt32zv+mkXK7GbqjG osceCdHLY1spkl1jZpEnjvi6T4T+w69Mpa3KNZUF9TP6c6R8o/+9HhjJFj2IGuVQKCkb k5tSEqrfKOJ9Ph/jLws4a9vWHVJfRvEke2QwW+g5DZQQrd+4eqVf15O+7pBqGiXxfS5Y K7dg== 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=0ysaBA2f8fvfJ+bdCl24YEvB2OkWOdw+12iTq6pAuz0=; b=5B6d+LMzlRUy0R9lHJc9xsdg5Yqjd5qCjBruR3C8e4KxE7f7Oqb5sXxxC4wRbGnAr/ b7ZGx4Q6Av5VXWZqcuDM3FyqdGzPnB3oVkBE/6jljOlqcWglYmyQyFlr5XYncwbYz4r1 UPdzYKS4pG17ZcikjcD7gbtMCEj3w4tNRf9PlAQOH9z26Dy78W1c99WbOXKR++UCay2c IZ9E75543HVyk4BLRx+olKVxxE6OkKzbTHRVvvezteo8MZa3Tf3+fWRwI7Ls41FOqnEe Mnz5WCviSRRZvp842O7mUB8vYcA/qNjXeW1SSrAjBfUH9n8oYszmSeqo8ye0ZBJw32UX EtXA== X-Gm-Message-State: ACgBeo1VTwjBhCe/C0wsncuQBV0m/UEmlk42KjGvDzYnuFYnOwfGaDmm tcrzd8V0yBDrnYTJfX6+ZC9Qdw== X-Google-Smtp-Source: AA6agR54QCklcVRkNUhWXuEjVZu6HNm3T3OH+eFNyznYsPqC/KEkf/YyJUJceY7xTUGxfxy1lrE7ZQ== X-Received: by 2002:adf:ef8c:0:b0:21e:f504:6e54 with SMTP id d12-20020adfef8c000000b0021ef5046e54mr16862258wro.476.1660129040803; Wed, 10 Aug 2022 03:57:20 -0700 (PDT) Received: from localhost.localdomain ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id bd6-20020a05600c1f0600b003a53731f273sm2101446wmb.31.2022.08.10.03.57.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Aug 2022 03:57:20 -0700 (PDT) From: abel.vesa@linaro.org To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Maulik Shah Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List , Abel Vesa Subject: [PATCH 1/4] arm64: dts: qcom: sdm845: Reduce reg size for aoss_qmp Date: Wed, 10 Aug 2022 13:57:15 +0300 Message-Id: <20220810105718.2137015-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 From: Abel Vesa 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 --- 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 Wed Aug 10 10:57:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 596462 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 E69B3C00140 for ; Wed, 10 Aug 2022 10:57:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231652AbiHJK5Z (ORCPT ); Wed, 10 Aug 2022 06:57:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231629AbiHJK5Y (ORCPT ); Wed, 10 Aug 2022 06:57:24 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B2EB1B7AC for ; Wed, 10 Aug 2022 03:57:23 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id j15so17335043wrr.2 for ; Wed, 10 Aug 2022 03:57:23 -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=XBou7R/Q/zSsjgDby+mUOW0rZ2LGY9ENAcZBxHQBNRc=; b=fn3EftcGqSEnsRs7vh1e3zzqj+2UsxU5sOd0uZ/Lev3JuULoI7IQt7hlI+ImmCL/l7 R9/TTggOxmK+PWyxNTwvhbWHGU5LLo8zLU224xs20GzPTG0uJ0PJeOu49/qrP7Rv5AB5 E8MNwOCsRxWsyz6C9NLrPmlXqN5EnniIosMuWBVOT3tvxR1qDd3b32NvgRlfbPgnfijw kOnqHUftl7muw3vzX/68VzpWIhI0w/vEO4KJ7maKPznWIFm9Uevs5newoNWcu7j0UdQa ubpfOl/pqWh8d+KHKJ2lUTqjseIorWU/xEdZMRKmjAza8TFqMu1KMevPD09U80lwC/tl LTSw== 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=XBou7R/Q/zSsjgDby+mUOW0rZ2LGY9ENAcZBxHQBNRc=; b=g0B20fWTXsMVxDJP9Dv0AV5K+NgSCg0gr6ohMdn2ds7BSj9RYLX2pnElm2cNFK20re DFV70oe5ig6BCE+XUDqg0sl6lA3QZoEL9kb+oGvaPPPHTcCfET4ZRvXaHs2NRy/uKhqE FxxprLJYM4+Tuu3xRPnRbWOherL318ZvJOcp2p0vu9GkzQw4FVcTOd/6MYVXusIYIXRe KKY4NQZo1cp/IdRCSIU0aFdchtXwZVQmlAyIGTyznWysC0M+Ihfgg806maipCzSnit1c hu7uzQ2o2A57LSIHW4YU5vdB8grQB/YrL7lQq2RvYG8TlW9x/SpJavy8cJZWUW+JK6aO aVOw== X-Gm-Message-State: ACgBeo1jG05D3Km+OrE81a28DkcGrRMDOokwJyIMpDYsBiKLVy6EOxSu bw7NHDT6Kyxb5UfcYnmPFN3XvQ== X-Google-Smtp-Source: AA6agR73X6IomP32uxyWPtqky+wa+CUNiSgdixHhJQFApYUBjhLB0pfl/e1z0IeipKM9aSJkxWMDVQ== X-Received: by 2002:a5d:47a5:0:b0:220:5985:6710 with SMTP id 5-20020a5d47a5000000b0022059856710mr17629673wrb.633.1660129042061; Wed, 10 Aug 2022 03:57:22 -0700 (PDT) Received: from localhost.localdomain ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id bd6-20020a05600c1f0600b003a53731f273sm2101446wmb.31.2022.08.10.03.57.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Aug 2022 03:57:21 -0700 (PDT) From: abel.vesa@linaro.org To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Maulik Shah Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List , Abel Vesa Subject: [PATCH 2/4] soc: qcom: stats: Add SDM845 stats config and compatible Date: Wed, 10 Aug 2022 13:57:16 +0300 Message-Id: <20220810105718.2137015-2-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220810105718.2137015-1-abel.vesa@linaro.org> References: <20220810105718.2137015-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Abel Vesa 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 --- 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..b1638a0e1cd6 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,rpmh-stats-sdm845", .data = &rpmh_data_sdm845 }, { } }; MODULE_DEVICE_TABLE(of, qcom_stats_table); From patchwork Wed Aug 10 10:57:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 597081 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 F2385C3F6B0 for ; Wed, 10 Aug 2022 10:57:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231678AbiHJK52 (ORCPT ); Wed, 10 Aug 2022 06:57:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231664AbiHJK50 (ORCPT ); Wed, 10 Aug 2022 06:57:26 -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 CA8E757221 for ; Wed, 10 Aug 2022 03:57:24 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id az6-20020a05600c600600b003a530cebbe3so799916wmb.0 for ; Wed, 10 Aug 2022 03:57:24 -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=H+cCd/oCZzsaL3SLtp3P98P4HpXIWIWHyxYJ/oYAqVs=; b=yS2nQcxbDmZ0SCqPxlXpfAzI9ErOhoB8mg1eWnrLfZVuyA/SMjl8Sh/s+aQAGHFLbf R2nsO3wC6vxxzmPQvMVL3e4YRLeB3I2DpIl/CCH2T4bQBVjgUblaOHJEKfN1mpeaHuLD HboIIckFkxYwO27WOcu+iplJmWMMigiq+XaI0rSGSv6bwxLkuVdfpjnbIMFMJBGFvzUW VTFbg21Fm2TXp3NWqGfmBwAe+lTK6LrOybYbvsasJ24iccFl5lHgb3COzp5TM3rFNWZH FO9J9em88hwMyYPqjv/dtNd4P9/czpTtPQFGrbtFVfe4vgp4CvLT0firyENIX1E8GC+u cSGw== 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=H+cCd/oCZzsaL3SLtp3P98P4HpXIWIWHyxYJ/oYAqVs=; b=CL8JfeYdepsapxEpospX6SgCwpeBZGPQBhbsnMuon83KcB6HgkgFJk6yiN4v7z9ysJ 0OHpCmQscIRarUH5WN8TATAd3Ffk3fO2Q5sUZ7gf48MMyLZI7DwcXjAikheMXPkm34Bk xHOrgneCWYNyLie7jZNM3/+rs9yRX/NSWRuxgoOcQt2MnlGxYYroonolrcWAn2jF7yYN f0MM5tmeBL+DVXvDUidAU/siF69nDJ0IrLEmjK9eW9lkZzj8k6hvgmMPIsHCN+HXk71G 1Y/gqGxy2tSLqkDlKr0f5AsAbxzkXbfsUU7D1Gjep6EsM4SnAwWsZwSxJQGlVAEsPR7I FPLg== X-Gm-Message-State: ACgBeo3EtfCPFkiuGbr4oK/2VdZGJBIVVYV9zMi1XV2u2nHUeU9/AaRE dPjUWNW/BY1Ra7qSrLHRMhSunw== X-Google-Smtp-Source: AA6agR5iDxXkIjNtDiCKXbPwQ347O0MKtbJwsYVMgkFBBJ1Tmq4An8mZy12GvIH7kZBLUvpHNI5hpw== X-Received: by 2002:a05:600c:3b18:b0:3a5:2490:cb2d with SMTP id m24-20020a05600c3b1800b003a52490cb2dmr1998307wms.183.1660129043326; Wed, 10 Aug 2022 03:57:23 -0700 (PDT) Received: from localhost.localdomain ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id bd6-20020a05600c1f0600b003a53731f273sm2101446wmb.31.2022.08.10.03.57.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Aug 2022 03:57:22 -0700 (PDT) From: abel.vesa@linaro.org To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Maulik Shah Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List , Abel Vesa Subject: [PATCH 3/4] arm64: dts: qcom: sdm845: Add the RPMh stats node Date: Wed, 10 Aug 2022 13:57:17 +0300 Message-Id: <20220810105718.2137015-3-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220810105718.2137015-1-abel.vesa@linaro.org> References: <20220810105718.2137015-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Abel Vesa 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 --- 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..5bcdc17f9d3e 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,rpmh-stats-sdm845"; + reg = <0 0x0c3f0000 0 0x400>; + }; + spmi_bus: spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0 0x0c440000 0 0x1100>, From patchwork Wed Aug 10 10:57:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 596461 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 4968EC00140 for ; Wed, 10 Aug 2022 10:58:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231783AbiHJK5j (ORCPT ); Wed, 10 Aug 2022 06:57:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230366AbiHJK51 (ORCPT ); Wed, 10 Aug 2022 06:57:27 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2470457256 for ; Wed, 10 Aug 2022 03:57:26 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id r1-20020a05600c35c100b003a326685e7cso1440387wmq.1 for ; Wed, 10 Aug 2022 03:57:26 -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=rBBoEWxQ8eHN9ua82Tfrxn/AgHbyHcDlLzzI2457Jb4=; b=ZARppJxhemgKTwWIC/Sw52Je79gLogwCfZa3xsMX4+pztJvzjMpsyWPMnGGxwwsKJc t24pI4av8ARbG5YI/59HvPdOarxMarbbV7nzttBqqgrjqW5Jt6NEEpZUAlJY+QEu3wVO wKNdv0Q8tCoO1be3Hm4Yv881lUQsZ97TwwlqpkpK+r77wkkhErw9YvizUlXLSNo57keR SgkqPLxnMJ2fwaRmpwMbBrD4ofYL2+R7MqY16Gyv9IMaNQ80mPSY0B8lkNGrFI8CbooJ uSoEVlv0S1k9VjXck3pkrcFrkRpx8zXkI7p35/4XWKLv17PWdmeOiSkmAqrsaBJNGxXY FcgQ== 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=rBBoEWxQ8eHN9ua82Tfrxn/AgHbyHcDlLzzI2457Jb4=; b=Ugrjr9L/cEx/Ooc4fQo2D2eu/U8pgOHmRlVnuf7kHf6ni9jOiJVGNTI9MAnMe4NPKh hcIvkKgvQppF93C2K5wnYFirKy/KLlhnarWFHbjpD33hivTvlSYMEHa/C7Klyo2Qns/u riLXX51NJ5+c4d4rRCYWektt2nebfiW/slOca5oGDhnW7iyewSXg7ADLhwvXm+hcu3le ZrwilaSYujxfx8oLaF9FsVJ9zTW/IRpMmANmMbIw/ghXzxBDByDUG8ipgjfrZYMvDCqH Bs7ZwIPIumhbbmGKKJ0BML/3iGzLUw16ZVnY0ARbOUspAhdqRiu1e+xnhyNK0ohxSJBJ mKcw== X-Gm-Message-State: ACgBeo3VIxK6XuqRGPMD+U792fpq8EuLs9zOt0F+Y94gc3aJe1GTGPP7 bX0W+NuEbIOc/OGPuaYIJQdwPw== X-Google-Smtp-Source: AA6agR6X/DasRxKJOFo0GKArt+c9XMHzAE5Yl9iE5NGz1PN0RYA/FvsiBFrhiIOHfp3DA2/rnbZIrg== X-Received: by 2002:a05:600c:1e05:b0:3a5:b441:e9c with SMTP id ay5-20020a05600c1e0500b003a5b4410e9cmr1309439wmb.24.1660129044621; Wed, 10 Aug 2022 03:57:24 -0700 (PDT) Received: from localhost.localdomain ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id bd6-20020a05600c1f0600b003a53731f273sm2101446wmb.31.2022.08.10.03.57.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Aug 2022 03:57:24 -0700 (PDT) From: abel.vesa@linaro.org To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Maulik Shah Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List , Abel Vesa Subject: [PATCH 4/4] dt-bindings: soc: qcom: stats: Document SDM845 compatible Date: Wed, 10 Aug 2022 13:57:18 +0300 Message-Id: <20220810105718.2137015-4-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220810105718.2137015-1-abel.vesa@linaro.org> References: <20220810105718.2137015-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Abel Vesa 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 --- 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..ad6ac0af16bf 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,rpmh-stats-sdm845 - qcom,rpm-stats # For older RPM firmware versions with fixed offset for the sleep stats - qcom,apq8084-rpm-stats