Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26298275rwd; Mon, 3 Jul 2023 07:56:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6xNQ+baQzJJT6Xh/7OjelSchjfzOwR2XwK84IlAmO3l0tkOYJd3GteutC/mFs2z39Tt63n X-Received: by 2002:a05:6a00:409a:b0:668:8ad5:778f with SMTP id bw26-20020a056a00409a00b006688ad5778fmr20089412pfb.17.1688396195187; Mon, 03 Jul 2023 07:56:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688396195; cv=none; d=google.com; s=arc-20160816; b=yL3wb9S5HFsoj3JlgLndLafLw8J8kriMt1UUntUcqKWluPe+SihZ2yZh43A4Dr3OYy RDgU/Y0YZrV0YBVbcmVlpgy36cnmbDDuY+fTiDkZQsi+utHlU1gyVDMTkqfOLLjITllA IV21JjSl5fKJnGBH1XOuqT+YhLJRXX5yX3UkbZ+QguQhitLIfFbFJvn9hrliDBK+Ar2e ZpbDYU5D3RAbSqKUytjym04R92qtWhzhuvdzkjX2+ogNPsGHpq+XtTRxc/WWSoc+Jhuy +L9wBPPECZzFj9DnkstfaEJnEzDsMkz9Py/ZocjhYIVC+6ncY6dWO0xkvWHwgbMH7ppt swJw== 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=oL1yo0HDL8eO/A83WFQHw+iIlDhU7E3+9NP/2X/ls2g=; fh=LmehYcqtIX1HNUoG0DTZjb5GDKXkJQ1TddbXxtGgSY0=; b=NOqt2GqTEClp5dcfiaFzo/un3X4UOo0KF5kAKFlD9liUIL1erF5wYZIbxktw0emV1Y tLFN5LlKbD5jw1ptWlkef8xbhnu1WJftQAZZw9WszpVrMwVBMeRgofOvMW9s0VPtjKjo Ci0Oy790ZQNiGTsQhc5EDuGfIx4Nd/3Sr2GHrCv5uMhGs/BP8fTTWvJN6wCHLmKbSbzO lTpb8MpKRGkdLJOrizQqgvMSS+6Tb+HM15cBSIg/JCO2TkQ3fvapB++DyHbeCGA7EaWS xm6plIb7bz5iFIb/OOYnz4y0OkFLUMrNU/R4lijV035Rp22CtgGm66sWk446NiJIBVrO Q3tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=epOpJ2iu; 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 cg13-20020a056a00290d00b006825b4fae9dsi7451988pfb.166.2023.07.03.07.56.22; Mon, 03 Jul 2023 07:56:35 -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=epOpJ2iu; 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 S231199AbjGCOo7 (ORCPT + 99 others); Mon, 3 Jul 2023 10:44:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231358AbjGCOmy (ORCPT ); Mon, 3 Jul 2023 10:42:54 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99335E69; Mon, 3 Jul 2023 07:42:45 -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 363DdepM026870; Mon, 3 Jul 2023 14:42:35 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=oL1yo0HDL8eO/A83WFQHw+iIlDhU7E3+9NP/2X/ls2g=; b=epOpJ2iuEJVcEfErhSDQdJq3DELKqg2VNKYD8lge0vDxRTt7i0vmTUNWfUP3P2SiB3Lz eIYi+zkvPX6QPGX3VFjRIbGi9JPp95bInPxsfc7jw7pC3V3HCF7/7XO7Lv+TM+ghiqbB I2CNfsDCjCD+HW54nIffOF8X257GGGNatg9/AVjF2PbAvfCCfXnksNRk0OSkqw/voTeV mfxzZ20C6iWMobw8BE7ZFR8+gNi1qR09P0NBrYaxG+O4RrCazCT1ufaTVLvnO3If9oC6 7hUNCpNC9xwQLgPVGA28pz+hkWFuZYXfi92FRkGMAoLG5QdOLb+CeleyNzsHgTunoyZ6 +Q== 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 3rkv1dgjvm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 03 Jul 2023 14:42:35 +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 363EgTpW031827; Mon, 3 Jul 2023 14:42:31 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3rjd7k8gf6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 03 Jul 2023 14:42:31 +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 363EgRgV031491; Mon, 3 Jul 2023 14:42:31 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 363EgTaL031748; Mon, 03 Jul 2023 14:42:31 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id A2F445008; Mon, 3 Jul 2023 20:12:30 +0530 (+0530) From: Rohit Agarwal To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, lee@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linus.walleij@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, sboyd@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Rohit Agarwal Subject: [PATCH 07/10] soc: qcom: rpmhpd: Add SDX75 power domains Date: Mon, 3 Jul 2023 20:12:23 +0530 Message-Id: <1688395346-3126-8-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1688395346-3126-1-git-send-email-quic_rohiagar@quicinc.com> References: <1688395346-3126-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: N2EAqOa05Ip0duehCFYsBewUZQ5ZjScI X-Proofpoint-ORIG-GUID: N2EAqOa05Ip0duehCFYsBewUZQ5ZjScI 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-03_11,2023-06-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 malwarescore=0 adultscore=0 lowpriorityscore=0 mlxlogscore=771 phishscore=0 impostorscore=0 mlxscore=0 priorityscore=1501 clxscore=1015 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307030132 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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 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 f20e2a4..df9d22c 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[] = { + [SDX75_CX] = &cx, + [SDX75_CX_AO] = &cx_ao, + [SDX75_MSS] = &mss, + [SDX75_MX] = &mx, + [SDX75_MX_AO] = &mx_ao, + [SDX75_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, @@ -529,6 +544,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 }, -- 2.7.4