Message ID | 20230725164047.368892-1-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp2610609vqg; Tue, 25 Jul 2023 10:07:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlG8guu42Kt98KK2o3vZD3v+we+5SjSM+flfNlozRJN0zfYPt5QtQxFj5gum1mhgeLOmpMil X-Received: by 2002:aa7:c714:0:b0:522:586b:7db6 with SMTP id i20-20020aa7c714000000b00522586b7db6mr424989edq.34.1690304827425; Tue, 25 Jul 2023 10:07:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690304827; cv=none; d=google.com; s=arc-20160816; b=ECIja94iS2Tww9yBsQ9G96LtZ8rQB6rB1Yn2V7UyAJrXR+1hnrGtpejQmBWpMi+P2Z e9zzDwYRlqccQHat9ygWoBx0TyX8joK0XI5NZN6LCuMPtx458fNOx03sr1hQzWiG3OXV 4x76w0t49DlR9gLqfXjjUjU2eLwSjyB783XJzbAJFuk9szOQZkLlzdAfNuXMa4m3dKY9 810vFJmF0H0iT78q+QS6TUdG5Bawq3BM8ikKMpFtue8Zf5xhr9aIu9Me4mT/VEoThkwp kGo0lD0FrsBEFrpPVH8sQyYjcVd+Cwzi6l01vLTEBLVezbC0JXmhutCGZI0WkF7jlUnm sg1g== 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=lZ1gnj/eC9nPxCfASLTwleokcx+2HhZFD7BYZMiPCig=; fh=XJlZERM3wUVmPNXUvNGj/DItbG1OoAv2SKE58ySKjaQ=; b=iuP+2S042ZC3QX9UPTPcRx6l84Gx0YIAkZwHjJdbLDD5Wo3AICCyKi7f04WCgGrP8D B6Hx2fFkHFQmn/7/2HJzBbwMVEbe1IBD81xViytIjhnhn7d/ZaBCkxAkgJMUQ09EuT59 TzAgNzA9dVxCFMmS0MPZGzCD8X6gT/ws01yA4rqRvIUSzAzQvFhI3IdngjCotLjp9lz1 qSzxLpHp46saa0BZQQyQHu5ZQjADEXQftGs2O/KT34tF0rAZlek0p19t+jGI2KDmu1+Q sfTImxeeqm6nnZ8UdedhMt+Gzm5gLNuTqnyRmQaep7K/epnm7iWjNJWlsAQiKVq5GEXF 0NyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yshi3Yy2; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n4-20020aa7c444000000b0051e16629455si8329498edr.42.2023.07.25.10.06.43; Tue, 25 Jul 2023 10:07:07 -0700 (PDT) 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=yshi3Yy2; 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 S229874AbjGYQk5 (ORCPT <rfc822;kautuk.consul.80@gmail.com> + 99 others); Tue, 25 Jul 2023 12:40:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229830AbjGYQkz (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 25 Jul 2023 12:40:55 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67A221BE2 for <linux-kernel@vger.kernel.org>; Tue, 25 Jul 2023 09:40:53 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-52222562f1eso4588407a12.3 for <linux-kernel@vger.kernel.org>; Tue, 25 Jul 2023 09:40:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690303252; x=1690908052; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lZ1gnj/eC9nPxCfASLTwleokcx+2HhZFD7BYZMiPCig=; b=yshi3Yy26azevSvOfouSdf9Wu4rv7nf7RJxkOLZE9hEzz8eGGgT2wjQ0tab+JthoyV aX5ZX6m2opqmjqwp8Yh+QqDyz3TNiF7t6Ax5rmOPmOKNs8TEarkcEACu07DY6P0HiLhz XxBFEh2CB17X/WhdlPZGUfks0TLdQcr2V/S31bdb2A/HBrmO+KfAfEet+pYPbQXZbIea Sr3A/EPLN5R0HtqJEMv4mVQbBBay9VJncju5kpfBYeUDFEq/CZ7fxoFvvIlPb/C4gZKi NhqhhnGNlX6WUSUvf6V14vvEv/SCcow6UqYakh1AUt8kjX/uKs+7QcaBQ1Z76f7djd0U QZbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690303252; x=1690908052; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lZ1gnj/eC9nPxCfASLTwleokcx+2HhZFD7BYZMiPCig=; b=QNd/N3SXCpwvXW1dFJ+2g/Hg5208q1sf/mk0L+XljHRHT2Z4zIT5tEYuBL2MwtVmAG SfMIcK57AFSDOqiby0AeuQ8V+GeFlLuswK9SqIo4dDLwE4oUdyhoPqZadJ8qfgDlJwY4 jYI4NZV5L3sSAGZwyJout+BsW0X+bYImuUiJNoMdiM9HSTsgUZ+fCYd4r2ANKV8UZ7JL Os4kjlmDFfdu0PWV6AjfnPReldcCLslAgP2VQYitb1RCVJ8qrR5mJwvPfhVBmhKY9PGb PtpvE2rAKxRcCZXE4EVYbTraEEVrSbU7mqhMDKAB7K5sujiUEcwUZ1Tj8pprTIMLkaG9 Qn0w== X-Gm-Message-State: ABy/qLa2exW0vOfbSyqb1t8iY1S1hAYiqMJdTpQHTO+7wvNHTCvh/oAi WIVo6XacPG96Q8/k6158AW8wfw== X-Received: by 2002:a17:906:649a:b0:993:d616:7ca9 with SMTP id e26-20020a170906649a00b00993d6167ca9mr13955552ejm.23.1690303251816; Tue, 25 Jul 2023 09:40:51 -0700 (PDT) Received: from krzk-bin.. ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id s8-20020a170906960800b0099316c56db9sm8331201ejx.127.2023.07.25.09.40.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jul 2023 09:40:51 -0700 (PDT) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Neil Armstrong <neil.armstrong@linaro.org>, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, stable@vger.kernel.org Subject: [PATCH] regulator: dt-bindings: qcom,rpm: fix pattern for children Date: Tue, 25 Jul 2023 18:40:47 +0200 Message-Id: <20230725164047.368892-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772413074905672259 X-GMAIL-MSGID: 1772413074905672259 |
Series |
regulator: dt-bindings: qcom,rpm: fix pattern for children
|
|
Commit Message
Krzysztof Kozlowski
July 25, 2023, 4:40 p.m. UTC
The "or" (|) in regular expression must be within parentheses,
otherwise it is not really an "or" and it matches supplies:
qcom-apq8060-dragonboard.dtb: regulators-1: vdd_ncp-supply: [[34]] is not of type 'object'
Fixes: fde0e25b71a9 ("dt-bindings: regulators: convert non-smd RPM Regulators bindings to dt-schema")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/regulator/qcom,rpm-regulator.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Tue, Jul 25, 2023 at 06:40:47PM +0200, Krzysztof Kozlowski wrote: > The "or" (|) in regular expression must be within parentheses, > otherwise it is not really an "or" and it matches supplies: > > qcom-apq8060-dragonboard.dtb: regulators-1: vdd_ncp-supply: [[34]] is not of type 'object' > > Fixes: fde0e25b71a9 ("dt-bindings: regulators: convert non-smd RPM Regulators bindings to dt-schema") > Cc: <stable@vger.kernel.org> > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Thanks, Conor. > --- > .../devicetree/bindings/regulator/qcom,rpm-regulator.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpm-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,rpm-regulator.yaml > index 8a08698e3484..b4eb4001eb3d 100644 > --- a/Documentation/devicetree/bindings/regulator/qcom,rpm-regulator.yaml > +++ b/Documentation/devicetree/bindings/regulator/qcom,rpm-regulator.yaml > @@ -49,7 +49,7 @@ patternProperties: > ".*-supply$": > description: Input supply phandle(s) for this node > > - "^((s|l|lvs)[0-9]*)|(s[1-2][a-b])|(ncp)|(mvs)|(usb-switch)|(hdmi-switch)$": > + "^((s|l|lvs)[0-9]*|s[1-2][a-b]|ncp|mvs|usb-switch|hdmi-switch)$": > description: List of regulators and its properties > $ref: regulator.yaml# > unevaluatedProperties: false > -- > 2.34.1 >
On Tue, 25 Jul 2023 18:40:47 +0200, Krzysztof Kozlowski wrote: > The "or" (|) in regular expression must be within parentheses, > otherwise it is not really an "or" and it matches supplies: > > qcom-apq8060-dragonboard.dtb: regulators-1: vdd_ncp-supply: [[34]] is not of type 'object' > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/1] regulator: dt-bindings: qcom,rpm: fix pattern for children commit: 75d9bf03e2fa38242b35e941ce7c7cdabe479961 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpm-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,rpm-regulator.yaml index 8a08698e3484..b4eb4001eb3d 100644 --- a/Documentation/devicetree/bindings/regulator/qcom,rpm-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/qcom,rpm-regulator.yaml @@ -49,7 +49,7 @@ patternProperties: ".*-supply$": description: Input supply phandle(s) for this node - "^((s|l|lvs)[0-9]*)|(s[1-2][a-b])|(ncp)|(mvs)|(usb-switch)|(hdmi-switch)$": + "^((s|l|lvs)[0-9]*|s[1-2][a-b]|ncp|mvs|usb-switch|hdmi-switch)$": description: List of regulators and its properties $ref: regulator.yaml# unevaluatedProperties: false