From patchwork Sat Jan 9 16:07:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 360203 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42148C433E6 for ; Sat, 9 Jan 2021 16:09:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0CE7623A04 for ; Sat, 9 Jan 2021 16:09:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726395AbhAIQJ3 (ORCPT ); Sat, 9 Jan 2021 11:09:29 -0500 Received: from relay06.th.seeweb.it ([5.144.164.167]:51823 "EHLO relay06.th.seeweb.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726011AbhAIQJ3 (ORCPT ); Sat, 9 Jan 2021 11:09:29 -0500 Received: from IcarusMOD.eternityproject.eu (unknown [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 914EA3EF2C; Sat, 9 Jan 2021 17:08:46 +0100 (CET) From: AngeloGioacchino Del Regno To: linux-arm-msm@vger.kernel.org Cc: konrad.dybcio@somainline.org, marijn.suijten@somainline.org, martin.botka@somainline.org, phone-devel@vger.kernel.org, linux-kernel@vger.kernel.org, agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, devicetree@vger.kernel.org, AngeloGioacchino Del Regno Subject: [PATCH] arm64: dts: msm8998: Use rpmpd definitions for opp table levels Date: Sat, 9 Jan 2021 17:07:59 +0100 Message-Id: <20210109160759.186990-1-angelogioacchino.delregno@somainline.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The dt-bindings/power/qcom-rpmpd.h header is being included in this DT but the RPMPD OPP table declarations were using open-coded values: use the definitions found in the aforementioned header. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index c45870600909..807fad2b14f0 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -379,43 +379,43 @@ rpmpd_opp_table: opp-table { compatible = "operating-points-v2"; rpmpd_opp_ret: opp1 { - opp-level = <16>; + opp-level = ; }; rpmpd_opp_ret_plus: opp2 { - opp-level = <32>; + opp-level = ; }; rpmpd_opp_min_svs: opp3 { - opp-level = <48>; + opp-level = ; }; rpmpd_opp_low_svs: opp4 { - opp-level = <64>; + opp-level = ; }; rpmpd_opp_svs: opp5 { - opp-level = <128>; + opp-level = ; }; rpmpd_opp_svs_plus: opp6 { - opp-level = <192>; + opp-level = ; }; rpmpd_opp_nom: opp7 { - opp-level = <256>; + opp-level = ; }; rpmpd_opp_nom_plus: opp8 { - opp-level = <320>; + opp-level = ; }; rpmpd_opp_turbo: opp9 { - opp-level = <384>; + opp-level = ; }; rpmpd_opp_turbo_plus: opp10 { - opp-level = <512>; + opp-level = ; }; }; };