Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp983803rwb; Fri, 18 Nov 2022 10:54:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf5pGCX6qobhwnjBIu8onN0VxkRYUAH/E9pObMHML2aY9FZ1IL7Lyo75rRuGvE5xQjOC4LAQ X-Received: by 2002:a17:906:dfc1:b0:78d:894d:e123 with SMTP id jt1-20020a170906dfc100b0078d894de123mr7041647ejc.112.1668797648174; Fri, 18 Nov 2022 10:54:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668797648; cv=none; d=google.com; s=arc-20160816; b=Bf8+kHxQYSDNP7OtloR1alyZyfsUP+9tfByJ0mMxMSHTlGdwkcN0ma1pAH2/Ki2OyE 0MWBqQtUgFZQwBDQidet6A/3YZAekBzjgD4lsNYTLgn4vaB5Leb/N5p6g2VOnbWLB0Ig /vtKm8Yyj8mnEcedQ5FkLHSJJmUcyHp0UWtUMjNyGlOTcI3esmhLTKipVlISRo/REDzo V3xgM4wNDcAm+6XZ40OpC1umPsjt77WNP7oERBTrV+Yv1IBreaNuAA2WVBy8RmynWO9n J86LqLU8TV/w2QKmTBMCb9YJkqWn0A15jqhUjZ6rRCATipBkmk5iLQg62CKuZiXQVf9D cMHQ== 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 Return-Path: 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.53.43; Fri, 18 Nov 2022 10:54:08 -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 + 90 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 ); 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 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] 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: 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 --- 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..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 base-commit: 147307c69ba4441ee90c1f8ce8edf5df4ea60f67 -- 2.38.1