From patchwork Thu Oct 6 14:06:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 613292 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 B683BC43219 for ; Thu, 6 Oct 2022 14:07:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229491AbiJFOHd (ORCPT ); Thu, 6 Oct 2022 10:07:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229724AbiJFOHU (ORCPT ); Thu, 6 Oct 2022 10:07:20 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78CD4AE208 for ; Thu, 6 Oct 2022 07:06:58 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id p5so2332720ljc.13 for ; Thu, 06 Oct 2022 07:06:58 -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=d4TLcCDcfJYNicU7tyVqnAMQRveCub49ISfUv5I/EgM=; b=O6XR8OeWsebCWAMnueVjJCXaqr1HRNpspu2+77EBzc9q8Tb5e6ugCmS01L22AMft4/ l89k2nJFLxAd0b+h5/hInpgMR0JH2PeZ1TWkrJd35+KFKfXxt0hDL037m9pszWm/kyfL K2i+bs0HKeGm8CrsJ6m1J74ErCS6n9C9CJE5PWzuOARM0Cww1mos0J4dPH8HbGj8Ht37 IO8jfzJmfdUQ6x3DxebXYH/Pgc2NDJtVBl4dBIjnqr0l1VgpvXhaAJs5iuUS9W7p9BbQ BUz8258dhEcJIELJO0Ijh4HQulyQ/iiqfYs7pxSGWgaDQv6pSr11oENr0MTkxgbs6d8l zFrQ== 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=d4TLcCDcfJYNicU7tyVqnAMQRveCub49ISfUv5I/EgM=; b=y+PFAOjQcZowDd32SJARK94s6IA0LXDvk2x8uoKhPJWS2+rZIRq73OM56mJ1oUvgaY MKTeoX1r7SbHtvEh9pr1Y9Tw6SL5Wd1IaSQeyXWDQ1PC3SAqf5zjrAxm1uvAZP/+zbM9 rc0K2ciIuN41wb8Tq/f5J4PoFmb/BnJG7YU+tvl0C0++t03Q6M5JW26AlpLO77NNx0o5 r34lw8m8ELMHBcIuODsPOUyLq8Oo2OYLEs4+m/yQ5pA9OuZ+XNPfVCmFMw/4O7wSoXaL t1AeIyjDMwZHLYetpHJpC9AX9yRfLjyL+1CGLjlVe9Tf046xa323/sAOj54Uya8La7Kn MO4A== X-Gm-Message-State: ACrzQf1t3V4A7hZWPsFX/cG0jHDlB8uAhyEwYaHy5pxt0/P7Vg6bts3v fC55sD/7Lo57Gb+kwBV1XexyJQ== X-Google-Smtp-Source: AMsMyM78xZvp2hUXY8ZOuP5EYqAR6n9d3icvCadcJBC1ZoG9JUZGkx9t1II01oILvTFVxmmLstUZow== X-Received: by 2002:a2e:9d8e:0:b0:26e:3e2:2ebc with SMTP id c14-20020a2e9d8e000000b0026e03e22ebcmr1047373ljj.166.1665065215926; Thu, 06 Oct 2022 07:06:55 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 07:06:55 -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 10/34] dt-bindings: pinctrl: qcom, sm6350: drop checks used in common TLMM Date: Thu, 6 Oct 2022 16:06:13 +0200 Message-Id: <20221006140637.246665-11-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-gpio@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,sm6350-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-pinctrl.yaml index 94af82ee5967..894e59caa735 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-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: @@ -110,16 +111,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-4][0-9]|15[0-7])$" - then: - required: - - function - additionalProperties: false examples: