Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp986936rwb; Thu, 6 Oct 2022 07:09:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6xjX3q/5YOw6wLtYDOjOZlRHuf/iKAry3PErTXtvfEFijr/LdKrYuwr+9AWYFa/RLHjkaE X-Received: by 2002:a17:902:eb82:b0:17d:eb32:5ed9 with SMTP id q2-20020a170902eb8200b0017deb325ed9mr4813374plg.130.1665065343314; Thu, 06 Oct 2022 07:09:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665065343; cv=none; d=google.com; s=arc-20160816; b=Sa3ySzkqanWy0s/pzg9qrpAq0NhD4C50i/+H4+NaRUQPuPOrNvg4WnvazLtPmE7GHe inm0/qSfT5dEmQR+0UsnXRklD6w3UcNIOpDNCquI8ecPeE6LBupHdv+zoO7+aYYARW+q eXVpA+iDAp9PdeWqIqzpskmLvNn5JKQtwrD97rDlc4MbOqTeVNAexUI/ImqhuUIQkuiE 8LK2O5N7KwUJb8V+UIBbNcKSjBO/SbIly2NBJbUrDkzIwsQuCY6gV5ZQACW1KOLGMT5W mag//H0mczigtrgLRAzM63vEsa9bqGZQnyYrKIIaRiVr24XzLb+GNN9rIRHAsnE1HuC5 q2xA== 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=xBxAAAZqbJepJDx7ev8I2JTmsTNcdA/fWXko/W5ivCo=; b=Nsby9ofJG3PlmtW9AkephPf+7KEE3je9Z6AFAV1u+3AWlutWOJIpSARbNoBXuyXHBa Q8UKyUatDmNR2BEDsgt81vlXGIxl79TOHcIvQ+qXdcq94yoNayxSWHUyfCj5FgL3zDbX /RCjqDYkLzxhey4z+zQby+UX4C5Spks4VXe9p2vDRLYJ5f2Tl4fyApiYBBQdsa5hdmzc 9DMdus20Q70sDPARFkmi5LE7ol1wGHHzr3klHOh/dkBAN52gVdyCwnCg3nfgwI2e7f9t v46bQiLPb8vGjndlYpu0NNa2DqsHYT5dw3iAm/f+q+Zx16yTQoGQt6SFjSE+TpR00n3f ks5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="pSMml90/"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m12-20020a17090a4d8c00b00200a44427ecsi5196828pjh.100.2022.10.06.07.08.45; Thu, 06 Oct 2022 07:09:03 -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="pSMml90/"; 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 S230360AbiJFOHN (ORCPT + 99 others); Thu, 6 Oct 2022 10:07:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231558AbiJFOG6 (ORCPT ); Thu, 6 Oct 2022 10:06:58 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2606DAA34B for ; Thu, 6 Oct 2022 07:06:51 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id o7so2873212lfk.7 for ; Thu, 06 Oct 2022 07:06:51 -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=xBxAAAZqbJepJDx7ev8I2JTmsTNcdA/fWXko/W5ivCo=; b=pSMml90/TjIKtdorzvxFhhT133Jo9ciYhASMz19zV2kK50XdjAwJwv5lO1VYVwqyED II6rwRGfYwIIXEE+dQYkMSSATa3bK9VVxTiHZ0gdtuIAv4ynKdD2L0/yQNADEDyxZBbt fcidvUjivcz7Ho5QV7RYge/D4B9+h4NJoV+/fkHrpxoDZ2hRAnHNeA/0eaGU8+fPZy0A gNsJLdbHoLPDsj0NfQgaQ7YXtrbsa5kox9fZqeBiNnXtmFIfc/XmzEv1s8DTlumnX4OF AxsZiGQv5e4zyAFmBbiZi5cEcHOVRtEgFkmNWoQfc6FHdcorcPQZFVTeIuhUi3yfGChK oeZw== 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=xBxAAAZqbJepJDx7ev8I2JTmsTNcdA/fWXko/W5ivCo=; b=t7V00r5bRJt5v6/dU6D8OiNRGxGomr6XnaBW0KUdXb/OhL2c01ZNdrsz0vIotrfdbc +H0AMkcAmytLSEpnimT+lN4tKaIFGoxtHdC8TvLtZo89Ucg3Bktbw33WT4b41iPSqycQ rIzDLGw2sAwzxtgHL9Bk73i6UKhFtJjbWG2Oc+94oag1GPh2IXherjGa0gjdAHzrO6J+ kjf5M+4PpYgr2OM8l9YVE4xV2fqBti2R+ILZFAHts0sW9ca4xmq2OY/+lMUwNt95PK5p mSbIEHEEl0lNbcAGq9iLAeGcaZhQ8zQD+34XXkQFM3joH/wJx7Bgh6pFhuMkFFvnIVyM tEdw== X-Gm-Message-State: ACrzQf1peLG3XfGRQI0uWswPWJD9l8xLVFXY6SSBVkvgR7LyEnXmWQGn RnqBU6nW8M+B9HFY/0NBjAU1BQ== X-Received: by 2002:ac2:5108:0:b0:4a2:3d2f:7bb9 with SMTP id q8-20020ac25108000000b004a23d2f7bb9mr46186lfb.49.1665065209493; Thu, 06 Oct 2022 07:06:49 -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.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 07:06:49 -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 05/34] dt-bindings: pinctrl: qcom,sc8280xp: drop checks used in common TLMM Date: Thu, 6 Oct 2022 16:06:08 +0200 Message-Id: <20221006140637.246665-6-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: 8bit 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 The common Qualcomm TLMM pin controller schema already brings requirement of function for GPIO pins. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml index 0b251caaebf2..886d4e76af44 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml @@ -53,6 +53,7 @@ patternProperties: 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: @@ -113,16 +114,6 @@ patternProperties: 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]|2[0-1][0-9]|22[0-7])$" - then: - required: - - function - additionalProperties: false examples: -- 2.34.1