From patchwork Mon Oct 17 22:59:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 3797 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1680643wrs; Mon, 17 Oct 2022 16:03:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM61Au+ww6xEiW8uceZPH6RCk1fTxSNtlGgMD6rE2P3CMEiU/28aPJRlEM6co4E1HulsREDq X-Received: by 2002:a17:907:2d0b:b0:78e:674:6b32 with SMTP id gs11-20020a1709072d0b00b0078e06746b32mr53229ejc.226.1666047822702; Mon, 17 Oct 2022 16:03:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666047822; cv=none; d=google.com; s=arc-20160816; b=CuE7Hzb4HSNuVOuOf8+W3L8Fv8FgiOiUt1iyr4vyf/GrdcdmCA5TI1DHNB2TPYdqjr WyjuyNr/e37snxOGntI4INliJTtQSMp+d1g7s/LFvwP30HoGX84dXr2EC2PEteGTXJFu YHzCFT2BSf8c0KRYLxmp517vGkWyuBEChG5L2jcBy82ADCRsTnuCj1kfqUwBpqO3t1UU alg/O5+DBC/ry469R39nBY/Y6SAAEfHAe51LxlL6I12G+IKTYDYmlIW7fAG61+XQeUmf I9nJ9D05NXi7gdwLGDFgbEJUkny8h0cNzp3pmGP1K8TDUwKXROsoaMOmlEidvBaqsUIw qm3A== 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=nVlpIeK3DosLFJYRvI8e5R35sYlWCbAuX/Ps8Xg/6Kc=; b=E/lmeyZCTObEDci/kzf2/oUTTzwoQSbicqbFMtsQkJWebcJ9YBupCAoX4iXqbjmWBS b6ufHKxXU35OERVpQGDsZ2F8X81IgHwbXw6y7MAhDOc7HsKYq1x5V58vEZwL4jAKWKTY 4QJbH9TqgFUCkKnVByWYABjL1dKs3ukAjAR08c6qb1bG3uVKXSFMUZCqFwknGJQOEmoD kSsZaLBIsIClPfHgsnWzuJeEnC/qaE71rGmqSxHksWd3O+B9BLsgwJfyVrCMvd8eKuEA mZ8WdGTdUGmqHndahg4zzThYrJvuiAvns2LPifwdoPYzC8zQx6HW5mzNDgPVPMFD2+r3 eb0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="marIk/Kq"; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc32-20020a17090716a000b0078ddd8656d9si11286994ejc.9.2022.10.17.16.03.03; Mon, 17 Oct 2022 16:03:42 -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="marIk/Kq"; 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 S230520AbiJQXB5 (ORCPT + 99 others); Mon, 17 Oct 2022 19:01:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231177AbiJQXBf (ORCPT ); Mon, 17 Oct 2022 19:01:35 -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 EBC628285F for ; Mon, 17 Oct 2022 16:01:03 -0700 (PDT) Received: by mail-qk1-x72c.google.com with SMTP id b25so7660534qkk.7 for ; Mon, 17 Oct 2022 16:01:03 -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=marIk/KqymBULu3BIPKIRPWcDX0FpTeJdCSFKRG6UVH5fVuKrlFPlj5JEduZjOvyBV uQgOcF+MPjZjZ578/mh/uRNUNFyBkD8gxGnVRkRhGRuQF975hIxKr5Is7At3H3YUKr+h NeXNdNMhIX6ZVshQLh4RdM28jbfkl5VVgKIfomVaZPomQfZY6au7wUu8rQNBO3BrBWJB p/S2pUvG4WuqOIC5ZpgyQ2T/IqalzvAo7UQ45MfFvdHQmDiPqQLm/ZEkkX7Nq7vImOB5 wi3T+rYgQ7DpPXAD3cYlPQtL7WYS2i7PNtr+UitHCTD+l1vhfCnb407dR++U+RdA/8VD ohxg== 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=TLv78GXfR5s4sv5Gl0uU5YN/HFd9c5AqV8w8BSDrsrk0C3aXWO/qVOUplzpBkY82+j s5ysWvH68gDi7NAb1TlpwqBAkaxCtsdU7J7dydivEkOYgpcC9z7zQSa1GBdzvIqYhjyz qLHiSPd7na5k0noxHcvFBdPXQlr+k9EFrPrlXghPxc0b4i6oS7znNOqp6xdt54L8vnhh NVI558/EBHzbXYNC3nsAjexIP96XmPYpRsQ0YTdVHei1INI3N+E/WVyZ3JcV54Pi7Ehp f2MxSdCdBonwgKy5dTH4io/YOKOHq5vJZnmI2378kaFU62Oz9Xlmwl23smwOhtptXJrf gwyQ== X-Gm-Message-State: ACrzQf3+xkVuqgXfdaZY6jeyRLiquweT+iqP8+f9PS1ReOkYANlUd7Pr 72Q05oaWUc1WP5mpPhR4t141ZA== X-Received: by 2002:a05:620a:bc2:b0:6cf:468e:b8ce with SMTP id s2-20020a05620a0bc200b006cf468eb8cemr9237475qki.699.1666047663441; Mon, 17 Oct 2022 16:01:03 -0700 (PDT) Received: from localhost.localdomain (pool-72-83-177-149.washdc.east.verizon.net. [72.83.177.149]) by smtp.gmail.com with ESMTPSA id fg11-20020a05622a580b00b0039cb9b6c390sm729670qtb.79.2022.10.17.16.01.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 16:01:02 -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 v3 14/33] dt-bindings: pinctrl: qcom,sm8350: drop checks used in common TLMM Date: Mon, 17 Oct 2022 18:59:53 -0400 Message-Id: <20221017230012.47878-15-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221017230012.47878-1-krzysztof.kozlowski@linaro.org> References: <20221017230012.47878-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746977761587264437?= X-GMAIL-MSGID: =?utf-8?q?1746977761587264437?= 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: