Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4049496rwb; Sun, 30 Jul 2023 23:44:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlFzpHa1tmizIVYpVtpG++6mMHcwqNvNUyVt1VjFTVRJU5om7/vbh3JI1oxeKlWkDltkZlNK X-Received: by 2002:a05:6a20:12d6:b0:133:6816:c889 with SMTP id v22-20020a056a2012d600b001336816c889mr11895416pzg.40.1690785840200; Sun, 30 Jul 2023 23:44:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690785840; cv=none; d=google.com; s=arc-20160816; b=JkLmAlAjzLMEf4AVnnDlTi19N697wYEk9/ng3w2VkAn31mo8m4LaGUROo3fR+vkXwm 3BZaFM3guxJ3Hg/hQyVPzJH3UyhAzs5iJItdOcjIjck8NNEBKFv8XSGGuuDUX9F1HTS2 5wIGsa8vmbqLphKhCKnKMGugvkc1HGvVw3N0ttrDBV5KV76KDQoejS62rOhkLdTJbUeH QtEuFo4xC2RsIRgtGdDmd5Dhzo17oTMBvmXaqjMZLnJqdMoNVlbWLYdCWV9KMtA4LnoZ gubLXbYREfxzYsRNoW9v7T3em2xoplF2WA17sMiS8rgpRiFmZGolATjY35WEGz6ztirp S28w== 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=Vt14ovzPT5cuYr7v5GPtjgGhVyc5Q1hVycwfTc1p7nQ=; fh=ya0Tmbf8h/U3DNUr/BuPKZqg+6F9UskxJgkMEyxS7kU=; b=CiIxEB0N5IEuXYmv4ydyEEg5z358dkvWjvqAC+gYj+dflxnWkhV/H44uzAr6h+0HjC 3wBlxlFK6MUycOHYtEEcslqABswQv5uKgWQb9ZwhwsZUcNp7Z+fIn9QdDPGmB+Yotrwh TxkLSY9MdAkzGJgbCsF90uoBLVu/tCMQ8hga7nT8SqdBNnZXjWl3a4cPOTVZrrWJO9+f BHKkFpOPpX6vT7etCPnN+QvILinLZ9O9Ab2NAbqcPvDrZh4O1VvQj1bc0xGthH130/x5 N8THzFRpDo9XBu3eXBF2sZzuik44AItdqylSKQD3+OHPoYoHQ4PB/3tCdrTgoL5W2bGd Le7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ncgB4GqI; 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 eg25-20020a056a00801900b00682babd7453si3972786pfb.142.2023.07.30.23.43.48; Sun, 30 Jul 2023 23:44:00 -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=ncgB4GqI; 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 S229665AbjGaFZa (ORCPT + 99 others); Mon, 31 Jul 2023 01:25:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229963AbjGaFZY (ORCPT ); Mon, 31 Jul 2023 01:25:24 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46CA0E7C; Sun, 30 Jul 2023 22:25:21 -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 36V4J7lI021076; Mon, 31 Jul 2023 05:25:14 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=Vt14ovzPT5cuYr7v5GPtjgGhVyc5Q1hVycwfTc1p7nQ=; b=ncgB4GqIGVz+repPG6vMacmaY3XuxFh6Xg49OyM+SxxN/uUXf2ub42agZoGlwqCyXuRc xQsbOvD/x/0GnyRBuBaYs62rF8gdPu54EnNatu1KbOu3KJZgSpLbHW0isB33yYoXJMZO GvLPFe1htfecHVnOWzrmUmbN/epulKG2CCOQmBmkQADIFsbhMjZDIpimoKw6LxnMeyNN IG/VQlLBOxO5WfW8NT0mVDvMIZWd3RenRX7dUIiWXl/T8t/k3IWRsOd7vgCkAZanN/rF mtO9Gi/j1tElZW3+JvI2fn/ae02UQqwAfhf/Qnvl7LBZ8WH2oRZ2Xzkm+MG4bdVzbz+Y NQ== 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 3s4uxsamgn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 31 Jul 2023 05:25:13 +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 36V5PA2A017582; Mon, 31 Jul 2023 05:25:10 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3s4uuk6gxp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 31 Jul 2023 05:25:10 +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 36V5P9M4017573; Mon, 31 Jul 2023 05:25:10 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 36V5P9lq017569; Mon, 31 Jul 2023 05:25:09 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id 45AAF1AA0; Mon, 31 Jul 2023 10:55:09 +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: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rohit Agarwal Subject: [PATCH 1/4] dt-bindings: power: qcom,rpmhpd: Add the regulator levels for RPMHPD Date: Mon, 31 Jul 2023 10:55:01 +0530 Message-Id: <1690781104-2290-2-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1690781104-2290-1-git-send-email-quic_rohiagar@quicinc.com> References: <1690781104-2290-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: muG-d0KQyB23NTeji3d1FoeWUW8nNdLK X-Proofpoint-GUID: muG-d0KQyB23NTeji3d1FoeWUW8nNdLK 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-27_10,2023-07-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 priorityscore=1501 malwarescore=0 clxscore=1015 impostorscore=0 mlxlogscore=527 suspectscore=0 bulkscore=0 lowpriorityscore=0 spamscore=0 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307310048 X-Spam-Status: No, score=-1.8 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,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 the regulator levels for RPMHPD for Qualcomm SoCs having RPMH. Signed-off-by: Rohit Agarwal --- include/dt-bindings/power/qcom,rpmhpd.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/include/dt-bindings/power/qcom,rpmhpd.h b/include/dt-bindings/power/qcom,rpmhpd.h index 7c201a6..578243f 100644 --- a/include/dt-bindings/power/qcom,rpmhpd.h +++ b/include/dt-bindings/power/qcom,rpmhpd.h @@ -27,4 +27,30 @@ #define RPMHPD_DDR 17 #define RPMHPD_XO 18 +/* RPMHPD performance levels */ +#define RPMH_REGULATOR_LEVEL_RETENTION 16 +#define RPMH_REGULATOR_LEVEL_MIN_SVS 48 +#define RPMH_REGULATOR_LEVEL_LOW_SVS_D2 52 +#define RPMH_REGULATOR_LEVEL_LOW_SVS_D1 56 +#define RPMH_REGULATOR_LEVEL_LOW_SVS_D0 60 +#define RPMH_REGULATOR_LEVEL_LOW_SVS 64 +#define RPMH_REGULATOR_LEVEL_LOW_SVS_P1 72 +#define RPMH_REGULATOR_LEVEL_LOW_SVS_L1 80 +#define RPMH_REGULATOR_LEVEL_LOW_SVS_L2 96 +#define RPMH_REGULATOR_LEVEL_SVS 128 +#define RPMH_REGULATOR_LEVEL_SVS_L0 144 +#define RPMH_REGULATOR_LEVEL_SVS_L1 192 +#define RPMH_REGULATOR_LEVEL_SVS_L2 224 +#define RPMH_REGULATOR_LEVEL_NOM 256 +#define RPMH_REGULATOR_LEVEL_NOM_L0 288 +#define RPMH_REGULATOR_LEVEL_NOM_L1 320 +#define RPMH_REGULATOR_LEVEL_NOM_L2 336 +#define RPMH_REGULATOR_LEVEL_TURBO 384 +#define RPMH_REGULATOR_LEVEL_TURBO_L0 400 +#define RPMH_REGULATOR_LEVEL_TURBO_L1 416 +#define RPMH_REGULATOR_LEVEL_TURBO_L2 432 +#define RPMH_REGULATOR_LEVEL_TURBO_L3 448 +#define RPMH_REGULATOR_LEVEL_SUPER_TURBO 464 +#define RPMH_REGULATOR_LEVEL_SUPER_TURBO_NO_CPR 480 + #endif -- 2.7.4