Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp761622rwo; Wed, 2 Aug 2023 03:57:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlGWV6D5VjW5Xx6KKFnqaI8XjO8eA1deZVdluNaNm/Y4Dyn8jTwCiEhco+CKNGepK8rj6f+H X-Received: by 2002:a17:903:32c2:b0:1bc:ae0:9d76 with SMTP id i2-20020a17090332c200b001bc0ae09d76mr9113164plr.20.1690973851283; Wed, 02 Aug 2023 03:57:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690973851; cv=none; d=google.com; s=arc-20160816; b=TjFVQJpdBbCjG7QOD3niXIiZtMGTS1Q8UT+LmbSCFQOAFeqih/Ai8TZZ0XbRAL4sJ9 D/VPSrBDFIjBXYu3mcMRfmrEUMZNc3Kcu83tvG2s1XEbCl+9jz/DXcCK7ekGTI6HyFM+ SB/xFOzlCx04eD3ZL9q0d8j0UkThmMstcGp8ngwMUhiWcie/lMLidol6QcqpHhvgv2Ne i4YH0JhjVJ+LwRKGNyip20uuzMJS4DAiHe1AOSeoNiAc/BgpfYFFjhov2/MxdW5qaaoJ ZWqOxPidLbuNsy9P1YjWM3xP8Z78u+zppKT5kuhNC1/TN0w6CJqtRs7TfzXGSJPKczva mTkQ== 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=JTpvksgXGepv28ipffk/2mL8YqAd5UAVZeB47rmL7Tc=; fh=FqIaZmJRa7M15GQeKUdLg2SE2zbDk9BBzU6UB9zaVuw=; b=I6O4ltl74E6eD3o6E3HTIi2+Y6VxC6/WU9xGzONuffjG1G/kZq4HvWGJj5G8hOJssF AhcFK7nFD2MEgqC4oPHrJ5Eevl7BISypVrP7mkX8r6idhEEqB/Ftt88SSL2NqsNtTSgT mQR/NZhYO9DZI+aSlb2MaMws4efMyVI1NSJ5jvbeBBr61MjVOslEND+QHsRlbaI7cszE q+5zdA6lZj9HNCcu0grObWZicXC1+16wW0GQ51sgvlgu5WIzR2b6jyXcBFzGebRillSy lgEKXbaL5TRMTBWmfKTMY49Y/jfZ7II9gwdlu4gX4gH1zccaCRR4TNpmmR25aE7s5IkU tDXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PKeCO+Ue; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d15-20020a170902654f00b001a6bb7b7a44si7998869pln.307.2023.08.02.03.57.18; Wed, 02 Aug 2023 03:57:31 -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=@quicinc.com header.s=qcppdkim1 header.b=PKeCO+Ue; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233037AbjHBKCR (ORCPT + 99 others); Wed, 2 Aug 2023 06:02:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234312AbjHBKBp (ORCPT ); Wed, 2 Aug 2023 06:01:45 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73E822690; Wed, 2 Aug 2023 03:00:31 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3726F5F8029956; Wed, 2 Aug 2023 09:59:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=qcppdkim1; bh=JTpvksgXGepv28ipffk/2mL8YqAd5UAVZeB47rmL7Tc=; b=PKeCO+UeWrUdKHGvn0Bo6pCIDsMhJ1ITVq32bEPSF6yZuLF9DApOXvMxT7w1MAKRIy9m e7IBLdHSXJBo1MhgBkGNWwblkWopqQt8QjY21XwewuLWs5OhDZLK1MnBGV2iaic3eNfm 2pYtv3ieICCvV8oN4o1P891xZr4ZR8SGmXKv/CUzz2Uyd90O35917Z8NqEi6yt43tEYh wCUTjYNFrFN+kItDYWxPevnd/a84EzLMFUrK71nJ4i1mn2AeAdY/yVizbRzdVkj3bGhx 8fqzBymIK71C4+3hNzBPC2HblU3sjrdWGWKlHvBhL4T9RFXZ1cEu1OKlTuzArTGL3cWy XA== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s6rhaut0b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Aug 2023 09:59:41 +0000 Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 3729xTS6006668; Wed, 2 Aug 2023 09:59:30 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3s4uuke10u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 02 Aug 2023 09:59:30 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3729xTYH006628; Wed, 2 Aug 2023 09:59:30 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-rohiagar-hyd.qualcomm.com [10.213.106.138]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 3729xTUs006622; Wed, 02 Aug 2023 09:59:30 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id 68C331A80; Wed, 2 Aug 2023 15:29:29 +0530 (+0530) From: Rohit Agarwal To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rohit Agarwal Subject: [PATCH 7/8] arm64: dts: qcom: sdx75: Add rpmhpd node Date: Wed, 2 Aug 2023 15:29:25 +0530 Message-Id: <1690970366-30982-8-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1690970366-30982-1-git-send-email-quic_rohiagar@quicinc.com> References: <1690970366-30982-1-git-send-email-quic_rohiagar@quicinc.com> X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: fBa5YI8GRqyAFQLFsYAw7zlse2bEJ9-j X-Proofpoint-ORIG-GUID: fBa5YI8GRqyAFQLFsYAw7zlse2bEJ9-j X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-02_05,2023-08-01_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 priorityscore=1501 adultscore=0 clxscore=1015 impostorscore=0 spamscore=0 bulkscore=0 phishscore=0 mlxlogscore=539 lowpriorityscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308020089 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 rpmhpd node and opps for this node to the SDX75 dts. Signed-off-by: Rohit Agarwal --- arch/arm64/boot/dts/qcom/sdx75.dtsi | 51 +++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdx75.dtsi b/arch/arm64/boot/dts/qcom/sdx75.dtsi index 5e9602cd..3a1d37a 100644 --- a/arch/arm64/boot/dts/qcom/sdx75.dtsi +++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi @@ -9,6 +9,7 @@ #include #include #include +#include #include / { @@ -666,6 +667,56 @@ clock-names = "xo"; #clock-cells = <1>; }; + + rpmhpd: power-controller { + compatible = "qcom,sdx75-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 = ; + }; + }; + }; }; cpufreq_hw: cpufreq@17d91000 { -- 2.7.4