Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp911468pxp; Wed, 16 Mar 2022 21:02:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy69vwpQ0oSEcvo3uMQTFEYEOjNIcvHpiSK49qrZQoFm2wwvbZSojN6z2ySi5FW/HzGId4y X-Received: by 2002:a17:902:b490:b0:151:6ee1:8034 with SMTP id y16-20020a170902b49000b001516ee18034mr2732916plr.28.1647489774369; Wed, 16 Mar 2022 21:02:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647489774; cv=none; d=google.com; s=arc-20160816; b=LxDD2MXjZpXtWlZMJ4OjYK50zLtfngzQurgWGE3+mE+TtTWUcwzgT8tskK89gwESCk eFGVyAr8qsoFih8gKP67YKZ2LfKRTiVCD/0TZJvYFvnAf0ZSKz3zMGWD4tFbcn5mLieU ZLwVRZffJiRFApXtPRxBaGb1alXO7fjoqqGgnlWjJ+L6Mf19WT6usrNAENJbhWX+Nzde fA1WgfDTbm5WOvkSa51fPFduSZt432mIAmucaKUI3/8czZH0bcA3mtThiZXK9sbukuJ7 5ZEXsCXsW1/dIbEAuU3fuJzhoHdqNf+U5m3TFxM0xqXpm7Eic64t0Y5Momubzkk443Om 9s3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=maD+51x3NWHkFgFw6Zs9N4k7N1djcuz3El25dj6wKtM=; b=cJWoZcOtMf9HQOW0BE7RdbtPCfo0768ht7B8K/W7XYvuYfZemswhFOzYEULKpcsa8V YxDMJWjfuMOnTP+9OLpHiC4CEPNnTycX4R2r0JTJQZXCJwblUYWhdEgJKwyPB3kOnxB0 IpM3j+TdpKFYXLViS6ISnkX28zdFLK7ug7GDnB1ejB/wMaFquVqpJYu9LJ/AmrmZljVq mSiN/Oj3fFd+eaP7XZFLLRRDDW6WS+RrYm/SK5i2amuAGoav1jorAu0ZCH8ctCbWaB7k pBnOKK+LjRfm/yM10p7jy70DhRfeSDVNWs05cGwC5nBsd5bDzk6nxXNeP3CG9CZOmiIg 60cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=PjsPtFPN; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id c11-20020a63da0b000000b003816043f069si917403pgh.606.2022.03.16.21.02.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 21:02:54 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=PjsPtFPN; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EAC4C8F981; Wed, 16 Mar 2022 20:45:19 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353916AbiCPGT3 (ORCPT + 99 others); Wed, 16 Mar 2022 02:19:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353872AbiCPGTH (ORCPT ); Wed, 16 Mar 2022 02:19:07 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E9931019; Tue, 15 Mar 2022 23:17:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1647411471; x=1678947471; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=maD+51x3NWHkFgFw6Zs9N4k7N1djcuz3El25dj6wKtM=; b=PjsPtFPNuNsfd2oSuYZDiJ/xUQ2QliHCgNEcSlnDPDTyBaPDs42wmyuB KezMIze0qeCvn2+KPSg0jLi0SGa2QUKp2l0jEYzxKkP9u/TFazaOwqlOX kIMPldlVZBKlOByKpq0RvdllxsTjS8UwQHqyw3gV+NdNDDhwZcXqOq4qE c=; Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 15 Mar 2022 23:17:51 -0700 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 15 Mar 2022 23:17:49 -0700 X-QCInternal: smtphost Received: from hu-rohiagar-hyd.qualcomm.com (HELO hu-sgudaval-hyd.qualcomm.com) ([10.213.106.138]) by ironmsg02-blr.qualcomm.com with ESMTP; 16 Mar 2022 11:47:36 +0530 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id 0B0F34495; Wed, 16 Mar 2022 11:47:36 +0530 (+0530) From: Rohit Agarwal To: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rohit Agarwal Subject: [PATCH 4/6] ARM: dts: qcom: sdx65: Add rpmpd node Date: Wed, 16 Mar 2022 11:47:25 +0530 Message-Id: <1647411447-25249-5-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1647411447-25249-1-git-send-email-quic_rohiagar@quicinc.com> References: <1647411447-25249-1-git-send-email-quic_rohiagar@quicinc.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Add rpmpd node and opps for this node to the SDX65 dts. Signed-off-by: Rohit Agarwal --- arch/arm/boot/dts/qcom-sdx65.dtsi | 51 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom-sdx65.dtsi index ba7b6c5..7e2697f 100644 --- a/arch/arm/boot/dts/qcom-sdx65.dtsi +++ b/arch/arm/boot/dts/qcom-sdx65.dtsi @@ -9,6 +9,7 @@ #include #include #include +#include #include / { @@ -244,6 +245,56 @@ clock-names = "xo"; clocks = <&xo_board>; }; + + rpmhpd: power-controller { + compatible = "qcom,sdx65-rpmhpd"; + #power-domain-cells = <1>; + operating-points-v2 = <&rpmhpd_opp_table>; + + rpmhpd_opp_table: opp-table { + compatible = "operating-points-v2"; + + rpmhpd_opp_ret: opp1 { + opp-level = ; + }; + + rpmhpd_opp_min_svs: opp2 { + opp-level = ; + }; + + rpmhpd_opp_low_svs: opp3 { + opp-level = ; + }; + + rpmhpd_opp_svs: opp4 { + opp-level = ; + }; + + rpmhpd_opp_svs_l1: opp5 { + opp-level = ; + }; + + rpmhpd_opp_nom: opp6 { + opp-level = ; + }; + + rpmhpd_opp_nom_l1: opp7 { + opp-level = ; + }; + + rpmhpd_opp_nom_l2: opp8 { + opp-level = ; + }; + + rpmhpd_opp_turbo: opp9 { + opp-level = ; + }; + + rpmhpd_opp_turbo_l1: opp10 { + opp-level = ; + }; + }; + }; }; }; -- 2.7.4