Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp2956237rwb; Mon, 7 Aug 2023 06:15:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGXpag9UZa2a5zOfS3gns1gZpxr+rIBzChWMO7/2lCbxjP3UXlYsClLCobjtbLOoOymGtvM X-Received: by 2002:a17:907:2cea:b0:993:f9d4:eaac with SMTP id hz10-20020a1709072cea00b00993f9d4eaacmr6773197ejc.24.1691414136805; Mon, 07 Aug 2023 06:15:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691414136; cv=none; d=google.com; s=arc-20160816; b=ZaLZxj8pLp6uJ3YZOu4zesEYjW0j2Ndj+7hcFh4/bMRl3regl7Slc3rTNpYmX/e2v5 22g9jTvPWjvkjOe4yZo+01ycgyrppATG1i1h3ijC3Z/KxfFVAsSmEXgxLuxZ88dBSkMw 7iKracqEh9P/cCzOY41TM3tsoGmmX3U+q+v9F2Frs2KBVbzJl0pY+p4xbs3i6vySvjR2 lHqo06dbQLl3PVbTyrDq41Cx8MWnFTMjY62dtqyP620+WIZpp/HYh2x4fycop9SxoqIa p800E67ayhnM7iX9ShjExjHr46TwtaWj93zrNOR6FhGRyFv2UfRe/8xkp3rSTAdqgidr 3PUQ== 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=A61xUvk4T0PPY0MlepMT5dXZe4H2YkcfnO2gk9qJXWVdaNvFOc4zaPbHqeKHtPsXoj nBkpaWv3D/LJ0yFUAgHH9eyKjY3mKAInD7B6yAb3+JrD1EmPkUcvHj0PMCyYI+8019t9 vn+N/Or02BqiCKon26VUKPczLMOwhim6CYx5Ps9QTKfqUgqCEEdO6el4DSZRyjyEXLRG 8lzwjUmuKVnPc9QaUo7gJuK+jM1yLrnEChMt+g7vEk9cU/zxDLLSiJJ8hCC2MoUCie1z G2gACxHxygiUoqB4uZR3xoswIXO8qNYJ3PP0ikltR5QKcIkl7aY5TzY+IB+jDwettT4i esEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mJ1RBkYA; 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 bt26-20020a170906b15a00b0099bcadfde72si5975894ejb.364.2023.08.07.06.15.11; Mon, 07 Aug 2023 06:15:36 -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=mJ1RBkYA; 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 S233520AbjHGM3T (ORCPT + 99 others); Mon, 7 Aug 2023 08:29:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233486AbjHGM3H (ORCPT ); Mon, 7 Aug 2023 08:29:07 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18B3510F3; Mon, 7 Aug 2023 05:29:07 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 377BpJFe013971; Mon, 7 Aug 2023 12:29:01 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=mJ1RBkYAEgqarJGBx21OONPcVI4QSeAEcIDgEQOvrmgewiTJkNbc0S1Ylclrz8fz0sqQ 8u3dCJt1ThjUb56SclqpLqLs5nMs35U/nsV1+653/CHoAqUzCPEd9UyeMM6wk12Nc8ui UXmDgatDmxS1Cf5n1Du2WH0W4bcMFNXdJg7ZPcKgzfXburzCuPlXLrmC/GODJeatwSmc ZDKr1fz2LBUcuC5DbzCZ5pYvHXsl8lJE/+D1gQmd2dtlVR4hOpfiulDEToCENxM2gFjW p2nDysmNKa6OCvh5ZjOQFlOgsZAaanVpTYF5rODOPkETJNRaO9lo4bG/+28VeyfiMGc2 SA== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3saw0r8k90-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Aug 2023 12:29:00 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 377CSuhk032455; Mon, 7 Aug 2023 12:28:57 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 3s9fgkntwr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 07 Aug 2023 12:28:57 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 377CStn1032396; Mon, 7 Aug 2023 12:28:57 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-rohiagar-hyd.qualcomm.com [10.213.106.138]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 377CSuhw032419; Mon, 07 Aug 2023 12:28:57 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id 96EE41B5B; Mon, 7 Aug 2023 17:58:56 +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:58:52 +0530 Message-Id: <1691411333-1556-9-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1691411333-1556-1-git-send-email-quic_rohiagar@quicinc.com> References: <1691411333-1556-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: w75U8UClOws3PyhVZHTML5_C2QK4kpLb X-Proofpoint-ORIG-GUID: w75U8UClOws3PyhVZHTML5_C2QK4kpLb 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 bulkscore=0 malwarescore=0 phishscore=0 adultscore=0 impostorscore=0 mlxlogscore=663 clxscore=1015 spamscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308070115 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