Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2023522rwb; Sat, 24 Sep 2022 01:18:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6WpO3LOJzHISUvoat6UpioE5D8cwg7gugvr7mmbbY0fMOnRNeAtvYjssm3tnDIwphuZTjo X-Received: by 2002:a17:902:e5cb:b0:178:192d:1fed with SMTP id u11-20020a170902e5cb00b00178192d1fedmr11985284plf.30.1664007511872; Sat, 24 Sep 2022 01:18:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664007511; cv=none; d=google.com; s=arc-20160816; b=IBHtIEP/b6c0NuXHev37QumwTH5NzoTQmcHEHoUMZKm6JIzUMRqHirGhjt5oLjZYDb jNzte8ji2YJdqG9A71a4ch7lQsd54E7rSV1QlBIssJYhYxWzaH1XUqshAxyusMfCce4X 4b57G9k7weBgGEHiA8CYKdLpY3fA5qtf3a1966X1eiUm0s47LtEL92NYgWQGeEXs8WBp vB6AOi8TwHtJYixDwFZ7/dE0oFiE1jo+kK3eJiIPijl0PsGFJ6P9cbIVXbgrss3TYwme 1yhnOyC7T8Os9fCipeSWYBtcnXxFV7Xci2/T4hGV138lK+HSZPDAkKL1A++S0+SkaaQE gkkQ== 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=8nwp/MQe8qtj/E8pIN4GqMEGKKKg4JslS5CxcegQMDk=; b=G4mMPm1dz2QNtdsEDaxm7dLiEc32ssTflsnvc8So1qShDsT7k7jDSdmDy9qBx7JODH ouoj+oa9vyh8xKUVc4+kaWTZns4xzYmg9CLjC9PnBT7GZ5Cf/QptHCr2NP6f3kWYRKcx 6Uasc6m6OfU0RoeA1xMogajj8aOpqnRNGgIg1MT/tWwhjMK8kfAFH6RYzeMfc+ltXqSr w1xKnfcRUgDaiQjdQe7rvQTNyDHmOuQoytnzxtF2SkE+vNm9kS4FrdLzYYFlySr1+JBs VyQnYaLR4tcCiAbN+UzVnPHy+Ls5W/Cbh1BAfkZlaDXvl73koqB2r4iGesiFe099thfD Wx0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IHq5m2G1; 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 n7-20020a170902d2c700b0017555e9de54si5319310plc.427.2022.09.24.01.18.19; Sat, 24 Sep 2022 01:18:31 -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=IHq5m2G1; 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 S233875AbiIXIIB (ORCPT + 99 others); Sat, 24 Sep 2022 04:08:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233799AbiIXIGs (ORCPT ); Sat, 24 Sep 2022 04:06:48 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F0CB130BE5 for ; Sat, 24 Sep 2022 01:05:42 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id a14so2300459ljj.8 for ; Sat, 24 Sep 2022 01:05:41 -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=8nwp/MQe8qtj/E8pIN4GqMEGKKKg4JslS5CxcegQMDk=; b=IHq5m2G1mEGHNQi9oW5df5bFeje0cLCRYx+363ZOhCWSr9Q0eu16Khx72mjZTzW2dL x6jI2lTJpDicPfpc7Md5EhYgLgvSplJZdqoB9XuXuhrMQ0j0fNJHcXIc+tieh4tAS14g mvR/BB7UJiCTPPiA7KzCb8fCALmpXWLc5EuuAEy7x2mAzGqVTBwUGDTA+aED2Wj1bgGo GjYI9A+l5Wq3ZvtUcxfL9RvwdJzjsXVEQjJqIH+9stdRPQ90TB+LV5jSe8YQ+dTJufNx g/d0BJVMlsJuXN9mQckTFJcP8P33D/LckdW5UnJUyydWZK7bSchDZJY0TqgOzsrEW9Wt Ukvg== 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=8nwp/MQe8qtj/E8pIN4GqMEGKKKg4JslS5CxcegQMDk=; b=A4MO0JZcKhE6ntraUI9ONcEbpLkCkLub55blUuVZzkw1lSSMSAxOVcesu+c2NEUTMX f7VUZx8hvYp0C2YtCG5sawtsGYDSp/+jz5jqG9iTA8AKhP8CYIxCmWVSvmMkSZA9a9Yw 4Gi38mUy8PQ88Vh2xuhJF5FFmibjB/fBYcbRGN3oXINi79tg+3t6pUAnEqeZ7QBfQFta Tn0UeDjDRl4c0C/ceyG7rpocQP3EuJSpRSjp6s0HQ7U+P2LdHEwyt7/Ye5RGVOQejYhI IDCRaQKsmVNCJ07ezyZB3zzRHxFShUb7GtPdJ+lTEIk93fdYgqNcAr1XoxaOFRbFX1xT 776Q== X-Gm-Message-State: ACrzQf2JKyWekaiTmCakkn2qM5ubdWhLpt7euIRdtU4qfRLYQWH0yGah c2BdjJk5xJbL+mrHAv1OH2Oo6Q== X-Received: by 2002:a05:651c:1111:b0:26c:6b0f:472c with SMTP id e17-20020a05651c111100b0026c6b0f472cmr4028189ljo.384.1664006741589; Sat, 24 Sep 2022 01:05:41 -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 y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:41 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , 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 26/32] dt-bindings: pinctrl: qcom,sdx55: fix matching pin config Date: Sat, 24 Sep 2022 10:04:53 +0200 Message-Id: <20220924080459.13084-27-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-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 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 The TLMM pin controller follows generic pin-controller bindings, so should have subnodes with '-state' and '-pins'. Otherwise the subnodes (level one and two) are not properly matched. qcom-sdx55-telit-fn980-tlb.dtb: pinctrl@f100000: 'pcie_ep_clkreq_default', 'pcie_ep_perst_default', 'pcie_ep_wake_default' do not match any of the regexes: '-pins$', 'pinctrl-[0-9]+' This method also unifies the bindings with other Qualcomm TLMM and LPASS pinctrl bindings. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,sdx55-pinctrl.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml index a38090b14aab..fff57abf4fbc 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml @@ -45,9 +45,17 @@ properties: gpio-reserved-ranges: maxItems: 1 -#PIN CONFIGURATION NODES patternProperties: - '-pins$': + "-state$": + oneOf: + - $ref: "#/$defs/qcom-sdx55-tlmm-state" + - patternProperties: + "-pins$": + $ref: "#/$defs/qcom-sdx55-tlmm-state" + additionalProperties: false + +$defs: + qcom-sdx55-tlmm-state: type: object description: Pinctrl node's client devices use subnodes for desired pin configuration. @@ -146,7 +154,7 @@ examples: #interrupt-cells = <2>; interrupts = ; - serial-pins { + serial-state { pins = "gpio8", "gpio9"; function = "blsp_uart3"; drive-strength = <8>; -- 2.34.1