Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2071640rwb; Thu, 19 Jan 2023 20:33:20 -0800 (PST) X-Google-Smtp-Source: AMrXdXu2HVClKlNvxAkqmRjsm1kNZjKGPuzMRiXY9BH+dSjFchmRjsN9caT7A8wrRRG5Jc6yHUgy X-Received: by 2002:a05:6402:b07:b0:49e:9b08:405e with SMTP id bm7-20020a0564020b0700b0049e9b08405emr2672397edb.17.1674189200095; Thu, 19 Jan 2023 20:33:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674189200; cv=none; d=google.com; s=arc-20160816; b=utLbebFCV9jgEJlVyBp2o/NM/BfXxFg4YucHrtMzV7EXOa7xvCm8w59nCIJi48WDe7 7fJ/NJ63M6tuW+E7SGmMOp5lVO5bkPOQXoDILThOoMVz47VTj1HkAmF2zxa5ZCHaxb8q Jvwftc7yY72dHwbq/xw5Cviy17jsPXAS+lOQLfHevkzwMbuHonEXa0UaOJtMmUzV0UJc 7WWDAgoHXqRUyUWj0iz/weWcp6/sKTDuaDxCAbo+hwQOVkigJF+J5zJrpX9Yf2ZmRtx5 WfKL2nfo2L+8BxHHckk+uhnaMHHPwflwBtfNM0DJUDx6/l0Wec0D6OnukoZWGdx6JoT7 Afqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=JULYWvhgxyIIuhSeck5pyLP/DCaUNbjkdZWmqoqDxrI=; b=at6zUZOcdYgwuvNDFQrJCDtHtrycJQIIF0uJYfY/hXiofsnZlAcjJVzZwaJe2N1h2i 5WtLZqSurK1JLkJNgdNtUUTNhuAzGPvvEO6aqasWEa/00it+EhvS54FURSXoTJp7mHxU GTzEncggMCx8i2UkzyfEJRL9BPJH6Dh+7cwDMDScb0ooRe939JSri0BFXsqApRetf/TZ IwY5wh6dIiiIPvS87UaBVOtdDq8mP3bq5eJ4WNq86QTx7uRX5+ZlQBLj+V1rzAUYE0Yh xFk+6m6CjBiTCLSdOVxTsnTiQfKd3ZGgEz/8BJ90e9PNFjs+i8o7ZHSRYPMJObnbJxFn Vqaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h1oD0dWc; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t23-20020a056402241700b004993bc3d7bdsi39898950eda.84.2023.01.19.20.33.08; Thu, 19 Jan 2023 20:33:20 -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=@kernel.org header.s=k20201202 header.b=h1oD0dWc; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229478AbjATEa3 (ORCPT + 47 others); Thu, 19 Jan 2023 23:30:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229972AbjATEaM (ORCPT ); Thu, 19 Jan 2023 23:30:12 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98C4BB2E53; Thu, 19 Jan 2023 20:29:47 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id F1584B8233A; Fri, 20 Jan 2023 04:29:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F15DEC433D2; Fri, 20 Jan 2023 04:29:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674188947; bh=yAmXPbBSRLpimCnR9Yp98v03bNqg5mhYa1PIGrqybE0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=h1oD0dWc221H9Cyh/yAl36/+UwLkYWa3tnWGrZJFYeV5x3tMGa3a4ishT3dAK1Yn8 WIDVlbRvVDqMQtI8TVqackFlQEo+LmvveiMiwU6qDBsNtd3YraLyLz4BhtZsZqdX6T tAp71V5qU9ieW4VXoWff8ul+RCunsSVOQG93eBd8nExyuMQQz2dc9ZYDSZ7iRk5hII XqEYlJCZNzujkgD3nrCesSyJf7raO7ZOpmy+KfpAGQT+r3xiIZwDQcLjsCLthRIxvU p37L5813Qs81P6HUXDy9GUGo1H8jgcnVyopbJQdfqeFymadKRl5R3xTOLQ/YLXGneE WFpOMYJJPhoQA== Date: Thu, 19 Jan 2023 22:29:05 -0600 From: Bjorn Andersson To: Rob Herring Cc: Andy Gross , Konrad Dybcio , Linus Walleij , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: pinctrl: qcom,pmic-mpp: Restrict 'mpp' child node name pattern Message-ID: <20230120042905.d2pdrzyv3e3airdj@builder.lan> References: <20230120020600.3232001-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230120020600.3232001-1-robh@kernel.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Thu, Jan 19, 2023 at 08:06:00PM -0600, Rob Herring wrote: > Just 'mpp' is a bit ambiguous for a pattern. It allows any prefix or > suffix. I couldn't find any actual users, so update the pattern to match > the example. > > Signed-off-by: Rob Herring > --- > Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml > index 72cce38bc1ce..891a7385d7cb 100644 > --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml > @@ -74,7 +74,7 @@ patternProperties: > oneOf: > - $ref: "#/$defs/qcom-pmic-mpp-state" > - patternProperties: > - "mpp": > + "-mpp$": How about aligning it with the other Qualcomm pinctrl bindings and make it "-pins$" instead? If my grep is correct we have one "mpp5" and two "-pins$" currently in the sources, so this should be beneficial as well. Regards, Bjorn > $ref: "#/$defs/qcom-pmic-mpp-state" > additionalProperties: false > > -- > 2.39.0 >