Message ID | 20230112203653.23139-1-quic_molvera@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp4102145wrt; Thu, 12 Jan 2023 13:00:25 -0800 (PST) X-Google-Smtp-Source: AMrXdXvjPoPYYU86QGWrwiUwvsgyvxB44nIwU5wUHhEJYZ+cDt8E2jiX6XwIyUQZvyZq46tg3CCS X-Received: by 2002:a05:6a00:a89:b0:583:4126:a09 with SMTP id b9-20020a056a000a8900b0058341260a09mr30443574pfl.21.1673557225400; Thu, 12 Jan 2023 13:00:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673557225; cv=none; d=google.com; s=arc-20160816; b=ZzWwH7fSGZ1pOia7JDVvOTc1LHWVVnuAux7u3IntTn/QwiaDT8QvbP240xWlC6w+tO ZIjKdh6E00mfGB90tkw1Ov59CQ4NhK5xjPSqiCem1zjmoidPOSNSkmfrT1v2E65f/IKf 2OXx7UreH4/jZIpI5+o7GQKBeLtnyF2dwGxrIqZ22jPYCJ1PR+kfR83qdAIeyFJiJqGc IgSQH3RLGE2DrVP1Tdf3mXZY3Hl7E89gQN7HphJXU1VtEu5xb7WIbCJ+4ukW1gzbdUOa dDDFo+e5srf4tnRaHupmqFGb1GWHV5P4JC4twcpR2ECMozCj963/MjZHd6pwTF0968dR Hp8w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=aBueX9v4/9luPjMEdGS5aHYu8+7Vn0YapSCKndYMm0o=; b=E3ccDhSMx8MYSoJe0qlaS9BftRBrebPIevWJNRIRs3sh8/Zi25Er2DLQ5JjYS9+nRs zH17v787mL54NmvN6dxaT8QcJwt/kK3nMAFb6d/VYKLozsXtywEXkS28NyKDcZ3purhU Z51iGSTJ57j/UNjNQM/dnGsj+JX74Era/IrvQyuq57zh0ufbCQp41j7v5BmBWcozxCp4 rMTbXH26xDYdF3xaA8MeiCnOUJf/0NUdm5Tf9iK/fBhs7xC1gL3IXkdTlEPYbs0pVHXZ WOGofg25ZPa0/N6riuDVayM7WgxMgHCyQh6IcdBpL3YbirFSS79ZbI5x2ViLYbCZkaFI 8VPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=GtkY6bpl; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c6-20020a056a00248600b00574c8aba4d3si19669843pfv.153.2023.01.12.13.00.10; Thu, 12 Jan 2023 13:00:25 -0800 (PST) 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=GtkY6bpl; 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 S233018AbjALU4d (ORCPT <rfc822;zhuangel570@gmail.com> + 99 others); Thu, 12 Jan 2023 15:56:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240626AbjALUxn (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 12 Jan 2023 15:53:43 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8F181EECC; Thu, 12 Jan 2023 12:37:52 -0800 (PST) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30CKV1Tb023080; Thu, 12 Jan 2023 20:37:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=aBueX9v4/9luPjMEdGS5aHYu8+7Vn0YapSCKndYMm0o=; b=GtkY6bplsZHBQ8g+q3ZuEApbo1gzEsFQMYONSJD1MuIj6qqfAsHYN8wqXhYL2ljf8E8O lvXKZOfjy6XSq9w8iVzGxF2sv1Qi6iXYgLLMnULDd6uGMSlOdFpyVKJRrGS+9m6mRmHa kT0jyz1Qgr3F6EENhJmyVlG3CrXwLu3zwLIvh0yAKyD0PnFbOwBcGUH08gw23rqPI2aq 92HG2G2zsuz73UrJCh4PJFKy3Hfo724KT9dkBaP91oSUH1DWq4dreND6Qu2NxcW4z6n3 Erl6cCWfhKYXtXsMgMGavnubOA5C+K33D5Dr8pLghcWhvlVPCDqE4H7VbiaTaeiIxGB4 tg== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n2hum12n4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Jan 2023 20:37:48 +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 30CKbleB031881 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Jan 2023 20:37:47 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.36; Thu, 12 Jan 2023 12:37:47 -0800 From: Melody Olvera <quic_molvera@quicinc.com> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> CC: Melody Olvera <quic_molvera@quicinc.com>, "open list:ARM/QUALCOMM SUPPORT" <linux-arm-msm@vger.kernel.org>, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" <devicetree@vger.kernel.org>, open list <linux-kernel@vger.kernel.org> Subject: [PATCH v6] dt-bindings: soc: qcom,rpmh-rsc: Update to allow for generic nodes Date: Thu, 12 Jan 2023 12:36:53 -0800 Message-ID: <20230112203653.23139-1-quic_molvera@quicinc.com> X-Mailer: git-send-email 2.38.1 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: MKTXfovRWBwXPaLUgOqjiYzCid_qoW6c X-Proofpoint-ORIG-GUID: MKTXfovRWBwXPaLUgOqjiYzCid_qoW6c X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-12_12,2023-01-12_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 adultscore=0 bulkscore=0 suspectscore=0 mlxlogscore=788 spamscore=0 impostorscore=0 mlxscore=0 phishscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301120146 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754851940971050519?= X-GMAIL-MSGID: =?utf-8?q?1754851940971050519?= |
Series |
[v6] dt-bindings: soc: qcom,rpmh-rsc: Update to allow for generic nodes
|
|
Commit Message
Melody Olvera
Jan. 12, 2023, 8:36 p.m. UTC
Update the bindings to allow for generic regulator nodes instead of
device-specific node names.
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
---
Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
base-commit: 0a093b2893c711d82622a9ab27da4f1172821336
Comments
On 1/12/2023 12:36 PM, Melody Olvera wrote: > Update the bindings to allow for generic regulator nodes instead of > device-specific node names. > > Signed-off-by: Melody Olvera <quic_molvera@quicinc.com> Apologies; forgot the change log. Changes from v5: * Fixed buggy regulator pattern to include 0-9 Changes from v4: * updated regulator pattern to accommodate more regulators This patch comes from discussions on [1] and is separated out. It also has updated pattern matching to match the comments left from [1]. [1] https://lore.kernel.org/all/20221026200429.162212-2-quic_molvera@quicinc.com/ > --- > Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml > index b246500d3d5d..a4046ba60846 100644 > --- a/Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml > +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml > @@ -112,8 +112,9 @@ properties: > $ref: /schemas/power/qcom,rpmpd.yaml# > > patternProperties: > - '-regulators$': > + '^regulators(-[0-9])?$': > $ref: /schemas/regulator/qcom,rpmh-regulator.yaml# > + unevaluatedProperties: false > > required: > - compatible > > base-commit: 0a093b2893c711d82622a9ab27da4f1172821336
On Thu, 12 Jan 2023 12:36:53 -0800, Melody Olvera wrote: > Update the bindings to allow for generic regulator nodes instead of > device-specific node names. > > Signed-off-by: Melody Olvera <quic_molvera@quicinc.com> > --- > Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > Reviewed-by: Rob Herring <robh@kernel.org>
On Thu, 12 Jan 2023 12:36:53 -0800, Melody Olvera wrote: > Update the bindings to allow for generic regulator nodes instead of > device-specific node names. > > Applied, thanks! [1/1] dt-bindings: soc: qcom,rpmh-rsc: Update to allow for generic nodes commit: 22b0e764c1b41ee75d7ee76287746a65727aa78a Best regards,
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml index b246500d3d5d..a4046ba60846 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml @@ -112,8 +112,9 @@ properties: $ref: /schemas/power/qcom,rpmpd.yaml# patternProperties: - '-regulators$': + '^regulators(-[0-9])?$': $ref: /schemas/regulator/qcom,rpmh-regulator.yaml# + unevaluatedProperties: false required: - compatible