Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp188339rwb; Fri, 30 Sep 2022 20:27:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4AvdRNI6GVsqRIaZqoCpJ5aEWRy+xQq7BE42iwn0SxSwlSnzXof8CLSeJ+I1u/PJEBeD3/ X-Received: by 2002:a17:907:60c6:b0:787:af55:87c2 with SMTP id hv6-20020a17090760c600b00787af5587c2mr8531539ejc.52.1664594821722; Fri, 30 Sep 2022 20:27:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664594821; cv=none; d=google.com; s=arc-20160816; b=zNBDIroUr6JwbnNvub1+5TrxF8YjDWrHoxM7f6dFU6OyK9vlTw0l7oWE5mbNhTxaFR zY6ls6uAlNVAl6L38gGLfVNSkCuCjWpG4BpMiwMieF9YEcKxEIgsT2bXmfz9fTIBIxr+ kgm+zSA43haZshk6FNEivz43TJbEZnJ008BBn2MDvb2m9ResbvQZNGvmG519Bfarwecr I04n4sI4UwIWMbP/aWAJF6mf1mwuwlPVwcVvdULEskAHJwGVOgL5Pu2E14C1A2aZYWkR oTSVzNLOmoSj1b2tCQDNL7n6IRY2DcZfQzVAMmGEXw3Gf5YZyjlLz43oQY6hfDjegguV subQ== 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=3LDcN/d6wB3yOfoHmvrdmHWUtojlpULg+lZOZ/55Pzs=; b=vN4ekofQNpTGAXGhbGp47G0sJMtU0gQQKKpiZ1seL30z+PT3DLCpZCqrHcfJP2J+OW 5X1KQavW9B5pwATfq9a6wOps4FhiWdSh/Y/Jal90IVZlrhwa0TSbpoDc+3koUtb9MAUr VIMjcpYMpUERlFRyGLpnyEWIcC5zkL5KHwuuPZhZXRguWWA5AGIIxq0g9/EW36geQ33B jZjuqGCdd+5/GL3YN5frsl7GR8CQpmJyL5eY9cWI1ZKMRDjXYps60jnxDa5BNLIgRP5E Jcg+vMEffGgakPAimKCbQAeJEAK77hOiVzy7jtwBw/ryiBGreesf19uBHEk5B+AjRX6l 9qXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=k8Nctpzh; 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 sc29-20020a1709078a1d00b007836ffda2c1si3333503ejc.324.2022.09.30.20.26.36; Fri, 30 Sep 2022 20:27:01 -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=k8Nctpzh; 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 S233018AbiJADJq (ORCPT + 99 others); Fri, 30 Sep 2022 23:09:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232362AbiJADHn (ORCPT ); Fri, 30 Sep 2022 23:07:43 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EAD6DD34C; Fri, 30 Sep 2022 20:06:59 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2912veZ7027910; Sat, 1 Oct 2022 03:06:56 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=3LDcN/d6wB3yOfoHmvrdmHWUtojlpULg+lZOZ/55Pzs=; b=k8NctpzhO/pSusNrm3dfesZ/I9SH+fUsTeZJNnPc00ZEpkHN6sMTsaTOzWuaaKzd/TAT XAJWjq+LeGbQhoIgjxa4/kJ6ffWsiCNhbnHbSLf++L2S3eGB73YLhX8lmRkC3D5wiRnR 2wg2UiWx/qkPL6kNqjjexazHBd/MAQx8ayaQwyCTzOOFAwTdBNnX7r7OwfhstcwJbvQ+ NC1UVyrVdXJJk0TW+J9Murd49NGDpanmGNJYhyACt1cWST4N1PqV5O5/pmny3yjWDcV9 PXoHbG9ENZt/RJloi6oZBpMK45ijhbmCko2wIDQUgfj5c13SlF8oBx/KI7jNG0D2LPHD vg== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3jxd58g0de-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 01 Oct 2022 03:06:56 +0000 Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 29136tms004981 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 1 Oct 2022 03:06:55 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:06:54 -0700 From: Melody Olvera To: Andy Gross , Bjorn Andersson , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Ulf Hansson CC: Bhupesh Sharma , , , , , Melody Olvera Subject: [PATCH 3/5] dt-bindings: power: rpmpd: Add QDU1000/QRU1000 to rpmpd binding Date: Fri, 30 Sep 2022 20:06:39 -0700 Message-ID: <20221001030641.29354-4-quic_molvera@quicinc.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221001030641.29354-1-quic_molvera@quicinc.com> References: <20221001030641.29354-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: nasanex01b.na.qualcomm.com (10.46.141.250) 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-GUID: T_dGoI5_yUgsYzn1MyAiNlk8mD3O5Ibb X-Proofpoint-ORIG-GUID: T_dGoI5_yUgsYzn1MyAiNlk8mD3O5Ibb 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 impostorscore=0 phishscore=0 mlxscore=0 bulkscore=0 suspectscore=0 malwarescore=0 mlxlogscore=805 priorityscore=1501 clxscore=1015 spamscore=0 adultscore=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 compatible and constants for the power domains exposed by the RPMH in the Qualcomm QDU1000 and QRU1000 platforms. Signed-off-by: Melody Olvera --- Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 2 ++ include/dt-bindings/power/qcom-rpmpd.h | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml index 3934a2b44894..7343cfc91262 100644 --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml @@ -44,6 +44,8 @@ properties: - qcom,sm8250-rpmhpd - qcom,sm8350-rpmhpd - qcom,sm8450-rpmhpd + - qcom,qdu1000-rpmhpd + - qcom,qru1000-rpmhpd '#power-domain-cells': const: 1 diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h index d81de63ae31c..e0d9e5b48a4d 100644 --- a/include/dt-bindings/power/qcom-rpmpd.h +++ b/include/dt-bindings/power/qcom-rpmpd.h @@ -91,6 +91,12 @@ #define SM8450_MXC_AO 11 #define SM8450_MSS 12 +/* QDU1000/QRU1000 Power Domain Indexes */ +#define QDRU1000_EBI 0 +#define QDRU1000_MSS 1 +#define QDRU1000_CX 2 +#define QDRU1000_MX 3 + /* SC7180 Power Domain Indexes */ #define SC7180_CX 0 #define SC7180_CX_AO 1 -- 2.37.3