From patchwork Thu Oct 6 14:06:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 613052 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 74892C4332F for ; Thu, 6 Oct 2022 14:07:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231426AbiJFOHk (ORCPT ); Thu, 6 Oct 2022 10:07:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231298AbiJFOHV (ORCPT ); Thu, 6 Oct 2022 10:07:21 -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 1EFEDAD99B for ; Thu, 6 Oct 2022 07:07:02 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id f37so2856659lfv.8 for ; Thu, 06 Oct 2022 07:07:02 -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=5uqVTGHKp2EbU7Wz0x0CUno6/1EribUdVjgKFJQWX/8=; b=eX0x6H+2JzHrgwXW1BuOO6zn9BW7CrBbQE2JACA/gPXNbzqnVu0yip7SnHUq+v7eEK m+4ZFAZZy8dcjbdDWGBovqdc5bD8N+ZIm3A45y+x2HZeoHXioVQ53wnUXxqMVmOzdVK8 MhlQM2e0c7p0jgIB8Kq4F6Y1PAyCTO8tWClBTEQ3NvxCAYsQPPNlK9gynqW2gQUkFT5W Xxnvyx+1T29uSWTGjoHWXf9NDOxdVed3Cm+xWgRWdPvdBedb5UinpR9N9pP1h37yFGl+ vkiW9V0ZJy4TLSMrxKS9HsmCPRIzsnn3jQJEh5yeNrap4Qt+W+PmQNIIxMEPJgP9ZZbE Kiwg== 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=5uqVTGHKp2EbU7Wz0x0CUno6/1EribUdVjgKFJQWX/8=; b=j93p3d1OUwPuKj0W9K0mMJKD05HiFff0aRpVwmL0rm5Bg/OftFzgWhhKWbbXQbcn/d CY5CfTAWVBcwIlB2f3dXG8xtFsnSeDKyfuC1gQ/tD//ka3zjffYjZjODLYvj19brLgSY ojBe1XRC/gjdoKugEO2RwGEDTmuneI5oypTbLGDNbEyGTw67x5YqscuGypdiP1vj60Sy ZgYKExlX5VEWEiGIoJntBzwM2EMA9qpvRw6eGtgs37wp6RLPk9ohL8QbKW37oNERnDCj 2uTn2Ct5CcWx3z0WKv19O+yFS3qL/TvcJooKXbVN+Jp2hEv2uV2dGL5huoYAaCsEiqOV FocQ== X-Gm-Message-State: ACrzQf1K/NLKysxo0xYzKb8cvUbhRE0qWqpK3sauk5u5cofS3OAWqDGQ VFl+gY9Xoy/ahL/SutJff5sVeg== X-Google-Smtp-Source: AMsMyM7MavJaNb6wx7RerrbDpMR115M6b6YvS9l+oJhoZ0de/sAUViAd1L53PZISWWidUpo4KS6iPw== X-Received: by 2002:a05:6512:1150:b0:4a2:7f90:79ea with SMTP id m16-20020a056512115000b004a27f9079eamr59083lfg.180.1665065222378; Thu, 06 Oct 2022 07:07:02 -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 z3-20020a056512370300b004a2386b8ce8sm1833929lfr.211.2022.10.06.07.07.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 07:07:01 -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 Subject: [PATCH 15/34] dt-bindings: pinctrl: qcom, sm8350: drop checks used in common TLMM Date: Thu, 6 Oct 2022 16:06:18 +0200 Message-Id: <20221006140637.246665-16-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006140637.246665-1-krzysztof.kozlowski@linaro.org> References: <20221006140637.246665-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: