Message ID | 20221118182535.11156-1-quic_molvera@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp355629wrr; Fri, 18 Nov 2022 10:52:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ilBBJUKVQioJxhxh+S8sroMwqq5s4p54HBAaRwXAqfV3XbM0/lVirgSgkal0yrDYssuuE X-Received: by 2002:a17:906:d155:b0:7af:bc8:da37 with SMTP id br21-20020a170906d15500b007af0bc8da37mr7387276ejb.18.1668797570222; Fri, 18 Nov 2022 10:52:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668797570; cv=none; d=google.com; s=arc-20160816; b=y7cEvx3l+oK9z5laSiqH0u6y/aAqSpgY3bPiOuF+CwN1cO25OFJfcbivzVW4d8oRZq bu2CzSd2h5YKd3zsd5YwtVfGDAl/U63Yp5Xrcq9R4h0OSvtMsCwBCMUo6v7YEYuQuH4b 3gNTMXaq5zLi/nF+10d6w76d0cat4WlIdHnt7+0MYbi/Nf05gAQ4GY35V2sCL6CTIoOy WFr2orKivTZiOX0Iv0xAdhWKZXBUfS0SA2Y1Aq6WjOMjvVRXUjX/7QZf1Ydij/eGbY99 Y1c/t/9xTuGAfUTRikWjPnHI67Oy0wi/544v4R6DRzsNsUj0nRho0X+F7XbwGETTo1Nw hrcw== 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=VoloUQHFpIDgXbdSckF/7L+8aKaiIEA5BM7tFpX5oYA=; b=TjsOVD3s3mu6oqmdOBR0QnFq0So5Ws8fGZX6D927pw1D5lpgHJQRW2aEUyNQ3fAmV8 njnbvScP3htTjMvyfvogMEuN4JwHg3KZ8ks9vuKKzFQz9pONp1ygMw6psLEAaUROMo2g 3RCcWYsZSypBJP3bqS0sN+Jd4xfjqSsxrPRvqdQ9Kzb7wD5pvSxT20BAHRAzm7chR9k3 Hf9EJx0HU4GE1XPFEmP4sdhK8wQ6tjqF4yL/h23qHlsZgwY2z49HmGUCQToX/AX5Gcwr 1vgBcBEwbvd/ZT+hm4R/N0ugiP09H3Vv5yv3pH3gMzHUjgOoupqlgTK2jNCBJKh9D8jo hbhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=fTFNG9dA; 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 10-20020a170906308a00b007ad902cd1b2si2913153ejv.921.2022.11.18.10.52.25; Fri, 18 Nov 2022 10:52:50 -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=qcdkim header.b=fTFNG9dA; 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 S242654AbiKRS1U (ORCPT <rfc822;kkmonlee@gmail.com> + 99 others); Fri, 18 Nov 2022 13:27:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242726AbiKRS0q (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 18 Nov 2022 13:26:46 -0500 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B668C72125; Fri, 18 Nov 2022 10:25:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1668795947; x=1700331947; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=VoloUQHFpIDgXbdSckF/7L+8aKaiIEA5BM7tFpX5oYA=; b=fTFNG9dAoidXleDS1Llv5FwwObBbQ9yIKLsGJMhB5vrFD36z4+7gwByU lbKsrJwGYIVORyxDsZNS+pGw4+Fe8d3ZWlX2tk4RPryY5uczqc7+SJoPS V+IHbNiDJgaMXrOk3fszScM7BS+kQ1AnoAoEXGe9iqufy+46V8/hotVlB k=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-02.qualcomm.com with ESMTP; 18 Nov 2022 10:25:47 -0800 X-QCInternal: smtphost Received: from nasanex01b.na.qualcomm.com ([10.46.141.250]) by ironmsg-SD-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Nov 2022 10:25:47 -0800 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; Fri, 18 Nov 2022 10:25:46 -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] dt-bindings: soc: qcom,rpmh-rsc: Update to allow for generic nodes Date: Fri, 18 Nov 2022 10:25:35 -0800 Message-ID: <20221118182535.11156-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: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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?1749861081263758999?= X-GMAIL-MSGID: =?utf-8?q?1749861081263758999?= |
Series |
dt-bindings: soc: qcom,rpmh-rsc: Update to allow for generic nodes
|
|
Commit Message
Melody Olvera
Nov. 18, 2022, 6:25 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>
---
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(-)
base-commit: 147307c69ba4441ee90c1f8ce8edf5df4ea60f67
Comments
On 18/11/2022 19:25, 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> > --- Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On 21/11/2022 11:27, Krzysztof Kozlowski wrote: > On 18/11/2022 19:25, 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> >> --- > > > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Unreviewed, because this should include also SM8550, otherwise a new patch will follow it immediately, which is not necessary. On SM8550 the apps_rsc node has up to 6 PMICs, so it should be instead: '^regulators(-[0-9])?$': Best regards, Krzysztof
On 11/22/2022 5:41 AM, Krzysztof Kozlowski wrote: > On 21/11/2022 11:27, Krzysztof Kozlowski wrote: >> On 18/11/2022 19:25, 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> >>> --- >> >> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Unreviewed, because this should include also SM8550, otherwise a new > patch will follow it immediately, which is not necessary. > > On SM8550 the apps_rsc node has up to 6 PMICs, so it should be instead: > '^regulators(-[0-9])?$': Sure thing. Thanks, Melody > Best regards, > Krzysztof >
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml index b246500d3d5d..23ee56bfa636 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(-[01])?$': $ref: /schemas/regulator/qcom,rpmh-regulator.yaml# + unevaluatedProperties: false required: - compatible