From patchwork Mon Oct 17 22:59:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 3815 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1681868wrs; Mon, 17 Oct 2022 16:06:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7AW3FdJN8LyxHy0SeYseed+bt/NDAs2xInw4i3GoCwX4uglolbpkJJRPzDoQOySp8oAF7l X-Received: by 2002:a05:6402:26d2:b0:45d:280b:5878 with SMTP id x18-20020a05640226d200b0045d280b5878mr25428edd.385.1666048001415; Mon, 17 Oct 2022 16:06:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666048001; cv=none; d=google.com; s=arc-20160816; b=w570PjM0/8LeirNSg2yN69P7Hxg/5Y+yXlPWiR3xU39oJvtxlkgS3KmuZ2flAKy90J zzzlzudm6OvdrLSqddQ6lj42hFR1X2IEMT1mBsblffJ0yQM6JTLcRrB6O6HqPcPWZF3x CpAGAt5OJUcZF/Ajqb6RVqzxVcF8XJiwLDvNsExubrpb5w67+Pcna4M9QteKK81/6Q7K 8sC+c5c6LIOADz9panzMBN9pMr0V+m9nfGrVIBqSg+uhPMiKSKj7s4h8cqCGc4k5SWUe tVbfH/oafafPVJBhB1et5/gqTMMIBtDx+K5HnxVjbTClMvAKapHhVuT4YIDwZHviSAOk ZNdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lL14UiPeKdh/QD6+joJS9aO6pvdHV6+MX1LEVoDNOrY=; b=SEjYy2qKKfvZBnZomAFF9Ei3tj+SkqI1CA9KtplPQdGKVnfGO6j8Hqp3C4KFDWKdIE km3IAStUrsFuxFaOftuaPR4cYh/KkJ8m4AgYD5L/kWJRShUctNNWt5Es1UWukHdJzfhF oiQrCvILDmV3/76nz7pwDLsqKwuQ7AemjiQaua3ldp3veYDpUn0kD5wiF6+NCS3L25lE 8DnS2YMWfnmlaQ6Re3sLvX9egNvUlAyJfpaCSPggAKhIRwKLFwdGQsiugdtd7SLQk4Ty sEE2bj6IJIsLzQ/UO3uJfRUziW+4zijnOBX3XpBO81bs9+t24OzcJACp3mttHt69b8AS yNHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TAsTICd0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s16-20020a056402015000b0044f2fb68fe6si9108983edu.495.2022.10.17.16.06.15; Mon, 17 Oct 2022 16:06:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TAsTICd0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231359AbiJQXCr (ORCPT + 99 others); Mon, 17 Oct 2022 19:02:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230495AbiJQXBm (ORCPT ); Mon, 17 Oct 2022 19:01:42 -0400 Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E94083077 for ; Mon, 17 Oct 2022 16:01:23 -0700 (PDT) Received: by mail-qk1-x733.google.com with SMTP id s17so6481252qkj.12 for ; Mon, 17 Oct 2022 16:01:23 -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=TAsTICd0OgUrPqwCzBtvgs5YgZ5Ohv5rT5bqEILH0ayaIGVTaN6Eo+PJaS9VLHEgCE 0H+HkOHLJjqG56g7kjoc9A9DsN24HpiZ1K1OGULU5S9guvWzjjWIBYHYcW6gy1uj+VWf w1R/7UPkySjIHeeHpkVynyO9vVBL8YqFxVUjIAtaX9YFRfQpBjlBSceIjrhwPcNgx+BK mN7XoGknua7ERKlKF4hf4tcRY2y0jyBvRmQfwfr4wxe5bjnvlN9OnVrqvBJnnEC0EB2o MMZYlE3ODmndJymWXt7wTScXp0hbAPAq2YyPSvgXk0xRVLipnG6YqXqb3jv7cQ0eJjx6 C2tQ== 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=m3Z779EyXedjPVFWoDi3GTYnyygOhz5cnYeta/2ORN+g0+xWKRu/y32pcgFefXkULQ +bkUNW1VNtp5pqrzYuW0ehE6UADR9VVAG/+xyHXD6YI4GlHuBG2uqN6+HjKcizdxGbxx DXc7kkF5OpSrPRpqs4B6yA1Vf1qdOCtmALeJgfyzwZsY6szCEwklzCpEjCoTLMdruIM7 7AO+EL9r1REyvt+/iT5eYmzEt+rVO8p2poKFYZEsUoYxQrci0bI+LJrTZgC386DkNw1c +GzlBgSaGYtrXT0WvDfquPjO/S2TJj0f9T5p7AM8ffcqv71Ft6nMO7kKejRUUN/PQbhh Zu3w== X-Gm-Message-State: ACrzQf2iWBK+Wtmuze2nj3oTF0IHyAUVJT12nsjl9bqRfYWcfuCehPF3 mi2Yb+TF7uFPNtyTMDyAGOwfdQ== X-Received: by 2002:a05:620a:4549:b0:6ee:ce57:796c with SMTP id u9-20020a05620a454900b006eece57796cmr9383887qkp.373.1666047664871; Mon, 17 Oct 2022 16:01:04 -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.01.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 16:01:04 -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 15/33] dt-bindings: pinctrl: qcom,sm8450: drop checks used in common TLMM Date: Mon, 17 Oct 2022 18:59:54 -0400 Message-Id: <20221017230012.47878-16-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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746977949175255331?= X-GMAIL-MSGID: =?utf-8?q?1746977949175255331?= 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: