From nobody Mon Apr 6 22:53:44 2026 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 3241EC433F5 for ; Thu, 6 Oct 2022 14:08:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231674AbiJFOIC (ORCPT ); Thu, 6 Oct 2022 10:08:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231668AbiJFOHX (ORCPT ); Thu, 6 Oct 2022 10:07:23 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 210E5AE22D for ; Thu, 6 Oct 2022 07:07:02 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id a29so2902632lfo.1 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=RsXaHrCPxT8w8z83bhW62UtqLOZav+5x1cOasd3oJOoV+wtr7OxDzyuyIii9wHFYMh fnYrCFgmgUr6tBz7PLuWg1sh5ZcuIn9Sde/OzAp3QJtKntkw61P8z/1vVJe1+Btpg3d9 5nvtuaT6S+enobXseiy84kYxzI9ezxIRRLxPRfmpCk8s8i0LfAZ1V+d/VAvHNGQXpf+q +zeafIjkmyOMFcW2M5/SphtBsd5XkQY7osUyUQotBobQhwa0k9/5CwNbq9swb3fXHba9 U/7hhHk07dob98rCsZBE2VmGd4ESVbQ0Q41ri3ilqGPqM4Rs7eDtK9sQ7t6dcnIJ8I4v QQTQ== X-Gm-Message-State: ACrzQf2cC9ZMLibhP3LrGUwtL3/naop4ArKZ9zRjchr4B2Vd0U8Ck4bj /USboUIa1MRhn5LTZj2/mBx9xg== 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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 configura= tion. Client device subnodes use below standard properties. + $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state =20 properties: pins: @@ -107,16 +108,6 @@ $defs: required: - pins =20 - 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 =20 examples: --=20 2.34.1