From patchwork Tue Oct 11 17:23:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 614364 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 24365C433FE for ; Tue, 11 Oct 2022 17:26:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229495AbiJKR0R (ORCPT ); Tue, 11 Oct 2022 13:26:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230082AbiJKR0O (ORCPT ); Tue, 11 Oct 2022 13:26:14 -0400 Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E72B27FC4 for ; Tue, 11 Oct 2022 10:26:13 -0700 (PDT) Received: by mail-qk1-x72c.google.com with SMTP id a18so6034052qko.0 for ; Tue, 11 Oct 2022 10:26:13 -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=aIrBy8IF6iGbWcZ0YVqj9pp5C/hpdRh+/4SU5uYRz10=; b=u1hKAipfvELU3lnV93L2zt/Jp95vb/foEbL+34Kdft7we9KS1BgPk4s6WcL77eRcq7 PlWSMb92E48rg+p3+s+hDe9UkPsi40yAvsGRUf58Izw7q5G9u4SNkrdsU+3sCO3R/h5m cK7MX+3Pk4RcDQ5z7cPThnCLqDWWlqzP0R3mczWDEzY5iwBLa08tEpZ5jP/9S0CNZEf3 VUPKGf84QkcHi5iATOTMyqSEi+1rARn7/RpowBRWNsA1iqEUwgDFegkYEhA4pj37+Pmu Wjh5rwxejuY42U8n2TbGEqBXMsicOyMMMbWKJSZWwye80e9PMZnVrePPKgU79knFfdYz IIIg== 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=aIrBy8IF6iGbWcZ0YVqj9pp5C/hpdRh+/4SU5uYRz10=; b=yzbFvv2LnV8eIHGnkMJ0WXbj0f8xlvfVj5RYZi0MVbQ2uoES4ihJqOcUGOUTeiYE1h a/BgCagSujkpZDHOLA1z/oPYCgP0/gsKKeMiUzspI8YsrAybqZe/jV9Y7i8aSVdVdjVn JT+aPUw2Jv+0VikM0cOUZwZgcYssHB43vE7l7g8oWVB0tEyZoIh6BqqfWG2ZSB/X0GN2 mNHCjsJm1V2XiZkAZwLUi2zlCyJtXTMQTtk4sNO5iMxyb37+qHGwGbe6EQ/UDliDnffx oyJ+lONK9KXpkka6JHpadDjuywfykHjnt5AGIO6r+DFgvfpQBbFfojGlc6r+hs6z00qx hZ8g== X-Gm-Message-State: ACrzQf09/iXQcb44sRqQxq6k7bX9CnKtXq2KUOF53nGigBK78mIaN5nn NTVPj72rqT4OvqZUCdjmgAz2Dg== X-Google-Smtp-Source: AMsMyM70d0L3ZDkDZFu/5mI0yxhXIDHDjA5fsNj3UJPGXi9RTC4MMJW2BLaSUi3jrkC6OyO6cbK4Ig== X-Received: by 2002:a37:b5c1:0:b0:6e3:5c02:f6b with SMTP id e184-20020a37b5c1000000b006e35c020f6bmr16806321qkf.299.1665509172798; Tue, 11 Oct 2022 10:26:12 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 10:26:12 -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 05/34] dt-bindings: pinctrl: qcom,sc8280xp: drop checks used in common TLMM Date: Tue, 11 Oct 2022 13:23:29 -0400 Message-Id: <20221011172358.69043-6-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: devicetree@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,sc8280xp-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml index 0b251caaebf2..886d4e76af44 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml @@ -53,6 +53,7 @@ patternProperties: 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: @@ -113,16 +114,6 @@ patternProperties: 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]|2[0-1][0-9]|22[0-7])$" - then: - required: - - function - additionalProperties: false examples: