Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1327809rwb; Tue, 27 Sep 2022 11:24:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7QTT4oyuREfOMKsdsPkxSgLVE3SMly8JwObroIePKR7LoXhOADXQy+1P3osBsPncX0q26J X-Received: by 2002:a17:902:e9cd:b0:179:c88b:9b14 with SMTP id 13-20020a170902e9cd00b00179c88b9b14mr20671507plk.48.1664303039951; Tue, 27 Sep 2022 11:23:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664303039; cv=none; d=google.com; s=arc-20160816; b=G+2GTY0oj1Yoikv/08PtXCTeud6o2mVqCY0NSjf0W48ZabdtGvmV8khYYpwJWzzhz6 fWRAQlfKa3w9ujSIRWdTH7LjUMCH+R5HnUhkDYcYFxrT8cLcLR8Xw2bD9K3GIF2R/i1T o1il/TqVQNs/ZJ56wTj6jJCRsvzQ7yMQ7C6aku8ZYs8nClrdYyqAXvB+WVagfGtTDHjW vKS/doEvpIPbaNpNFnr1T0nJ7E/3X2DjwW6icrApKrY9ZOy/kj7MzGFyCCnB2kaUyOPw wd/vxK3VFzn9T8AbMh6kj9R4zN+tNQXR1xlZKDhFxJCw00pvrQyTdYhHc5B//5rvnNm4 5KWg== 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=3AqWHKVr9feMrytN8eOln5pgl8oFY8kkD5WrTOHH3LI=; b=PMgG6DZSI+fV5ass2U1xHBfWb3IQsxhEx4wAPc6YS9obwSjpqKB0MXI8KtkyFXKtHX FeFi+0zSAs3R+5zNEQqT82ZX+Xn7bhNNJbaLgITCUNKC1R4KdlW1kEnup+CDvBmsiahl RbkIfXDY7CI9/CZjorjDBUtHlY4J0OPMSEEPiUY74JpXdPPKVo9IQfQ/2ouSiExI23st YA4PdSIY/1fdKrZki6kSUMqmgtOHAUt4LrnRvXol6fTJVWTVgUNjz/6e1+8563U+gyJh cYN/+65Xs48Dg/P1+MF51pS4EP9XEPIGFIZElM8McjPo7nboTWhhpxb3WPntxe3epSbp G3WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GdMnuyBa; 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 p5-20020a17090a2c4500b00205d0348e7fsi2319866pjm.93.2022.09.27.11.23.48; Tue, 27 Sep 2022 11:23:59 -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=GdMnuyBa; 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 S233403AbiI0RmS (ORCPT + 99 others); Tue, 27 Sep 2022 13:42:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233243AbiI0RlR (ORCPT ); Tue, 27 Sep 2022 13:41:17 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA57A1EAD68 for ; Tue, 27 Sep 2022 10:39:22 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id i26so16762370lfp.11 for ; Tue, 27 Sep 2022 10:39:22 -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=3AqWHKVr9feMrytN8eOln5pgl8oFY8kkD5WrTOHH3LI=; b=GdMnuyBadWE6RY5FYf42KqN/L7jDWDkoO6AH1LjPopKnbJ7M+uzZbFPEq34A3eeOV6 9afiZXMCcFT/Okh8IS9/6cMQ4Htx+kcyOqEIT4C1jBxBcspvUzOfPhmAhtMg6E2lfqfi mUVUiRRRHtWsmw1YNi7GXjGRjYL2asiHVFWj8AVxHr3kY5CFNkt7Z8onYnGuAqC3rHZ/ 0YHvw384Xrjq5yETufpVWULE5/9pP4hfMzwgVbGDa9mNFY/tMo2QLZAqBvxIgLmL6Qfh FYKEZjpXJRnpI8IMl2B+WV9/MEWa71h2/4azqnr7Q2M3MMA6jW1QQid+B1yxH3WaAB0K MXLg== 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=3AqWHKVr9feMrytN8eOln5pgl8oFY8kkD5WrTOHH3LI=; b=jMfflYbRnoFpg1BwBcfAi4fUCRhk9tbxs9vKphbDm0OM3dSPnEiQZ9R1dIIAFWuSkd rRsa1vqtfy9IQCDPGc1FoA3TWXGPNl47Ri3m8joGjTh8YAotFnTVwyK+Vbotc4+EWqUu +MeAd9nGvk2CtDulaF2FLeSqwVoICFJJlgNlOhSzW0ssXihX+2Ldu9UvX43lJ+iqsCOH n+qLj+n5Wx9+SWudK3+rS6BqCQUo4v7HW7NLwgwDxyRlKy5Dxglu4aJJcKgg+ORKSIk3 dFIsFLtJy6u40CcXgauRVhoC8bZet5bSvBAbEKpXurkr65g7FoWFjZsGqj6PaY8ahSyX kZUA== X-Gm-Message-State: ACrzQf3AqE5+Rq4Klm3SCWD6NmE8zbROxlGp2zgOiAhumbHh3ovOk5I9 MbGO5hVi8LCl7eecgc6xEP/Qeg== X-Received: by 2002:a05:6512:3185:b0:49c:3310:6910 with SMTP id i5-20020a056512318500b0049c33106910mr12790994lfe.352.1664300354756; Tue, 27 Sep 2022 10:39:14 -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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.39.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:39:14 -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 Subject: [PATCH v3 31/34] dt-bindings: pinctrl: qcom,sdx65: fix matching pin config Date: Tue, 27 Sep 2022 19:36:59 +0200 Message-Id: <20220927173702.5200-32-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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. This method also unifies the bindings with other Qualcomm TLMM and LPASS pinctrl bindings. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson --- .../devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml index cdfcf29dffee..0f796f1f0104 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml @@ -49,8 +49,10 @@ patternProperties: oneOf: - $ref: "#/$defs/qcom-sdx65-tlmm-state" - patternProperties: - ".*": + "-pins$": $ref: "#/$defs/qcom-sdx65-tlmm-state" + additionalProperties: false + '$defs': qcom-sdx65-tlmm-state: type: object @@ -175,13 +177,13 @@ examples: }; uart-w-subnodes-state { - rx { + rx-pins { pins = "gpio4"; function = "blsp_uart1"; bias-pull-up; }; - tx { + tx-pins { pins = "gpio5"; function = "blsp_uart1"; bias-disable; -- 2.34.1