From patchwork Tue Oct 11 17:23:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 614952 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4FA7DC433F5 for ; Tue, 11 Oct 2022 17:27:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230209AbiJKR1X (ORCPT ); Tue, 11 Oct 2022 13:27:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230207AbiJKR0m (ORCPT ); Tue, 11 Oct 2022 13:26:42 -0400 Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8583696FD for ; Tue, 11 Oct 2022 10:26:28 -0700 (PDT) Received: by mail-qv1-xf2c.google.com with SMTP id g9so9359746qvo.12 for ; Tue, 11 Oct 2022 10:26:28 -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 :message-id:reply-to; bh=nVlpIeK3DosLFJYRvI8e5R35sYlWCbAuX/Ps8Xg/6Kc=; b=vk4MaOFZy2wQLV/dKUG/OlkhxbugaCG2GYj0djINOC5b6L7UQMd331o1NIVGOsbXfu hcAAF/tP0zZokSq4pSpHT1BYyNGKmcIdH7bvJjS4rRwFfVc66ELba8PJF3yloZOXkjtv cH6Yz7oFIB/sHVA43zXTrtAHuhRyGL/X8l66AvhhBA7POfZXpQxyYUIb2MaA+5AOO313 fis+DL3vg9CwuewcLI/nJYcoN5p2p15LqB4nKz+XXLR77/MQF+gfQ0QUdo86Ef1OH4Br nNBGh2Z/1b9J3FwsxTYVF6I5qO0/YIDlaUvpCUhpDOEGIDMQaRq1hr72s+YwO+1RB/Vw jNsw== 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:message-id:reply-to; bh=nVlpIeK3DosLFJYRvI8e5R35sYlWCbAuX/Ps8Xg/6Kc=; b=sfLU3ODExQcJorSDlMMhUycxuJ+hWDnFmBjnA5nojlYfTbuZZU34tEvv9ukgFkZhQm z9l0nte+MzSWyihn2rKIu2pILKBgJddZPDuUV2L1Odz7w123Kr/k43DPUEXuR3S2g9Kr AjrvrT3i5czXoNlR6g+HCJnVTwIz7TythaDLRyrIh9S+K7cUIMmCaYmz7nLdfNK7IAJO 3Po9yO+BqgM9w4aubf9DgQYUjuILU5o69s++NBAa1X4p2st+yRC7UQ1J4TOgLqKQexPv jGHg1HDmWdxli6ez5BBU5xg7tgi9rx0qzo6qFTtvEb54bqvOwp4HQXKwo5JXjiGXj3qu 6vBQ== X-Gm-Message-State: ACrzQf09OBclCSeDAQvuibtJdvfDVRQousQqXiR+BhDxxzJK4Fc1Lpp7 phwiKk3adSVnybcarRPUbxo7Sw== X-Google-Smtp-Source: AMsMyM5/ocYTJJQakPQ75u6EbK7nIqw54n5FQc87TIOOYCzAC3UiXiqr+1TwhWzPynnxH9fdd+uK9w== X-Received: by 2002:a0c:8b0a:0:b0:4b1:9500:4703 with SMTP id q10-20020a0c8b0a000000b004b195004703mr19714014qva.124.1665509188279; Tue, 11 Oct 2022 10:26:28 -0700 (PDT) Received: from krzk-bin.home (cpe-72-225-192-120.nyc.res.rr.com. [72.225.192.120]) by smtp.gmail.com with ESMTPSA id i14-20020a05620a248e00b006bba46e5eeasm14289087qkn.37.2022.10.11.10.26.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 10:26:27 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Stephan Gerhold , Shawn Guo , Srinivas Kandagatla , Vinod Koul , krishna Lanka , Iskren Chernev , Martin Botka , 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 v2 15/34] dt-bindings: pinctrl: qcom, sm8350: drop checks used in common TLMM Date: Tue, 11 Oct 2022 13:23:39 -0400 Message-Id: <20221011172358.69043-16-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221011172358.69043-1-krzysztof.kozlowski@linaro.org> References: <20221011172358.69043-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The common Qualcomm TLMM pin controller schema already brings requirement of function for GPIO pins. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- .../bindings/pinctrl/qcom,sm8350-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-pinctrl.yaml index 1c0186050dcc..cae726b5fc79 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-pinctrl.yaml @@ -53,6 +53,7 @@ $defs: description: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. + $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state properties: pins: @@ -107,16 +108,6 @@ $defs: required: - pins - allOf: - - $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state" - - if: - properties: - pins: - pattern: "^gpio([0-9]|[1-9][0-9]|1[0-9][0-9]|20[0-3])$" - then: - required: - - function - additionalProperties: false examples: