Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp204709rwb; Fri, 30 Sep 2022 20:54:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4psfTa9YoO66flu3a79zO+ijvz37I3zivmZ46z1LeaUFvtblWJleCvhnCBajPTW/rX0/Gq X-Received: by 2002:a05:6402:22fb:b0:457:537b:b628 with SMTP id dn27-20020a05640222fb00b00457537bb628mr9899925edb.313.1664596463826; Fri, 30 Sep 2022 20:54:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664596463; cv=none; d=google.com; s=arc-20160816; b=kqeG0IPpabD7QEHgodbTGXrJl6sfbgtMnH5HJRRASKJDCe42xpiCj0Y41827AycY07 4Cy+Ktn9a9UJ56aLc6V85CBKQINUuxkjo2zb26u9XrXdOuTmxdx7rHfVJvfVe4pAbcBh nYW332XoUx6W6gmL3GbmAfU8nAG3YemqKutq7UjDtOl5VMRuYDlhhwptFmluwjK+whq+ ryhL6HYi0eJD/3gn3gYlhIJmG7cSQzCZV5E32ilSxqxcYndurel/ng7G1GF8VVEHI6G/ a1jtSVjiZKDz5Z7vTCPK23SRLSPWYQiSjbjuJP1wblwk0l7uvQQmp0lXmQBolNnZkDMS VHMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CCG/Mfngbz6lsxVGs0jIIwBAYXKCiZEgQtIudnZOMoI=; b=Ye/tzBs7etg+cCUQt6oZ0qnD2WXd5d0ULfSJTPU7FMijw6Vy8K+VRmlrufiwGNHJ05 mCEjwgxV0GQ84Fwpgr4z3a/dXajfe1b+40EV9wOF6iAkfYfBC+/lPqcDxVKmB5EBpxkz QTEpPvYTCjvNS1Bp9FYDn1+lZCapqF1WJobIdydu9n9jF5z22L1HctFRhery/5fPZ6W1 r8cYFeo0gq+hzO73tKWB207+l62RZ6oEfEl/cLF3lCdrxepxSSH6N7fCXHVQkrmHT5pG hTZuxBrnquJQkZbIja886bnK0+AuMcuKkzBxX5Md8OegMqbiwBH719M51rVAxLu27b6C DWxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="Pbl6FPp/"; 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 js18-20020a17090797d200b007837bed6470si3417603ejc.576.2022.09.30.20.53.58; Fri, 30 Sep 2022 20:54:23 -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="Pbl6FPp/"; 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 S233020AbiJADLf (ORCPT + 99 others); Fri, 30 Sep 2022 23:11:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232589AbiJADHs (ORCPT ); Fri, 30 Sep 2022 23:07:48 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5095163B43; Fri, 30 Sep 2022 20:07:18 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2912slgs018928; Sat, 1 Oct 2022 03:07:16 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 : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=CCG/Mfngbz6lsxVGs0jIIwBAYXKCiZEgQtIudnZOMoI=; b=Pbl6FPp/bCuUGJTIWQ0IKdlTSMAnB4wsWNqcI4vdN5dgrEsAWGLRGbwBbCGSLeCCixKN nMUy2y+ajk13jW55u4XPGXhQReI1YQgFY4xlKZhuJSnb9sFpWv7UYGYXL7aHZFgl7Cm2 4EA9G1N65rFkYaz69KudcdYmCo6sr2q3bvyj7xH7/PuVYwcLFUEWVJ+OWteOb4CUajqF DklneTt0hNFSAdPh1MZU1rkjHzo6uh46WJEjZ0U/2EB30g6VOCNbi42JERtmgPTegoEE ziLK+S6RuFLsnGf7xgPUvxNfMYGrPG7yQrZzrbnemfA7szysdbJZKKRZOL+nyO9HLD7c Jw== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3jxb8n856n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 01 Oct 2022 03:07:15 +0000 Received: from nasanex01b.na.qualcomm.com (corens_vlan604_snip.qualcomm.com [10.53.140.1]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 29137FIN025426 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 1 Oct 2022 03:07:15 GMT Received: from hu-molvera-sd.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Fri, 30 Sep 2022 20:07:14 -0700 From: Melody Olvera To: Andy Gross , Bjorn Andersson , Rob Herring , "Krzysztof Kozlowski" CC: , , , Melody Olvera Subject: [PATCH 10/19] arm64: dts: qcom: qdru1000: Add rpmhpd node Date: Fri, 30 Sep 2022 20:06:47 -0700 Message-ID: <20221001030656.29365-11-quic_molvera@quicinc.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221001030656.29365-1-quic_molvera@quicinc.com> References: <20221001030656.29365-1-quic_molvera@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: TKapl-ZYgXdyMRd4d2q7XbowkF_PBmVW X-Proofpoint-GUID: TKapl-ZYgXdyMRd4d2q7XbowkF_PBmVW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-10-01_02,2022-09-29_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 adultscore=0 spamscore=0 phishscore=0 clxscore=1015 malwarescore=0 bulkscore=0 suspectscore=0 impostorscore=0 mlxlogscore=844 mlxscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210010016 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 QDU1000 and QRU1000 platforms. Signed-off-by: Melody Olvera --- arch/arm64/boot/dts/qcom/qdru1000.dtsi | 51 ++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qdru1000.dtsi b/arch/arm64/boot/dts/qcom/qdru1000.dtsi index b85ffd8baf4b..c5acdc447074 100644 --- a/arch/arm64/boot/dts/qcom/qdru1000.dtsi +++ b/arch/arm64/boot/dts/qcom/qdru1000.dtsi @@ -7,6 +7,7 @@ #include #include #include +#include #include / { @@ -386,6 +387,56 @@ rpmhcc: clock-controller { clock-names = "xo"; clocks = <&xo_board>; }; + + rpmhpd: power-controller { + compatible = "qcom,qdu1000-rpmhpd", "qcom,qru1000-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 = ; + }; + }; + }; }; arch_timer: timer { -- 2.37.3