From patchwork Tue Oct 11 17:23:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 614869 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 5FBA1C43217 for ; Tue, 11 Oct 2022 17:26:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230102AbiJKR0q (ORCPT ); Tue, 11 Oct 2022 13:26:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230158AbiJKR0d (ORCPT ); Tue, 11 Oct 2022 13:26:33 -0400 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 098195AC45 for ; Tue, 11 Oct 2022 10:26:20 -0700 (PDT) Received: by mail-qt1-x82a.google.com with SMTP id r19so480080qtx.6 for ; Tue, 11 Oct 2022 10:26:20 -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=EEMOUzHy3Lbue0VlcEhhmI28Nc+eV4/vRjIaKRvM/Ws=; b=xmpni9XSuAScJVkleBMH3Db3GyJMq4x94lPZnwnz6H+nPbAqWtL/oFE3aC5T2TkbBH LJHc81EY9TrnJX3X4TtC0eXvTKTx3CeKzwHp0f+PnNc7Qqs+UuPnOXtXidBiK6XFAQk4 zQdP7xn8Ip40eAQKHuJD0kTlbnOkfoMDGkBzkPHlP2fbxk/wxTitwOVM/cSEShdOvD1L Eau9R29dzWbOBYAbz5mMHUyj7VZB8svbycq2Du05bKEySRnrh6X4kZ94W8El7/otRv3N poR8QRFwkvcI6IhLpziPulz695zpq9z3nNcRO8bHDPiEsqS0+5P1ewa73R5n9HBn/brl 3jIw== 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=EEMOUzHy3Lbue0VlcEhhmI28Nc+eV4/vRjIaKRvM/Ws=; b=VSo1uY4xoqO7IvvChuFCi7bs7NHSKV2SB1Zq4F/q8n2v5d3ywdxcW0XyD3hJQRxFEZ Mc12yrifr4WpefnKrNbpa/9Pl7kWKZRshiX9vu8hTsyMW3vq3RuHYKMksLP0EcNM1gwf d9tYEJ2GspYuj8fP9oxXyEeb4I98XutqWbu6llaaLjBBS2bL7XJ6Y9DZKuiJgKImc2Li C4QbA2RdDI3r6+/lGYouvsvhY2s0+q12SmfDob+VL3WANk8RMa0hM6LuvjqNQ5Vciaik eulKwBqa7AJAXDnRjPl2B79Skj2lTO7IayLdggEW4eu5TgKapnsYv6BPIcrtwZW3hOE6 K+Nw== X-Gm-Message-State: ACrzQf1RBwG3r+dTXzXbOg16z6HNaYEIGCvXrt8jNPpOewSgdpueCzgK UK0LG1jwx6akui0dwula89Y2bg== X-Google-Smtp-Source: AMsMyM4iQ5YfgkUf/D7DuHvG0eC6cKqTsvda8W3VRgRsqfeN/Zq+ppk1z2HbLSa/mToiyCH1L3YdLQ== X-Received: by 2002:ac8:594b:0:b0:35c:d0b7:e2f9 with SMTP id 11-20020ac8594b000000b0035cd0b7e2f9mr20177238qtz.483.1665509180499; Tue, 11 Oct 2022 10:26:20 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 10:26:19 -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 10/34] dt-bindings: pinctrl: qcom, sm6350: drop checks used in common TLMM Date: Tue, 11 Oct 2022 13:23:34 -0400 Message-Id: <20221011172358.69043-11-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-arm-msm@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,sm6350-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-pinctrl.yaml index 94af82ee5967..894e59caa735 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-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: @@ -110,16 +111,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-4][0-9]|15[0-7])$" - then: - required: - - function - additionalProperties: false examples: