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: 615886 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 AA97CC433FE for ; Mon, 17 Oct 2022 23:01:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230460AbiJQXBz (ORCPT ); Mon, 17 Oct 2022 19:01:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230517AbiJQXBg (ORCPT ); Mon, 17 Oct 2022 19:01:36 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC2F782D34 for ; Mon, 17 Oct 2022 16:01:03 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id x13so7655201qkg.11 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=hyGrxb+y7SA2pwroTqqTGdowBfvQ94rHOY3B+jXCM6AzY7a03Rhu7FLovk0kV/Pc/M n/ZtbKvnkLr7OuVvakKm1zKZMdOKeWgjHLjZ0qG4211Ewj5whLvR+qUBiLMm9+tbAIk9 vToPhY/LZeraXgwZAu2JvUnjX6Ot/hHNobCIStGNqG5TGP4d5dVZt3nXHtIf2lmUVuA8 2dEnscjD+MLiMladKFQUIILP14SK5ZiAJBCC6kDr0TFxFGltRjDoVE/TD3T5O+7X5fth YO6x9UuObG0LBDB1TU240jYlRbJMQoI9rf6QB8vv9vKZ11lsGS1fpT5qQFknHjcVatCm WKeQ== X-Gm-Message-State: ACrzQf3so6G0t0ImdT2hPJ0uhwb3MuafhyMh/5ZmwaeX8lNMLfRzVvKm Tb9tSCPWmoStpIDg7tV/ZhN+yw== X-Google-Smtp-Source: AMsMyM6MOILROLw7rXp1Wi2kxRgVurEp0XCsXCKDp3+SWDDstzTgWXqVp4uTJVAca9BOK9CcX90CSQ== 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 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: