Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp4051088rwn; Sun, 11 Sep 2022 04:14:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR5RYyPYpQUCVMI9uQJbU7d4eRzS5C5fY2niz3o3qP4KU8/ClV4rsIVXYbJv+iZFeu7JgTjQ X-Received: by 2002:a05:6402:2073:b0:44e:3555:5fcd with SMTP id bd19-20020a056402207300b0044e35555fcdmr17915499edb.82.1662894880658; Sun, 11 Sep 2022 04:14:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662894880; cv=none; d=google.com; s=arc-20160816; b=GrK7PIcgCViBeNHBo92/BjP+VslWJyEfVn+KSXT+wUPf0zUO7T8D8NjC+3ls7pgwNm fds/RhveFV9RnYqmRHXXHhzWpXcKv0ID3SAerywYZRSPRCm+JZq23PhwXMIPEJqKB6tP 8NI0ZrNZ45AFaeLr8kKtdgBJumqg6ceS8LfEIxorS1gi9qzPCdVbvJ93U8cL2BCoJ6Ge +0fsR6/vlZrvANkxXnKAtLJjkGWdgSbjE0BUOKaB/nPrAZMTTG1ntV1C8vaEQinxGomH shLgiiaxXnNTCnoHCCNtmkH+nv1RBg5FlHyxr/5Qsgjaoy0h5XMvZcUY7zP0h2U4PMgG 54CA== 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=7BAXPGxWo40q91XDsq23ZI9ewONcXW0hOeLyfkEAbn4=; b=o/v5+608nRXDGanX6g8ureMBrfIIBJQ5AoNfkcjalfjnZeIf0ZAKmeGRvan13Dzqaz K6SHWGMG7MkYWYwOCJLYU+v+XDaLcF7tTnG0Qy+uy9VrqeviZjdEQHrNjU5XslO+iwva T5ReVrN2k7KuMmG4al8zlCUuDjZ2AjRcqXA1k+fNTsSpB1ggC1dW+4eZFiCmPjBHdlZ3 1uMz4jsF5HbTLJPisq9HpDNCLyNBRGhC1nH1LXkls8L4ccETg1KWod1+OQUWx1CPkoOr JeqUO59yuYeA1H4dIb8QcQ05cSdBlJsUoRyFJ6qacnqhS6yGlR1Wdosz7D8gBMld0INk ZbhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DyF+J3Em; 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 ds3-20020a0564021cc300b00451440a2f34si3656044edb.60.2022.09.11.04.14.15; Sun, 11 Sep 2022 04:14:40 -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=DyF+J3Em; 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 S230387AbiIKLMt (ORCPT + 99 others); Sun, 11 Sep 2022 07:12:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230151AbiIKLMQ (ORCPT ); Sun, 11 Sep 2022 07:12:16 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5926832B82 for ; Sun, 11 Sep 2022 04:12:15 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id z25so10391316lfr.2 for ; Sun, 11 Sep 2022 04:12:15 -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=7BAXPGxWo40q91XDsq23ZI9ewONcXW0hOeLyfkEAbn4=; b=DyF+J3EmHQHuNVgK+TPDZe28N7cH8+NQm2tTpC+va/NuZzlLQGg15BlVMUi0wZtlns sM9LOBW7InI69qkSLZCDjyAZOPfUOh25OLoW+JPaNq/6+V2JB0Uez7Ri//WaSshyA5rQ ptmj4QBCWa/ybz4Ewj1uo6JkewNxm5+XgWsCYMtO+tu/691rvhTMHsoqDVfiYKvpzWOa yIOKRiY/RjwWh9+urJNLJGP5D+piWLn54pt3NhdT78Ezfv1aXRND90a9UK6PhtadPadF LmVC4jjgoiiHiVKplM5WacmR8VS6j90Fd9+aKUrOkJ6/D1uzXvItXd+qKpHHWrLjPn9R Wnpg== 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=7BAXPGxWo40q91XDsq23ZI9ewONcXW0hOeLyfkEAbn4=; b=WoU8VNhSjokEzQdIuXb/3G242Lxz+nrAxRB57o3oBZRuCvfN0kH/E+h1yOAidCfW9/ +FXZduvxwREIVNUpJh9fkZrew5iVEI1R1Mw3L6Yd+IsMttoUFN22drTmOXEzxWNA5xoR bk+63z7m8i3AW1KN21f8hy6/BbewZvoCcEIJ4fOc2cahPwfZQE4Z+sJqLz3f0cTqzIP5 vsc8ecRp1RhnwgtXX/m0WSr8tZ3e/JuBGmXGeeZH9o4/Zcq4jVJyd6nPYfZnsbeOWywn u1DvCIoLqV9MwcNHJmJVV/UjvwYJkzBYhDUfPvRLTtUWby1l9Y9OwbmocX26UfvOxrAV R+dA== X-Gm-Message-State: ACgBeo33M4FfF992PVim26gUKwiw6QKoipxMazYJJFVrqqmubqxAVjil rTQFRST9OiQCO4hG9ngdlwcJXQ== X-Received: by 2002:a05:6512:c2a:b0:497:a1ee:7a21 with SMTP id z42-20020a0565120c2a00b00497a1ee7a21mr7230608lfu.221.1662894733296; Sun, 11 Sep 2022 04:12:13 -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.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Sep 2022 04:12:12 -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 07/40] dt-bindings: pinctrl: qcom,sm6350-pinctrl: fix matching pin config Date: Sun, 11 Sep 2022 13:11:27 +0200 Message-Id: <20220911111200.199182-8-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,sm6350-pinctrl.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-pinctrl.yaml index 898608671c4b..85a4ff5a5625 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-pinctrl.yaml @@ -44,8 +44,9 @@ patternProperties: oneOf: - $ref: "#/$defs/qcom-sm6350-tlmm-state" - patternProperties: - ".*": + "-pins$": $ref: "#/$defs/qcom-sm6350-tlmm-state" + additionalProperties: false $defs: qcom-sm6350-tlmm-state: @@ -133,13 +134,13 @@ examples: }; uart-w-subnodes-state { - rx { + rx-pins { pins = "gpio25"; function = "qup13_f2"; bias-disable; }; - tx { + tx-pins { pins = "gpio26"; function = "qup13_f2"; bias-disable; -- 2.34.1