From patchwork Tue Oct 11 17:23:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 614419 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 7A73DC433F5 for ; Tue, 11 Oct 2022 17:27:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229847AbiJKR11 (ORCPT ); Tue, 11 Oct 2022 13:27:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230160AbiJKR0z (ORCPT ); Tue, 11 Oct 2022 13:26:55 -0400 Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 777CE6A4AC for ; Tue, 11 Oct 2022 10:26:30 -0700 (PDT) Received: by mail-qt1-x82f.google.com with SMTP id c23so4685486qtw.8 for ; Tue, 11 Oct 2022 10:26:30 -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=lL14UiPeKdh/QD6+joJS9aO6pvdHV6+MX1LEVoDNOrY=; b=aCfBaHyW5M7b0a+mKTUTMOxtHutyhoCEs7oFo9VGSQBaN2wHyyTg0ZgLWVd+eCaEBC cnl8Jl5Yv31UEHAL8AVhGR0Si+Liw+wA04U+0Llowu0kGBqD2tWyBjag5KFfXotRBj8t hgOi43pz40JVxX2fea6x6/V1TX/dybyq4o2IPUOceyXilfv8kgzRXUlBbvCbJFm8Dzct A1did00iPT5GNntAMzwBNmjDg+ympjj68jgGTVMly2y9fYK0F4ftA3f/tmL7ANUh6O8h ZfdUghEqE/8mHPEr3ZyeEhjehORGRM9Ds4XrKLW6dBw2JEP4DEHjm8Iq+Hvdz7Gx0wb3 szrQ== 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=lL14UiPeKdh/QD6+joJS9aO6pvdHV6+MX1LEVoDNOrY=; b=cBwUftiZHy3DB8QwImgjbSmQW9YAQYYon2sTP2t49tFGD3P8E8vM95ipqJhOrV81u/ FIFeb8tr+gJXqn+3n2Hpau+vE/PBuWNYc2uSuCRlJGQpU8H5kiFSnyQWxOCCitXr1pRz tQCxzBp8q0eSmpDBLYT8t/gazzfyhH8FX/ytp1bIkdUGH9DiMugjfJ1gPRXuCiEH05EX n5FsEvAHRN/6PlT+V84m+Hg2KNdRf7E2mtRHU3gTYSueSbQHfQ4B/yuU6yWb8m/L2HjN v2p21d1m0pjMTXNOJRZzNBdIlnxwCVhxFzRemR86seWw644kdP/dsi4SvBa2aWG7gLBs Ismg== X-Gm-Message-State: ACrzQf3EVC+9LE3VfJcDnG15Uf85aBQ1u9mcrvP30pun76BFOWiPMK9i gFqITzgVJAajWbSkFQr/84t17A== X-Google-Smtp-Source: AMsMyM6cgPDaHR0I4WZq9qmvwh7tbqICBBktFnruXzp31YdfKTx+AUo2Tuc0M5Ls7MiWBt09UptNxw== X-Received: by 2002:ac8:5907:0:b0:39a:e5c3:af86 with SMTP id 7-20020ac85907000000b0039ae5c3af86mr7676626qty.74.1665509189884; Tue, 11 Oct 2022 10:26:29 -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.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 10:26:29 -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 16/34] dt-bindings: pinctrl: qcom, sm8450: drop checks used in common TLMM Date: Tue, 11 Oct 2022 13:23:40 -0400 Message-Id: <20221011172358.69043-17-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-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,sm8450-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-pinctrl.yaml index 9cd97a467648..7ab9a0eec017 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-pinctrl.yaml @@ -60,6 +60,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: @@ -112,16 +113,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-9])$" - then: - required: - - function - additionalProperties: false examples: