Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp917524rwb; Thu, 6 Oct 2022 06:17:54 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6rO8B9cs1EJ+RJ/LT8URO3ofhLSGn5EiNee7iGBHJaoUZjJyj/NH37rlaGLxxeeKKLI7CV X-Received: by 2002:a17:906:6a08:b0:78d:47f0:b3bc with SMTP id qw8-20020a1709066a0800b0078d47f0b3bcmr1369131ejc.572.1665062274329; Thu, 06 Oct 2022 06:17:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665062274; cv=none; d=google.com; s=arc-20160816; b=Oe31mTzCOqcVE58LmSoFep/bllKWXiSg31DBNQcBBBSCcbOSEVbxgpE2d+MF6s8FqQ iFVZF51+TDcv7A7ven/mhdjyW4NA8yPTrFrljp3VVbGxyLlJka89hj3PYD4DSceH24Rz dbHePBzkHs5KmsVb8exifVmXcoBv8S4/4kkneNNO9MEv45mjvN5CsBIBEZYiacM6wajS WiLr5kljoYlUpZ/1EQRUzps7CV9QFGGyBqSRcoXfvpePlkWtkcPRfP6O+tKvyRDvmPOX 2gGzCa8g374m/6LCQtPLGn7U7EzWapow6nTCN+/XnhtfTuFY68SmouFPolHG5+UH6f8U 17dg== 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=mFK0jWSBGCqHueR6jez0prdbdNbJLNaBR9Qi0IdExSc=; b=uaLrWz2DhHkUGA+YQW5GA1rvA9PPJHo44tK9Q02z/2y+MwDmOZKB3RvfZnaoQFYiNP IVBs/xj388jPhHYhO2tEkLWxoDqR4Su44sfgKTLum60JdmMnObLFsUkpvYwKr8T93gVy k7YFWSBucxc+FRdFcIO4fvm5QjEJVY9UpB9+OiWfoQ/htXl+fFws5zrx0rFN5jBMV9cH MxIeIT9QKQRlIYRnvKIN5R8r/GUO8s7bIkBvLXue4HeAE/SukQOfmBooN8YTq+zywNpg MV8m+i59uNPiMVfCql+3imqRjCnhkrgGPDFBV4IflT1yYO1v+DjoZJkukY46zO32A3hJ pc2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V5GCFgpz; 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 qa43-20020a17090786ab00b0078d3a35e181si3562322ejc.871.2022.10.06.06.17.23; Thu, 06 Oct 2022 06:17:54 -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=V5GCFgpz; 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 S231758AbiJFMuW (ORCPT + 99 others); Thu, 6 Oct 2022 08:50:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231655AbiJFMta (ORCPT ); Thu, 6 Oct 2022 08:49:30 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25B9EA4B98 for ; Thu, 6 Oct 2022 05:48:00 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id bu25so2557240lfb.3 for ; Thu, 06 Oct 2022 05:47:59 -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=mFK0jWSBGCqHueR6jez0prdbdNbJLNaBR9Qi0IdExSc=; b=V5GCFgpz9z9EovrbXOXQspzv/4whrmwJ3ffaW51KT7AOpt5iX3iksirxuVXEY7+FMG jo4b2+F0Qa9cEIX7A5YvdiWoAJF1Are3hNUDJTHNrYKE3Hl0s3TUfwKzsIoCI2dCuE9K zBZKmEoQNguWGofsuTVfcXk+Pg7SSHvayqBl+EQYa2CD0/JGc65rCAg/wG8v5xJWt4Kv IfM/hdl7BKHsEQX2BiSXZwHjWEGNgi6obDxg54RhOfu0dt78YLT8+ttIrcdmAMMZikme OEE60DkEgvta8oZUrArxq4zL5NoeSrVCVUUn4NrsWibSXTTzlGFlqiDZgXnkjJesyQTW fPig== 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=mFK0jWSBGCqHueR6jez0prdbdNbJLNaBR9Qi0IdExSc=; b=WTx3LZlcYRcZzgaGrTMGhMtHatfFN+BIUIX7OzOTEi166bFbAsZbqV5XiGxhIa1JFL 0WBfHo25gVYvbhcoPl+R+xSObi1pXoTrggDPgDPT+FI7rNB04J057eIvDynGbgHeR0sI tO866c1DFl1jHkIVyn9zx2VGdopBV9Jle8E0lVZHHqRZp7Ga7FqGjt0DOQks8YvMYROc wRcRj9Db2L0yfpUn6B99tqHW5+RvZP8XSNCDG6JrOWIvgjy81m3ccBrT15qL22JuN42P I9l5kAQK7fIwX26ObEYGx5kn2Hm7+4LfsvkSyNzucMMgvZMOpbF2QqbB/BE7IGh7CUx/ lNRA== X-Gm-Message-State: ACrzQf2zSrNhfsPW4xnytQe443+DnbvvKQMnl1sS9hJ2Wq8RQE6WsMiW dvo2u+wv4VtRBKlp4nMEpmKWVg== X-Received: by 2002:ac2:5a5d:0:b0:4a2:3d64:8ad3 with SMTP id r29-20020ac25a5d000000b004a23d648ad3mr1776826lfn.530.1665060454471; Thu, 06 Oct 2022 05:47:34 -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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:34 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 , Rob Herring Subject: [PATCH v4 28/34] dt-bindings: pinctrl: qcom,sdx55: fix matching pin config Date: Thu, 6 Oct 2022 14:46:53 +0200 Message-Id: <20221006124659.217540-29-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../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