From patchwork Thu Jul 6 12:49:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rohit Agarwal X-Patchwork-Id: 13303631 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0EEFEB64DD for ; Thu, 6 Jul 2023 12:50:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232225AbjGFMus (ORCPT ); Thu, 6 Jul 2023 08:50:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232206AbjGFMur (ORCPT ); Thu, 6 Jul 2023 08:50:47 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 350621FC1; Thu, 6 Jul 2023 05:50:16 -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 366CfEJC019662; Thu, 6 Jul 2023 12:50:04 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=mrrQfJyScYzURQREC3hWOc6S03ZHdGdpB8wHRMI6UcI=; b=eaZv1BYKYJcxXvIir+ojRED96pM6b2bugyHoukP9WWeXiWIz77ucyEtPr0TjLubnxwuw 8Dx48aFiixXG7QMhCpoUSPSmFs06nUPaB5qdwCGA4T67GR6yjQtZLDk6eLIBxdcNMqS9 NyLZc1XxyvpezGaRk8y+OfMg5Ky+kGIazvy+29Pyh8boUzT5gHKUeWeEuXcC1S61hO5Z WlgVT72STplfeUg+QkAsB5UYMBQsUpJN91FVjFxX070COIg4G7FqATYSgyGjnBL6VOi2 NBWqkxhJMQgAzmQQDi+vl6/UGYJpK4q/SdyHL68SBs+6SKLfU/3FS65NaG2/swjhh0W3 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 3rntctrdhu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Jul 2023 12:50:03 +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 366Co0Pr024162; Thu, 6 Jul 2023 12:50:00 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 3rjd7kywam-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 06 Jul 2023 12:50:00 +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 366Co0w9024155; Thu, 6 Jul 2023 12:50:00 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 366CnxVm024148; Thu, 06 Jul 2023 12:50:00 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id 6159F5FF3; Thu, 6 Jul 2023 18:19:59 +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 1/3] dt-bindings: power: rpmpd: Add Generic RPM(h) PD indexes Date: Thu, 6 Jul 2023 18:19:51 +0530 Message-Id: <1688647793-20950-2-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1688647793-20950-1-git-send-email-quic_rohiagar@quicinc.com> References: <1688647793-20950-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: 0a-kGI2M2KHcmaznxVo74Gd1carwJWFR X-Proofpoint-ORIG-GUID: 0a-kGI2M2KHcmaznxVo74Gd1carwJWFR 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-07-06_09,2023-07-06_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 mlxlogscore=502 priorityscore=1501 adultscore=0 spamscore=0 phishscore=0 malwarescore=0 impostorscore=0 mlxscore=0 bulkscore=0 lowpriorityscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307060115 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add Generic RPM(h) Power Domain indexes that can be used for all the Qualcomm SoC henceforth. Signed-off-by: Rohit Agarwal Suggested-by: Konrad Dybcio --- include/dt-bindings/power/qcom-rpmpd.h | 49 ++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h index 83be996..6498251 100644 --- a/include/dt-bindings/power/qcom-rpmpd.h +++ b/include/dt-bindings/power/qcom-rpmpd.h @@ -4,6 +4,55 @@ #ifndef _DT_BINDINGS_POWER_QCOM_RPMPD_H #define _DT_BINDINGS_POWER_QCOM_RPMPD_H +/* Generic RPMH Power Domain Indexes */ +#define RPMHPD_CX 0 +#define RPMHPD_MX 1 +#define RPMHPD_CX_AO 2 +#define RPMHPD_MX_AO 3 +#define RPMHPD_GFX 4 +#define RPMHPD_MSS 5 +#define RPMHPD_EBI 6 +#define RPMHPD_LCX 7 +#define RPMHPD_LMX 8 +#define RPMHPD_MMCX 9 +#define RPMHPD_MMCX_AO 10 +#define RPMHPD_MXC 11 +#define RPMHPD_MXC_AO 12 +#define RPMHPD_NSP 13 +#define RPMHPD_NSP0 14 +#define RPMHPD_NSP1 15 +#define RPMHPD_QPHY 16 +#define RPMHPD_DDR 17 +#define RPMHPD_XO 18 + +/* Generic RPM Power Domain Indexes */ +#define RPMPD_VDDCX 0 +#define RPMPD_VDDCX_AO 1 +#define RPMPD_VDDMX 2 +#define RPMPD_VDDMX_AO 3 +#define RPMPD_VDDCX_VFL 4 +#define RPMPD_VDDMX_VFL 5 +#define RPMPD_VDDCX_VFC 6 +#define RPMPD_LPI_CX 7 +#define RPMPD_LPI_MX 8 +#define RPMPD_SSCCX 9 +#define RPMPD_SSCCX_VFL 10 +#define RPMPD_SSCMX 11 +#define RPMPD_SSCMX_VFL 12 +#define RPMPD_VDDSSCX 13 +#define RPMPD_VDDSSCX_VFC 14 +#define RPMPD_VDDGFX 15 +#define RPMPD_VDDGFX_VFC 16 +#define RPMPD_VDDGX 17 +#define RPMPD_VDDGX_AO 18 +#define RPMPD_VDDMDCX 19 +#define RPMPD_VDDMDCX_AO 20 +#define RPMPD_VDDMDCX_VFC 21 +#define RPMPD_VDDMD 22 +#define RPMPD_VDDMD_AO 23 +#define RPMPD_LPICX_VFL 24 +#define RPMPD_LPIMX_VFL 25 + /* SA8775P Power Domain Indexes */ #define SA8775P_CX 0 #define SA8775P_CX_AO 1 From patchwork Thu Jul 6 12:49:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rohit Agarwal X-Patchwork-Id: 13303634 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E85DC001E0 for ; Thu, 6 Jul 2023 12:50:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232317AbjGFMuw (ORCPT ); Thu, 6 Jul 2023 08:50:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232206AbjGFMuv (ORCPT ); Thu, 6 Jul 2023 08:50:51 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10CD21FE8; Thu, 6 Jul 2023 05:50:19 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 366Ck0Q9009574; Thu, 6 Jul 2023 12:50:04 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=Tl0v3TsoYZRBRpDWOVQUWsFmwzWG2heuYeQ80xohfiE=; b=a8IlSe4kPkkJDwsApRtam2H1r3JV5ovlMTBNhasOS6mv35HLEQ/BEtL3P9JAol3V4Hvv 6fKoK1S1na/ltXbIJG3pq2FGG9++4ekRYHb32adP5uhzGH2IZYVAMGddLuVdAyKVL3Jm nYfs/sCXJafcFw1GIQgudi2mZd97W/j0Zl1OnRD6KEPd2Y2xw2hAX2kaMmLWX0v7Ov7J AvAKryP21ZbcjlBvERR5rLO3KtOMRuxrH+bts/NX5CsBMPtlNKfgRvOQtktLQl8prCnd JR/Mr7VXVPDWfdMjpPK/yq5Rp5FpmjkBXRDWQ3Qo5xGpk+0fJGcJ5KtijvyfN/89vxBC rA== 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 3rnvyvg3eh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Jul 2023 12:50:04 +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 366Co0in024181; Thu, 6 Jul 2023 12:50:00 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 3rjd7kywar-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 06 Jul 2023 12:50:00 +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 366Co0o3024165; Thu, 6 Jul 2023 12:50:00 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 366Co0Vf024161; Thu, 06 Jul 2023 12:50:00 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id BC4925FF4; Thu, 6 Jul 2023 18:19:59 +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 2/3] dt-bindings: power: Add compatible for sdx75 Date: Thu, 6 Jul 2023 18:19:52 +0530 Message-Id: <1688647793-20950-3-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1688647793-20950-1-git-send-email-quic_rohiagar@quicinc.com> References: <1688647793-20950-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: NrY0rRA7LjVAVzDsiLS10doh_CAcBOab X-Proofpoint-ORIG-GUID: NrY0rRA7LjVAVzDsiLS10doh_CAcBOab 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-07-06_07,2023-07-06_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 mlxlogscore=583 clxscore=1015 mlxscore=0 bulkscore=0 spamscore=0 priorityscore=1501 malwarescore=0 phishscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307060115 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add a compatible string that can be used to list PDs for sdx75. Signed-off-by: Rohit Agarwal --- Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml index f9c211a..9b03c41 100644 --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml @@ -41,6 +41,7 @@ properties: - qcom,sdm845-rpmhpd - qcom,sdx55-rpmhpd - qcom,sdx65-rpmhpd + - qcom,sdx75-rpmhpd - qcom,sm6115-rpmpd - qcom,sm6125-rpmpd - qcom,sm6350-rpmhpd From patchwork Thu Jul 6 12:49:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rohit Agarwal X-Patchwork-Id: 13303633 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F334C0015E for ; Thu, 6 Jul 2023 12:50:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232197AbjGFMuv (ORCPT ); Thu, 6 Jul 2023 08:50:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232465AbjGFMuu (ORCPT ); Thu, 6 Jul 2023 08:50:50 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25C441FE3; Thu, 6 Jul 2023 05:50:18 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 366ArCGM022080; Thu, 6 Jul 2023 12:50:05 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=d253eZFClzutbzt2egusiQzjtHkMUCQO19Nt6rhXZ+c=; b=D2sAv0k05YKrdyoyRJJJsRUO5NfoHL8Rj3gLTkePznGrKXxs+Y223hGnaWTGc3ibMzME wlhcw809SDv8IV70Qtd3z8PQlwtxvh8BupwmeW4cjAlA0iMoEXvch3h7P79B1oZB4V2W 1gSHrCM5mIClKaGfbxLW8swsoo+pwODj8Tbt4KGBjlfbIvwhqmjutViUr/pidP51Eclv axuS7i9o1tXwBYuLDNY0X4u+Rvnx3ZnxI3LaHGOxI0a4cZm8ozkYSL7wc/irPCplX75z tvCDSDGgqOHR5XoRPSwN8s9XQBXM0m0+5Y9m2er0hTMY/JG/XlgwKa9TbljBsVHiJ4+V +A== 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 3rn2cpbdxa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Jul 2023 12:50:04 +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 366Co11l024239; Thu, 6 Jul 2023 12:50:01 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 3rjd7kywb1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 06 Jul 2023 12:50:01 +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 366Co1GI024184; Thu, 6 Jul 2023 12:50:01 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 366Co0Vs024177; Thu, 06 Jul 2023 12:50:01 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id 374475FE1; Thu, 6 Jul 2023 18:20:00 +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 3/3] soc: qcom: rpmhpd: Add SDX75 power domains Date: Thu, 6 Jul 2023 18:19:53 +0530 Message-Id: <1688647793-20950-4-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1688647793-20950-1-git-send-email-quic_rohiagar@quicinc.com> References: <1688647793-20950-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: ZlrqHN0aSWZAEHHApyZ6W4MqKpP42xOI X-Proofpoint-ORIG-GUID: ZlrqHN0aSWZAEHHApyZ6W4MqKpP42xOI 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-07-06_07,2023-07-06_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 spamscore=0 clxscore=1015 bulkscore=0 mlxlogscore=678 lowpriorityscore=0 suspectscore=0 impostorscore=0 mlxscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307060115 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add power domains found in Qualcomm SDX75 SoC. Signed-off-by: Rohit Agarwal --- drivers/soc/qcom/rpmhpd.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c index 63c35a3..080f429 100644 --- a/drivers/soc/qcom/rpmhpd.c +++ b/drivers/soc/qcom/rpmhpd.c @@ -307,6 +307,21 @@ static const struct rpmhpd_desc sdx65_desc = { .num_pds = ARRAY_SIZE(sdx65_rpmhpds), }; +/* SDX75 RPMH powerdomains */ +static struct rpmhpd *sdx75_rpmhpds[] = { + [RPMHPD_CX] = &cx, + [RPMHPD_CX_AO] = &cx_ao, + [RPMHPD_MSS] = &mss, + [RPMHPD_MX] = &mx, + [RPMHPD_MX_AO] = &mx_ao, + [RPMHPD_MXC] = &mxc, +}; + +static const struct rpmhpd_desc sdx75_desc = { + .rpmhpds = sdx75_rpmhpds, + .num_pds = ARRAY_SIZE(sdx75_rpmhpds), +}; + /* SM6350 RPMH powerdomains */ static struct rpmhpd *sm6350_rpmhpds[] = { [SM6350_CX] = &cx_w_mx_parent, @@ -545,6 +560,7 @@ static const struct of_device_id rpmhpd_match_table[] = { { .compatible = "qcom,sdm845-rpmhpd", .data = &sdm845_desc }, { .compatible = "qcom,sdx55-rpmhpd", .data = &sdx55_desc}, { .compatible = "qcom,sdx65-rpmhpd", .data = &sdx65_desc}, + { .compatible = "qcom,sdx75-rpmhpd", .data = &sdx75_desc}, { .compatible = "qcom,sm6350-rpmhpd", .data = &sm6350_desc }, { .compatible = "qcom,sm8150-rpmhpd", .data = &sm8150_desc }, { .compatible = "qcom,sm8250-rpmhpd", .data = &sm8250_desc },