Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp2953620rwb; Mon, 7 Aug 2023 06:13:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHFAb/cPR2xmmkzNTf1/sJsSHjFGa64sd6mIeRBUGCO2lzCozO9L0qm8GDDQjUTpMaPSJtj X-Received: by 2002:a17:906:1ba1:b0:991:d2a8:658a with SMTP id r1-20020a1709061ba100b00991d2a8658amr7592409ejg.34.1691414022986; Mon, 07 Aug 2023 06:13:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691414022; cv=none; d=google.com; s=arc-20160816; b=uQL3wvEbl4wAUGLCRHgm6tBuYAZUT4u/x76ZaTPxKaZ3TqyevjYiUt3wuAmbzzSmD+ c3v7ehQH6/JLDSr7AgtRsIKtMBGKbDUSU1l9X16txGbyQnqcRcG9e53o6UwDiLZjHoPw 1rlhJWm5+VrIdgxqiFR/px4lb0uapINHud7X8/9CWGBqGpYCiEgY0kTE+P7Z6iJ0usBW UaobNuYPc+SnGpzVGoKrGiRSIWkLNfPoUCYPe+mYVlWoybOQRVLlgGNpUOIF1SqwoT6B wbvg3xUUO6/1OsnDsJpsjCgE4p2vjIxTcmOtq5oZaW2tnBV4Sg/2ydSdFWhOPYTe5urp zebA== 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=pxz3nksy5PX88He2HlXqoEKV2vZ1H8I386547d8a9js=; fh=AuPWtkft2QpSof+GFzbc3pi2uF0J8RaXyhSfvcIkZ3Q=; b=rBjYJmOyaR63FjYNllKWDLW4hEZH9hsWfhz82D1r8vPf9PAeVQperzhf6sff+6Gf6H fZiM1B+2fkeeykKgQFd0TRDjmELBgVLbkLCAm88XZPz3V0WPC9FU9vHtTkNkYI43OmIH JCm+t+hPy/g7lRTjVoP398up9qzdwlhwQ+wIrRyKUUWjRez9Bt1phCchBD1ahEdwlO4Y thdefSkx0vrsLcxCaq7Dc5N9OanCElNgK87bwPYQmx2H8r0feNbp+usBg6dL29XZbksp w9TgSuOSzfM3wgv7HvvMJJ/L16PSAbjOBM/f38MFLpeJ58dsJvPDmnl0li8j7uxWJ9RY Z3pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=BzTKSlqo; 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 v6-20020a170906338600b0099379d3f91esi5918563eja.477.2023.08.07.06.13.18; Mon, 07 Aug 2023 06:13:42 -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=BzTKSlqo; 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 S233370AbjHGMSs (ORCPT + 99 others); Mon, 7 Aug 2023 08:18:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233313AbjHGMSn (ORCPT ); Mon, 7 Aug 2023 08:18:43 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAB93106; Mon, 7 Aug 2023 05:18:41 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3779ofWC006688; Mon, 7 Aug 2023 12:18:33 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=pxz3nksy5PX88He2HlXqoEKV2vZ1H8I386547d8a9js=; b=BzTKSlqoTWAxf6jrI+M9eSADuvud17k7Z8u8PlxnXNXGQa2HGCTiNmbSbwiNP+ohhbG+ 7rGc/wnlv8Q8j/Sou8d+twqAVxL5YpM7uDb6n6wBDSEVh61a67c5s/VlJUBn404pZoqW SetiT8ENP+T46K8wN/DQXZRE9giuCKkT/mhg2O31/ZIvQZWDyeMLaz3U6pckTiNm64T7 1PIGN4v5JG8FaPdmihc0JDnOwEx2SRZkJjzpoqvbEKRaU9GKOFz2E3tOM0WvzeYqjN47 KhEzcD41JCurEIjw+7KpS8OJrUD72d557xkzPWMswZfqQlmpIDHhXVPWEMb2FY5brA/D Jg== 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 3saxbbr9ag-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Aug 2023 12:18:32 +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 377CITjC028027; Mon, 7 Aug 2023 12:18:29 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3s9fgk7kky-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 07 Aug 2023 12:18:29 +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 377CISjG027996; Mon, 7 Aug 2023 12:18:29 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 377CIS33027992; Mon, 07 Aug 2023 12:18:29 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id 75BA81B64; Mon, 7 Aug 2023 17:48:28 +0530 (+0530) From: Rohit Agarwal To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, vkoul@kernel.org, kishon@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, abel.vesa@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, quic_pkondeti@quicinc.com, Rohit Agarwal Subject: [PATCH v2 8/9] arm64: dts: qcom: sdx75: Add rpmhpd node Date: Mon, 7 Aug 2023 17:48:17 +0530 Message-Id: <1691410698-25180-9-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1691410698-25180-1-git-send-email-quic_rohiagar@quicinc.com> References: <1691410698-25180-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-ORIG-GUID: diWjEmNbUlJuXd3QZ1g-kLn58ctPvjJH X-Proofpoint-GUID: diWjEmNbUlJuXd3QZ1g-kLn58ctPvjJH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-07_12,2023-08-03_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=663 bulkscore=0 spamscore=0 clxscore=1015 impostorscore=0 malwarescore=0 phishscore=0 priorityscore=1501 adultscore=0 suspectscore=0 mlxscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308070113 X-Spam-Status: No, score=-1.7 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 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 6e2d07f..124dd99 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: opp-16 { + opp-level = ; + }; + + rpmhpd_opp_min_svs: opp-48 { + opp-level = ; + }; + + rpmhpd_opp_low_svs: opp-64 { + opp-level = ; + }; + + rpmhpd_opp_svs: opp-128 { + opp-level = ; + }; + + rpmhpd_opp_svs_l1: opp-192 { + opp-level = ; + }; + + rpmhpd_opp_nom: opp-256 { + opp-level = ; + }; + + rpmhpd_opp_nom_l1: opp-320 { + opp-level = ; + }; + + rpmhpd_opp_nom_l2: opp-336 { + opp-level = ; + }; + + rpmhpd_opp_turbo: opp-384 { + opp-level = ; + }; + + rpmhpd_opp_turbo_l1: opp-416 { + opp-level = ; + }; + }; + }; }; cpufreq_hw: cpufreq@17d91000 { -- 2.7.4