From patchwork Mon Oct 17 22:59:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 615842 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 23C3DC433FE for ; Mon, 17 Oct 2022 23:01:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231129AbiJQXBL (ORCPT ); Mon, 17 Oct 2022 19:01:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230471AbiJQXA5 (ORCPT ); Mon, 17 Oct 2022 19:00:57 -0400 Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B35057FFB3 for ; Mon, 17 Oct 2022 16:00:48 -0700 (PDT) Received: by mail-qt1-x830.google.com with SMTP id c23so8719090qtw.8 for ; Mon, 17 Oct 2022 16:00:48 -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=eexU8QFju8foCFKK6LIrBeBMIjjHKwOcOdgfsoR5Zts=; b=QW6mhLWqdDjkWW5XD+q1AJqczk9Rnm2f5FWSxjElAubT7r6Q9IsMCIVw30R83pO4TG h5OEDA7y4ORyZdAztXv7//43xjHkJmowP6P9IaUOonDXGZiU63+Pi05rIjtGelMSd8hU HDSaFPlPCcrFTOFO1d62jFKcUsUaBF/buHB/UfZd0yourNnv9IpgM5WC//PH747XULsD QIqppIBz3zjHPVzzevlNZgwe9HEJFffVS+QSJJSWtE9fr8zOUOynC4O2bVmEUhsU67Q8 +bOKlFxXVW58+EgLBd8y3+QqyU6skQ18ypdrs2FqUDOEAa8plOSq24qmNnsUccBNyrOg 2s1w== 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=eexU8QFju8foCFKK6LIrBeBMIjjHKwOcOdgfsoR5Zts=; b=Of3SsJ3GhmYGvbEVkcLYk12b6YYZVhxiqQeWd8O1osSqXVeCc1dDCNVD5uw5s5NGCb nfYohWajdEPSONzCPGwNYSayHhkRV7Zj7mbtnZ+DsZLQ7WHDD/bSXQkk+cU7QvHINDc0 uuZLIJA/HWmNzAkygdicpemFqLFmZxop3ciSxAtIqE0pATs43yXsQFLsEX/5nmqcaSS0 rpAMhKMqEMeuvlY3RghL4zOrr0SIjdWTzAUU+Q9D4NTYWhS7D0otugCHRR4zFUuXQUKF 2u+oDtiOYg/2iYxmD/m6eej/ufNkNi8N7s/PrdWWRJywHl2b5gmxaW6DQQVOEC0HyTUf yuGw== X-Gm-Message-State: ACrzQf3OxhgIljMPQtmRRw/MUBUUq4gANJqHzN4UJ4UfM8V8bT0qeuxF Z0w8xda7fD6rcusvofBETuPr+Q== X-Google-Smtp-Source: AMsMyM7aJxmu4hyn0xgbF+OwvfaLPc5WujImVyTQaSPobFjqhA9DeIQwAhwDKK3wCMdhMAPgbLNhQg== X-Received: by 2002:a05:622a:14ce:b0:391:6892:1665 with SMTP id u14-20020a05622a14ce00b0039168921665mr10655682qtx.431.1666047647222; Mon, 17 Oct 2022 16:00:47 -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.00.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 16:00:46 -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 06/33] dt-bindings: pinctrl: qcom, sm6125: drop checks used in common TLMM Date: Mon, 17 Oct 2022 18:59:45 -0400 Message-Id: <20221017230012.47878-7-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: devicetree@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,sm6125-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml index 5cb8b272cb7d..843d110df240 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml @@ -61,6 +61,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-2][0-9]|13[0-2]$" - then: - required: - - function - additionalProperties: false examples: