Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3458866rwb; Fri, 16 Dec 2022 15:32:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf4+zBWeWd2eOvF2iKlNmHtAB5OXDdaHMhbuyZ6zmH7WXnoiFkbucUuuK8e03rD0Q9lFxGbh X-Received: by 2002:a17:906:2288:b0:7c1:1001:600a with SMTP id p8-20020a170906228800b007c11001600amr40926606eja.77.1671233534217; Fri, 16 Dec 2022 15:32:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671233534; cv=none; d=google.com; s=arc-20160816; b=el/6fAPf8X66Qg2ENMsyRlsU8dMUb4Mwc5EJxRTcc5HA4vshIlJfvokAKQhlG/jDXt 0V/qn4akUD4RvSY6n8XZszr8j+VAxhU8oZkyGNgIXXds0Qq7vmi4MCXqs2lriOezqiyv +L/NLa5f42Q31JRlbdmnZZnKpKR/h95SYt70F64Bx321YV+bDh7E7Q5vPFNl8MtQcU2V HvOnTGIITi8RwEOppDySbSWqG2FDbmzo5afFvk7Eb/ItVHRtOchOJkZfsaW63+QgEI2h of2LMXiXBhYQ9BHo2W/FSA7ueR/SANIMQriunAFyAHwHrFS1TWDRwi804COzOdVyv51n QX0w== 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=GG3y9hqpWkjOzOhPgzeUiZRZR0VGzftL8K9tkA1WxWU=; b=sWnzDRHp1gEdFQGhBnrnXt12NbwVtdASOSJvlzZt0pUyT1cx5V1SMxL24X/4psYC57 kuGjVOnh8Ubb+lpJ3Ak0AZ0XT/BobLyXqs7plAdDee2RPWZqyO1VCML/auAequjnFuRC m9eF4/9rgeA2lFzZmqQiLkijXSWccIXsV0VETN31WguHWiKhbrA6gNVtpPxzw5UBU04P x7c8kHtZNKGhP+ABOXdMK73uy37clDcnKCIjuY6y5g0RwW6Tli8t6kmy/krdWsenJ+n9 UYP1f55Xtkn3ijUGieJpRmirzIWioMNBBas7hGaoctFAdl5fuvLNg0/9f2fUmJvuHds6 eKLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=thKmNv2u; 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 qk7-20020a1709077f8700b007c10f6a46c5si4725353ejc.219.2022.12.16.15.31.57; Fri, 16 Dec 2022 15:32:14 -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=thKmNv2u; 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 S230084AbiLPXPH (ORCPT + 68 others); Fri, 16 Dec 2022 18:15:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230218AbiLPXOi (ORCPT ); Fri, 16 Dec 2022 18:14:38 -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 1ADCE248CC; Fri, 16 Dec 2022 15:14:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1671232440; x=1702768440; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=GG3y9hqpWkjOzOhPgzeUiZRZR0VGzftL8K9tkA1WxWU=; b=thKmNv2u/uSSfjhSE3++oDjBK4qT7ChUO5NjrQLmj2JRlMJUOUgl4INv iU46T+wlLsddiou7AAh6K2cDYhKzyM9RMV5YwOOQREwNCJ76cPYxz1QQU 8X11bg/f0H8EHBmxqoFScT/TlrGIKydy9xtc1XlKQssN/BwGVwps5ihvC 8=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-02.qualcomm.com with ESMTP; 16 Dec 2022 15:13:59 -0800 X-QCInternal: smtphost Received: from nasanex01b.na.qualcomm.com ([10.46.141.250]) by ironmsg04-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Dec 2022 15:13:59 -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, 16 Dec 2022 15:13:59 -0800 From: Melody Olvera To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski CC: Melody Olvera , "open list:ARM/QUALCOMM SUPPORT" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: [PATCH v5] dt-bindings: soc: qcom,rpmh-rsc: Update to allow for generic nodes Date: Fri, 16 Dec 2022 15:13:49 -0800 Message-ID: <20221216231349.22835-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-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: X-Mailing-List: linux-kernel@vger.kernel.org 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])?$': $ref: /schemas/regulator/qcom,rpmh-regulator.yaml# + unevaluatedProperties: false required: - compatible base-commit: ca39c4daa6f7f770b1329ffb46f1e4a6bcc3f291 -- 2.38.1