[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cdb3404c-85f4-13b0-901b-7db55f6242af@quicinc.com>
Date: Thu, 12 Jan 2023 12:41:11 -0800
From: Melody Olvera <quic_molvera@...cinc.com>
To: Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
CC: "open list:ARM/QUALCOMM SUPPORT" <linux-arm-msm@...r.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v6] dt-bindings: soc: qcom,rpmh-rsc: Update to allow for
generic nodes
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@...cinc.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
Powered by blists - more mailing lists