Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp4050623rwn; Sun, 11 Sep 2022 04:14:08 -0700 (PDT) X-Google-Smtp-Source: AA6agR6Q2igH1P6m/K2gSbfQAqinxQCu4Zt4G86migtLDIZT1Cw9umShYZ8wVRddtawu+5UYSWwl X-Received: by 2002:a63:211c:0:b0:431:af8c:77e4 with SMTP id h28-20020a63211c000000b00431af8c77e4mr19640980pgh.614.1662894847879; Sun, 11 Sep 2022 04:14:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662894847; cv=none; d=google.com; s=arc-20160816; b=yVET6THqP9g5LxVLHFZBqeDL0pR2CooXXjVx4kNX/VGKTtZizEvvZ8iNIjKGm7TX4T UKr1eN/Pl0w8DtALneHLZg5GKbdBQJtv61GV/p9SlfBnCKigMneE9Ck8WubYA3MNGbqg AMZOWq0HQ1Sh8zJavtCJHBf1QdOfK6py7oFBPW+2AG0d0GNUmEgIP8c5d9nY8roAC2q/ ruWFenWXMmuknY2LhDsLUsq0I/TSBow/cdH+0OUFALHgTht6DZ6pHIu15T629Byu2l0C 1256EzeVngcYwh5Gp/4m9O3SAtWVjistlPAFeaRON/u2zJGBe5Nuns1nlwvv7Rba/fi0 tfvA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ceh+f8TxlJi2UoKOPdsH4JvikLyBx6shEQIrAtyynsY=; b=zxHmdxD4e0PWn4dz1EipOeqCKKQr0WrHduwuQJdaGtKTjeRlZnkFrrpmx9H1J5VLoS MAe38lNjdw3B8RG+ZiiZobJvSkcz7YluKZReigCjcv6ErMZXPcNaIwFUbdLWuJsSyF7I Qhe4PsA/KS/3OAggsJOxjMccy4PC1izLek0f2DPqSqEGDXtq0xImi5alM/eLGIwIWCN6 eP0rYlLaCNyGFQP3G8XmGNhrsroylsZ+8wpSoPDd8xol2ShpFF7MP1Pe6A3YOjhbWLH8 +GSwq9Q5eqqBcDp6zrvQlyNXoaHfE3cYkVj5IXCYUde0sm2tWpIgv3AXIRX649i67MY4 Lxzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="WfK/Jj6v"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lx13-20020a17090b4b0d00b0020053614bd0si6873815pjb.148.2022.09.11.04.13.56; Sun, 11 Sep 2022 04:14: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="WfK/Jj6v"; 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 S230307AbiIKLM2 (ORCPT + 99 others); Sun, 11 Sep 2022 07:12:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230160AbiIKLMM (ORCPT ); Sun, 11 Sep 2022 07:12:12 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6850032B80 for ; Sun, 11 Sep 2022 04:12:11 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id w8so10343140lft.12 for ; Sun, 11 Sep 2022 04:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=ceh+f8TxlJi2UoKOPdsH4JvikLyBx6shEQIrAtyynsY=; b=WfK/Jj6vCrrI4K9oreM/jR8blTb/kZ9Dw/WbHpBVLrTRS/R8Hdb1MR+waGki2bYiQn DqiUEvzcAH+LQiWqu4OqX9A7LdtqNIRCmlZ6qmRMKgU+ftnuZe+KjKGWGkkhvn/ZoMDO gNx9dMtZSj45os4B4cRyPIuoJ0Pkpy8SOeaIRbfIJ/gzjQjUAd1va30+6IImx7TNQRWK Vf3BRFrlX7rcA0dNI8o6gIKOpDFJJse/3mhhKeHkyxOpX3V0LTCHc4KcimXIwmvL21ob IXlmvoQBnVlUDLnU3EkFa4e4vyr+Yt9A5R/jsvmOWbGPIpnG0bugZiguJqQHYlIqjIIm EbDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=ceh+f8TxlJi2UoKOPdsH4JvikLyBx6shEQIrAtyynsY=; b=hCH9iOlzBy5JATk6DJvSKOI1VnZnW57rPfCcqWWB9MBbCxONrMQdiqIuqoRNoIhHoW N+C3eX1MdyzmobqzxcaO2B9xcwbDY/B0r+lKHudlp0aeh53Eqv65Ugaw5YT7fVaFjLah gV/JVWYE2j1F8kvwWiMzeNHmpM04c0+g7TWgLBDMxzWRAbFvhVrEJbNhrWflruMOdOAa Np03oYSYrk42rcQz0JdI7tpZWR1n2MoIudh/P1d7vyQ+ZW/huOJWLS+fxlRBkzBTP97F JrfhVo+azcIOIGSDhI+rE5X97jeELvJaFxii96Bqwuu9Ln1bLMikrZjyyGvz99L7Z7wi jK/Q== X-Gm-Message-State: ACgBeo0eeepi2Xd/ZXM1UYsZBPV2kANf2kHctSnbWy1KO+awZHydyNzu cBrGL5BGo5KUsqpEsKhege6hMw== X-Received: by 2002:a05:6512:224e:b0:498:f21f:3500 with SMTP id i14-20020a056512224e00b00498f21f3500mr4879493lfu.581.1662894729537; Sun, 11 Sep 2022 04:12:09 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id 11-20020a05651c128b00b0025dfd8c9287sm607365ljc.69.2022.09.11.04.12.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Sep 2022 04:12:09 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Rajendra Nayak , Iskren Chernev , Martin Botka , Vinod Koul , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 04/40] dt-bindings: pinctrl: qcom,sm6125-pinctrl: fix matching pin config Date: Sun, 11 Sep 2022 13:11:24 +0200 Message-Id: <20220911111200.199182-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220911111200.199182-1-krzysztof.kozlowski@linaro.org> References: <20220911111200.199182-1-krzysztof.kozlowski@linaro.org> 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 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: X-Mailing-List: linux-kernel@vger.kernel.org Matching PMIC GPIOs config nodes within a '-state' node by '.*' pattern does not work as expected because of linux,phandle in the DTB: 'pins' is a required property 'function' is a required property 'rx', 'tx' do not match any of the regexes: 'pinctrl-[0-9]+' [[59]] is not of type 'object' Make the schema stricter and expect such nodes to be either named 'pinconfig' or followed with '-pins' prefix. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml index c8eec845ade9..84ed16f9915d 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml @@ -51,8 +51,9 @@ patternProperties: oneOf: - $ref: "#/$defs/qcom-sm6125-tlmm-state" - patternProperties: - ".*": + "-pins$": $ref: "#/$defs/qcom-sm6125-tlmm-state" + additionalProperties: false $defs: qcom-sm6125-tlmm-state: -- 2.34.1