Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1574422rwb; Fri, 12 Aug 2022 03:23:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR611XDIBa/EfR/ou/R0hdjcVkIDuz45a2wHXafnZprH+vkzJ6uh6nSzm8EkC0X3BJ3IBx0D X-Received: by 2002:a17:907:d08:b0:72f:b107:c07a with SMTP id gn8-20020a1709070d0800b0072fb107c07amr2260948ejc.340.1660299830213; Fri, 12 Aug 2022 03:23:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660299830; cv=none; d=google.com; s=arc-20160816; b=IMjLkS0x56pi6jYhJTmSzrLqjLZOSjuOiSqSqa0kNhT25uHChc4UzVepSWrvBAuLTJ rH0gJFbDhG0xqlYhtCoXIFacdGvXuNQ3U2L7tTs9xmcY1JKaD8d251fpWQKwAzsRfCkm FRKg8Q+Pt1XzlxBoR93EODxF9JXd3jOa/ZJAR9mNfKvGDJIO3Oj3VlRlnPoSIJTmw7Zc 0yQj/+BGb9fPgOqNLh7yrLpsTjjZI5BRD53wTLbZGDPxPSsPMdSx+e8imdKcw16RuSJF IHhUddQHcLEvdGEnFWoNHRCTnab4QUo3eV+qFPoyqFmuhBVRlKIwN1wr7V+0oulqXFpN AuLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6PlnIBUoC6w69T/PkaQ57uV9UcjokVo67ltYXeOmdTw=; b=kHYK2G8ptktVwLBiLz+aZonYcg3NGrr1t67vZVgrW9vDHriG5DtZztM1w+Q5v7KmQX 1e+yuddGYxbpeKIzsewJkVHK36/ASOdYul05oxuj0pQPFeY60gdH0QUbFiO0bNM5UErw l3wd4d9TIE3Yl0F4knP5iGIRm6UVRP6FR1j/5cJmkOgaFJkno2oKjJZbQIZ4r5KlOAsD 4Jkj7HB6ap90W3Zc3iOFl5tkqm1yzcx0PzqgXGUup5mnNDKErp7bLN1pB2n/xLakkwQK 9byMMftUEEf8UZpIrx33CE9pxVZ9pbBLy+Ytya+7S0T9i8MP8xRYX0QC6r5rcwPVfdxA 8x5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ILzrRoIQ; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lf11-20020a170907174b00b00730462ddd4fsi1422081ejc.542.2022.08.12.03.23.22; Fri, 12 Aug 2022 03:23:50 -0700 (PDT) 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=ILzrRoIQ; 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 S238142AbiHLKOB (ORCPT + 99 others); Fri, 12 Aug 2022 06:14:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238210AbiHLKNX (ORCPT ); Fri, 12 Aug 2022 06:13:23 -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 8AC5CABF07 for ; Fri, 12 Aug 2022 03:12:46 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id r83-20020a1c4456000000b003a5cb389944so191708wma.4 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=T1vsdQrfB7g0lWITzZ27STewpzLsw2yTQZSqfoBc6dOIfPRvx7h8HsSXutZqVBJy1v lBVCxFB3YJwNKcMT7DisFXlEuhxQpBGMSauUNY6QAMZ/kk/SSZHvMSPG0dlvpQ/GWRZf vTJ6jM2zCN3Vrg9tFxUAvrj6xkd4FSp2WexBcJm3/cG3cPe3ZL40HvMmKVg9oWhcKv2B O8n7mGhu4gMRy65RND1sci4PQPT1XedOimpvEA2nxJpC9Sq6Hjn1/WfHJB0+eqXSF1gP JxYPg2YGFWyp28t1+1ItYlVYtaOkE7t2q++GzZDhrjAaCIQHgnE75r6EjhLrAevIyisB laZA== X-Gm-Message-State: ACgBeo1OgNMtMWKTTGdbBL7fDSshTWR53MRj4FV1GylDZ3X0HewCAaUc rUlwlwYfTyMH4erf35TpacIRfg== 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 Content-Transfer-Encoding: 8bit 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,T_SCC_BODY_TEXT_LINE 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 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 --- 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>, -- 2.34.1