Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp3263714rwj; Mon, 19 Dec 2022 15:45:43 -0800 (PST) X-Google-Smtp-Source: AMrXdXvXQjFyNLEH1qXePZFcN2ea9VcbwViZPkcyoEM/p/a01fek1jPs5fEbkGq6ix4C/MPUGtor X-Received: by 2002:a05:6402:1c93:b0:470:306a:5c27 with SMTP id cy19-20020a0564021c9300b00470306a5c27mr94599edb.13.1671493543137; Mon, 19 Dec 2022 15:45:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671493543; cv=none; d=google.com; s=arc-20160816; b=vA7nJvirIS7wOHNIL0l67PLBar92bgQpx34ixv3sWY+0ytmsGqUJqoel6LX0ZMjpJf hvidVxeucmfSXuUatA25BWI3vzlBm5ZggTE966fk/3yPkDkRtVy/R9CJXKiNw4Sy152Y X2g4+RbfJkMA44Ms4CXD1o7/P1oyJ5QFvm1taxhIs+SEHP318bWb2J5qqhvvuWsTWI4a pmg77q1Vq9/0ATD/Th/mrfMfOgW7KUP975JTJr+fTiGSiJaI0oR/Qk0Ind+INQ27loXb gX02nDqCOa8LnLMnDwjii817IzHcGWI6HnYl1yaqxOXgl0UuQ5O1KKOJ8YdVHrc2YeNK PM2g== 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=CC15qpHIZONMZVHnmpQsB1kPNrbndvlbtCIm8JdO5n4=; b=E5/li8n+ndzzEvG5EossD/kmSsujII0EK66mtlaBDhUJxSRfJ+sBNSB1rFWdMaGlNq O5Vk6/OlLozy6bHW9F6+vx/abgfv5DHXlRGJ/qPTG9wlnc7PkQ4L895e2XaGEO1CyfSr kBKCSuoyMivz9osBGbb+fC23e3TcPDjdABUqCN2D+DoeQb83P1avBMWvIi+yAuO4YlE6 5u+cy3bcLieDSJszq04JvFysXJh1RmylWHuuIdUQyzG+Xzlxc54+ijxZEuJAnLRI6Zie lmogbwz9Iglwed8HD0GEz7Fl6LuTo0WfRc+HNNdMn1NxBunVsEzNnbcaqcUt4QaSeS61 YFhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=Wwmb2XXm; 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 ty16-20020a170907c71000b007c0a96378easi9041685ejc.704.2022.12.19.15.45.26; Mon, 19 Dec 2022 15:45:43 -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=Wwmb2XXm; 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 S232621AbiLSWYs (ORCPT + 70 others); Mon, 19 Dec 2022 17:24:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232607AbiLSWYo (ORCPT ); Mon, 19 Dec 2022 17:24:44 -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 0239FB1D2; Mon, 19 Dec 2022 14:24:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1671488684; x=1703024684; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=CC15qpHIZONMZVHnmpQsB1kPNrbndvlbtCIm8JdO5n4=; b=Wwmb2XXmOMQ5RdrUlAUWjARRewI6LG/i0f439ifoZdIvsOOrYK/WC9XT kKrFf69/4uJSyUHNJ9Zwe7rZlLnUCVucBRTwnV4EAiKGplVS/ZrIAH7AR FgogvQaiTed/lKKBs5f6FchLLUvXyupYSKpjXXpPmYEPR0F73ayspDLLS c=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-02.qualcomm.com with ESMTP; 19 Dec 2022 14:24:43 -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; 19 Dec 2022 14:24:43 -0800 Received: from [10.110.23.17] (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; Mon, 19 Dec 2022 14:24:42 -0800 Message-ID: <383225a2-0430-03d7-4e6b-e2bfb2d76fe5@quicinc.com> Date: Mon, 19 Dec 2022 16:24:41 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v5] dt-bindings: soc: qcom,rpmh-rsc: Update to allow for generic nodes Content-Language: en-US To: Konrad Dybcio , 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> <3ca81685-fb8f-fa31-3ae8-ef72f3aca7f2@linaro.org> From: Melody Olvera In-Reply-To: <3ca81685-fb8f-fa31-3ae8-ef72f3aca7f2@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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: X-Mailing-List: linux-kernel@vger.kernel.org On 12/17/2022 8:29 AM, Konrad Dybcio wrote: > > 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? Yup; my bad. Will update regex here. Thanks, Melody > > Konrad >> $ref: /schemas/regulator/qcom,rpmh-regulator.yaml# >> + unevaluatedProperties: false >> >> required: >> - compatible >> >> base-commit: ca39c4daa6f7f770b1329ffb46f1e4a6bcc3f291