From patchwork Thu Oct 6 14:06:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 612950 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 43BB3C43219 for ; Thu, 6 Oct 2022 14:06:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231187AbiJFOGw (ORCPT ); Thu, 6 Oct 2022 10:06:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231451AbiJFOGt (ORCPT ); Thu, 6 Oct 2022 10:06:49 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A54CA7AA1 for ; Thu, 6 Oct 2022 07:06:47 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id r22so1047896ljn.10 for ; Thu, 06 Oct 2022 07:06:46 -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=dpVa1Bd2BX15p5an5Hiu/Ih46PauKXzJMUjfTxIgEw8=; b=qaXDbRxgcRv2x+tHLjQG4oYUHBKrYEuGCNAwMaDltQXmGJsbaKSvuhPP+NC9KMiwK6 Dv/BSg0RxH4Yw4WYZDPyYE/uRlkVVomoeo5nO1UO5P/sNqBUI27ZFPQ3xApQn0AfdTlc ah5HWSOE6cyGZz0qBOGiG6QKTYt5T7gUwYTOxh1qNTSR1MLEnbwjKwFm1vKsQ8rvsJHU sgxiNkv8wbgSbUp0uv3ARk/adK2uYuwOAwrCIAnRsXSZeCF25a+qdacQhGCB/pYaDNwF bm96xTvsYV1dV49cXxLeUaSzCRXgMmJeBUe6lwrNBHQ4q4cRlPUvi+ri4E+dx5vF9Zch cxsg== 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=dpVa1Bd2BX15p5an5Hiu/Ih46PauKXzJMUjfTxIgEw8=; b=5C+buDnJBq4cqkJHdhEhMnGWMDiMsrxxg5UMY4/kOr8Cli3/r06HXqRlVJXz0KGWwZ s9Ghz4gNowTZB92PdYiTAeKg96bbHYVJ2rfV6UGml6pKTcyUhJOskB+MUdpgMkTTfG2R CeNMym3LTdGlaStwyazTNZ2VvbSdecFIsbPOgKcxCD6MRZDVD5ttJniDaZlr/ea4dZeD 64/fu9Lio3inQ0GcTtMCN8r04iw/STrLCeTuJapedRc1Y3bVX90AM6QGoNhtXAIHZpEd DskFQzjsm2fkC4eyb1qmAcOMdSAhnOaFxmglAunxN6u2EGJ7D6YBFYWaThvVNJNgU37M vK6w== X-Gm-Message-State: ACrzQf0B4b5XTwv++dk14zyJdqyrSBpX46Uwvq8QsJbJwoIw5Q6QN+S1 z2aFHVIa7dtFawPsF/MDKl9Edg== X-Google-Smtp-Source: AMsMyM42M5CyNOIlsRnnNx6kT7a/CyNKGt/woh5MHZbZE/OPfotuMpu4EzWGDhL12bRjHysGvJ1ong== X-Received: by 2002:a05:651c:1508:b0:26c:622e:abe1 with SMTP id e8-20020a05651c150800b0026c622eabe1mr1802870ljf.228.1665065205356; Thu, 06 Oct 2022 07:06:45 -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.06.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 07:06:44 -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 02/34] dt-bindings: pinctrl: qcom, sc7280: drop checks used in common TLMM Date: Thu, 6 Oct 2022 16:06:05 +0200 Message-Id: <20221006140637.246665-3-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 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 --- .../bindings/pinctrl/qcom,sc7280-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml index 2a6b5a719d18..bdb896e5682f 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml @@ -62,6 +62,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: @@ -127,16 +128,6 @@ $defs: required: - pins - allOf: - - $ref: /schemas/pinctrl/pincfg-node.yaml - - if: - properties: - pins: - pattern: "^gpio([0-9]|[1-9][0-9]|1[0-6][0-9]|17[0-4])$" - then: - required: - - function - additionalProperties: false allOf: