Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp205810rwj; Sat, 17 Dec 2022 06:36:52 -0800 (PST) X-Google-Smtp-Source: AA0mqf6wtKxKU0+8oLQl8K3LiQp1xE6vk+X2TtCC6AEo4MnCLLKalNYh33/GGy9P4O1CgiSKQg3M X-Received: by 2002:a17:907:7894:b0:7c1:6f0a:a2cf with SMTP id ku20-20020a170907789400b007c16f0aa2cfmr22238606ejc.32.1671287812077; Sat, 17 Dec 2022 06:36:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671287812; cv=none; d=google.com; s=arc-20160816; b=QjLh+iETUtT0j15J45pKPUAn2hpZz91W1/Ex52CeIU7yCg0a8x9ek2uiR+W5Pcg/M4 +qVz5M1de7IboIXk37Q52JfxEqCnobgvOMAyqtFI6Loiz0A3jDdgtWV6Adp0hdaAzk1w +zYBX9iQcRbCN0MNNHCxRrBl5effY0mAuIyznvgF+uYdXB9+HtlPkG2iybjyFAR+9bID eZNv4+Lkq6KpEeWNiuUgm74GDgb+OVtd0Azny/5vDGS+Q/mhtyX3eXnOUZOgyXir7sUn HQhvQxxx2mQ3IZx/qlCGx3kbT19FrIXZE2XJV0CDpWvuREiBgutumvVe3I+AgNOV4TSV H9gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=yKzaM/h7vl6R759siCibHu6TxUrRFv6DmVbOkDTjDuw=; b=IWCtaTAMoZxeA60aEmhjgOtmoNwjLGLgZYS4w9avbOPtkVHgnMTdZSzgxwFHz/xA2d D787cR+xU/BEc8NcWDrh3WnYo4HMF1HnSuUtyZl0pnayfa0BCOtGpUpMOiQlZAvP6DGG P+BOzmYduKPenaLCrHFPsQfd7v5pcwNJLJoT57MzmUtYkmaEViTHVFVSM/+r/GiheoFb SJ+ERVyFHnHs2bt2JNtpnL705B/OUrGuVKlDJICYlv6IM0m/rPQE9QhgvAS6El2OyeEf gnA/ywUGLOwcXdnUNhB5/6lXrAAhwWhmbO1oaXPzHBRv4yeENbJqF7Pe0Uljn4MvzZcT TcvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YOPHMkPb; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb33-20020a170907962100b007c0e3900f27si6066161ejc.43.2022.12.17.06.36.35; Sat, 17 Dec 2022 06:36:52 -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=@linaro.org header.s=google header.b=YOPHMkPb; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229798AbiLQOaG (ORCPT + 69 others); Sat, 17 Dec 2022 09:30:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229904AbiLQO36 (ORCPT ); Sat, 17 Dec 2022 09:29:58 -0500 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1E9F15A19 for ; Sat, 17 Dec 2022 06:29:52 -0800 (PST) Received: by mail-lf1-x135.google.com with SMTP id bf43so7643716lfb.6 for ; Sat, 17 Dec 2022 06:29:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=yKzaM/h7vl6R759siCibHu6TxUrRFv6DmVbOkDTjDuw=; b=YOPHMkPb/czTunzVGkCZOOu5lXuUDZNpdEpBOqW3bpkFbDPY4U3zCxIxnwHFZ6/8RQ Iq4g8Qq8v8nkOUCZF+PaBw6KYVA/yX43eB4VoTz+pOADfRLEfh6e2S/vF0M9kTv4dqdX q1vqd3E6vmasvjCE0RIJYwpOCPVdeSbakxvJLaAt0fThvMkWLl9u2gYAfXYHU/k1kxqF iHXso5pcgd5e79OeGS5wxIDpWyxlTTaYHzqDsc23nXgAZmh//8NoBgWkDvaYo63GFdBo 1gR7SPnZ/9YlwBv7kVdLj1CC7Vu9xhCLMQ+HAf3fOzNw4FNx9Az/NgeFPqGi/DzAMiFG 6TAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yKzaM/h7vl6R759siCibHu6TxUrRFv6DmVbOkDTjDuw=; b=4MCvtWcVFIYylk8R0YRZPkf58Acb46JNLgL2o/3Tn5vcezM/YFyfA7aKXcSCbufcXN GmpN2mi2phmixHW+kkGnFS/VOfYN6Wbtez7/0PMl0h+Bq0kslTPXj9JDAn42aXAc8Hog GhsCaysSg/VSSHc8ADNmqOZQADuOHUcFlJjy+9KfJU1T9xmzcJp5NyvbJdAwbQyaCZPN dlzJC7Fyo7VMQSiFi5omLVclfeVW2yLjMsbAd0espqibiqz1yQM+W/HCJK+vqrua7twf ibV2sfOcrLFUM3QX3Lr48/d6bPYYMzTOMHaKZWNyp5StltMTnsY8bKFfzrqLalsH0jtg DYQA== X-Gm-Message-State: ANoB5pne/CIJrCeBLhSgv/ZDJKLQHYF2W20JOucb1vpq9QD5sQpKV+lj 5fSszShn8X6HypulnafvZ+PDUA== X-Received: by 2002:a19:ca58:0:b0:4b5:8579:545d with SMTP id h24-20020a19ca58000000b004b58579545dmr9465392lfj.5.1671287391293; Sat, 17 Dec 2022 06:29:51 -0800 (PST) Received: from [192.168.1.101] (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id c19-20020a056512325300b004b577877286sm527095lfr.50.2022.12.17.06.29.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 17 Dec 2022 06:29:50 -0800 (PST) Message-ID: <3ca81685-fb8f-fa31-3ae8-ef72f3aca7f2@linaro.org> Date: Sat, 17 Dec 2022 15:29:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v5] dt-bindings: soc: qcom,rpmh-rsc: Update to allow for generic nodes Content-Language: en-US To: Melody Olvera , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: "open list:ARM/QUALCOMM SUPPORT" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list References: <20221216231349.22835-1-quic_molvera@quicinc.com> From: Konrad Dybcio In-Reply-To: <20221216231349.22835-1-quic_molvera@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 17.12.2022 00:13, Melody Olvera wrote: > Update the bindings to allow for generic regulator nodes instead of > device-specific node names. > > Signed-off-by: Melody Olvera > --- > > 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..5bb624f62edc 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(-[09])?$': Wouldn't this only allow regulators-0 and regulators-9? Konrad > $ref: /schemas/regulator/qcom,rpmh-regulator.yaml# > + unevaluatedProperties: false > > required: > - compatible > > base-commit: ca39c4daa6f7f770b1329ffb46f1e4a6bcc3f291