From patchwork Tue May 16 00:53:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 94411 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp83025vqo; Mon, 15 May 2023 17:56:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6yuCA0W+dcyfyoXFqsxHLskIJz+TcSbD1cUqDUbL0M61q5XvK5g/ch61i6jWf8a/6Afr0x X-Received: by 2002:a05:6a00:849:b0:649:dd0d:69d1 with SMTP id q9-20020a056a00084900b00649dd0d69d1mr21740661pfk.31.1684198609738; Mon, 15 May 2023 17:56:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684198609; cv=none; d=google.com; s=arc-20160816; b=s7VE+drEbKPUBnNLEn+omovDgxiniyh6OudiiSsiDa7ONgqZHXGofHC00ye6jUb111 R9MCx0un4Zrh48FnE+vVqsSxKzio1PLzF9wag7IaS80/UDjqDNqYlsVZviKDUNHxr92S sOw5EPth+4galevRAnO2+6XDzMNUazdRbXh73q2r6vzfd6NvQ7NAI6xA1njlcHQ1sr2D NkfcLw2rqc5J6JoLquWDzdRTCWC8W/YuS0Msh/AbRl8cYq20caE3JTZiPWaDfkeLVJL4 ORlNeDqH3DYa0mu/8o/C6DiiwNx5Z51NpuoIPJDgMexR2HTKYaoxnr52RQ/qWOrfN1L6 0+ow== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=KYFefbvAKdLmrbtQItz+DnXN4dowsh1ByYhd/wrlwx8=; b=pGmikkI5b+MZw+wWtOky8/GaW/geIjIjrp3Ke90yrdxVR+gteZpP9Es6m6oxRzl/5D nxSUJpQEsnZvYyVeV6YXHhq8OLmDCu4UpC405b+U44gFCNrPtjwFTztQj8fpur+JxSzX tv+EzI0V84NbCLB5cCup1KufgJoo0cz5lnS1HK0aoQQYFi34Bn/rs5grWeHURjwewtYf pQftW/OWmvgpWwYCz2Z3JQrWYTpPq2cxM5iK9J5q24lxTxWmrd5RFtV1rP8bBx7Kkd8/ 5etBhQeJmcoCBG55tg4ZF2ugJWQKfjolRYP3iJ/V4/cNHn0UnhBQO7Z4vqETacj7uqJ1 JpNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dc7sSrVJ; 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 u23-20020a63b557000000b00534295ca79bsi862368pgo.483.2023.05.15.17.56.36; Mon, 15 May 2023 17:56:49 -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=dc7sSrVJ; 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 S1343535AbjEPAxR (ORCPT + 99 others); Mon, 15 May 2023 20:53:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245192AbjEPAxP (ORCPT ); Mon, 15 May 2023 20:53:15 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE66F1987 for ; Mon, 15 May 2023 17:53:14 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2ac8c0fbb16so131375401fa.2 for ; Mon, 15 May 2023 17:53:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684198393; x=1686790393; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=KYFefbvAKdLmrbtQItz+DnXN4dowsh1ByYhd/wrlwx8=; b=dc7sSrVJMUw9cOgswSUDasLW3hkuinDUDvdNb9MNaQNVwnP7p5zcZLrMbEXG0mdUWr jGita/R09PX3T194MxU+M2DvarG3QEMhNOUhxg/tXO2sP8/od1HOYhlWL6AK7ZTUlFOa hgjs5iZka+yyKfehTHBtwWwSqkGUwTTXRHuMNbZBWwbUVVimcvMT9YnZI6+NPk0d/Dhq lJJjRc59bL8OVqLyP6rxbMxj/e4ETAGEAjDiRnmcaXanjGU9QOEq3VrqSFDG5qBEZ0Tu zeLFrulKFmbElAVFRLJ3VosylMYl2KQhbQK9+fRraToo+KSJOP7+uXwonJvFPkomuVB2 DGtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684198393; x=1686790393; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KYFefbvAKdLmrbtQItz+DnXN4dowsh1ByYhd/wrlwx8=; b=BX7d9QDoVIUJa6hFKamH1iqMPNpiksxQ3TB4ftBaGmg218Aqu//m+Mqfvv/GTx9aG1 LIB/aL3V5KyxUY0gWcww0IbxshKiI8Wf0gtOqIaMgsIquCdHfphiK8pTc4+Dmibsr2F6 S0GqG7+ePTAczhRSVMwFMuA9R8WW5dg3m0UePiM6xR3eSCOYtqhSKyexnwVWTBsDBaS/ ulk3cfEaWhC3pHGgl9TBNcAbAzjC2n4V7u9IXCVzV3Q15TW1iSwxTwRlVLvEZDPIcTNe B8e5vgFRraAo83bBuUfBp4IEQd+oPsigsCVt64yKg2p5Zx83q73I/+KopfAwUCBZn0n6 qYYw== X-Gm-Message-State: AC+VfDzpRL0EBFmyHEbfPUdQtwMj0v2YIi1GKSqs5l+OkU2FIJxKAHaC a6stvf8VJhiEvbDTPMW/uiTTqQ== X-Received: by 2002:ac2:4d03:0:b0:4f2:391f:e9a3 with SMTP id r3-20020ac24d03000000b004f2391fe9a3mr8692936lfi.3.1684198392906; Mon, 15 May 2023 17:53:12 -0700 (PDT) Received: from localhost.localdomain (abxi58.neoplus.adsl.tpnet.pl. [83.9.2.58]) by smtp.gmail.com with ESMTPSA id 17-20020ac25691000000b004ec88128dc4sm2812286lfr.68.2023.05.15.17.53.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 May 2023 17:53:12 -0700 (PDT) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Rob Herring , Conor Dooley , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: sm8450: Add missing RPMhPD OPP levels Date: Tue, 16 May 2023 02:53:06 +0200 Message-Id: <20230516005306.952821-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 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,URIBL_BLOCKED autolearn=ham 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?1766010241311092790?= X-GMAIL-MSGID: =?utf-8?q?1766010241311092790?= We need more granularity for things like the GPU. Add the missing levels. This unfortunately requires some re-indexing, resulting in an ugly diff. Signed-off-by: Konrad Dybcio Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index b4fc6abf8d8a..d3ac5644232b 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -4195,31 +4195,43 @@ rpmhpd_opp_low_svs: opp4 { opp-level = ; }; - rpmhpd_opp_svs: opp5 { + rpmhpd_opp_low_svs_l1: opp5 { + opp-level = ; + }; + + rpmhpd_opp_svs: opp6 { opp-level = ; }; - rpmhpd_opp_svs_l1: opp6 { + rpmhpd_opp_svs_l0: opp7 { + opp-level = ; + }; + + rpmhpd_opp_svs_l1: opp8 { opp-level = ; }; - rpmhpd_opp_nom: opp7 { + rpmhpd_opp_svs_l2: opp9 { + opp-level = ; + }; + + rpmhpd_opp_nom: opp10 { opp-level = ; }; - rpmhpd_opp_nom_l1: opp8 { + rpmhpd_opp_nom_l1: opp11 { opp-level = ; }; - rpmhpd_opp_nom_l2: opp9 { + rpmhpd_opp_nom_l2: opp12 { opp-level = ; }; - rpmhpd_opp_turbo: opp10 { + rpmhpd_opp_turbo: opp13 { opp-level = ; }; - rpmhpd_opp_turbo_l1: opp11 { + rpmhpd_opp_turbo_l1: opp14 { opp-level = ; }; };