From patchwork Mon Oct 17 22:59:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 3798 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1680672wrs; Mon, 17 Oct 2022 16:03:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7ANdOERDQR88IG5LhS0ff+RB66jMnZexVibXI9sdTmprHxsYUYMvP7SzuakrDN0aR/KQ4S X-Received: by 2002:a05:6402:847:b0:453:943b:bf4 with SMTP id b7-20020a056402084700b00453943b0bf4mr20507edz.301.1666047826800; Mon, 17 Oct 2022 16:03:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666047826; cv=none; d=google.com; s=arc-20160816; b=IWAkh6Vr5xCqXubY+7MAHQWpUv9PXinKMrZd+2+DcVnuZmOue3IMSRuQ8E9viiH2Yf 62soLMqkyZNaX2yM0XGFC4Zb60hrtmZqPeDf1/nE/ZGj9cmfZzENKevrM3sdjC5ofWoM oT30tTMBGAf4+Ewcjb4Xqg0agLSW80ZUwZqqQt8yidXg01jhPT7ePAl2dTPDDnkGZXIK 1U/Ru0vAcM+qM/rDwBxp1fgjNTKepHeKQ9dAztJ5aAxCx5JpP0IgD8ROPz5aVyaEPZCn 6QxdRjZyGKpOKBJm9yqzwKINeJVihAdN5cHB34zgQg3nqT0Ozsg6Dj+s2sH7krzf6Wyx 24zw== 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=aIrBy8IF6iGbWcZ0YVqj9pp5C/hpdRh+/4SU5uYRz10=; b=KzUPuYEbtcgJQIP8wuzG3jnJ2Y/zn+p+8q3oGSKIsKjZM7oaz8WAaG53Wimrax+3JZ 1HdyHgZaOMyWsbtdegd2cInVJqEi07OJkqT43WzxoBiU/0geHUjIScv9SiSOMTB+xIVs MEvZ3sgjsrdZrUHjv83xNl+PmBdfuKX5sAFvfDHQWkeEU7h+U4ek94q+/EYvLtKG0ewa 9sTGNEfNPdewBGnqr1pDaZUQwY+TJEHlChJ1FQJN+JMNgHvJEoz5iRcS4Tr0tCbiwzAL iBFCetCcoMvvnc4k6JDYtCF+PPItgloUe6HeDGVdQ2nLJffFsR/9+BYSZSqVFaM/nZQD tLTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Xw72h5CJ; 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 y15-20020a50e60f000000b004599f697680si9878822edm.458.2022.10.17.16.03.07; Mon, 17 Oct 2022 16:03:46 -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=Xw72h5CJ; 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 S229870AbiJQXBB (ORCPT + 99 others); Mon, 17 Oct 2022 19:01:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230163AbiJQXAp (ORCPT ); Mon, 17 Oct 2022 19:00:45 -0400 Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 081F31A808 for ; Mon, 17 Oct 2022 16:00:44 -0700 (PDT) Received: by mail-qk1-x72e.google.com with SMTP id o2so7648133qkk.10 for ; Mon, 17 Oct 2022 16:00:43 -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=aIrBy8IF6iGbWcZ0YVqj9pp5C/hpdRh+/4SU5uYRz10=; b=Xw72h5CJptrLGg990kTss8YhRMuEFAIb60XVjADFE1yb72w1OnNHRK/hOuwDC4MQcU OAycyhlhfAMb0kZtvm/Sm+dHfGr0msh/RsKk7ZcRsm/uhB0ByF7F2dLMDamtMStwpUBe F4iqhSXk+sDPxJ/Ck8jP+tr1rfZQQqCn1Uzi2mxBu0U/uAvrzLbe9dPFllRzYA1YYGQv H/Azd66XwTOzPKyqSNdgmlLjE0bd85DINJIvAERUeP9oyaVvu0lMMbRXuSFl8RV/ZWF/ BwfiLo3qhKO2xx/IpaMo9pYHKiaCXmp7hufvX6GPXLoFXyv7k1PLPEm6SeGWBnC8uHG0 SDnA== 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=aIrBy8IF6iGbWcZ0YVqj9pp5C/hpdRh+/4SU5uYRz10=; b=wydKz+OFcsC5to5KnAT0oB2TsclES4XfxjLLpCLkVcqmYn64WE3pKK4QcFVZapNTjz abYSozF5DaWG8PPMPrrbzfCf6DpKEQQWWAzB1SSdQblKYpci/GWkyelverRVyGHKZyFh c3y2B6aXpNpT2F6e/w7UIKGiKyPugTMJAdQ/Jk3Y/NnU60rLDhG36nQ2uBNj14CVzuDy 24Vwdga0ICV100BV4VUImAeQG8BopMzw+Uc8JihXsSUKpGEOmFKyrWBe8eoXBy+dubtS HvfS5ACNaXrWAkQyoVJKARREe99r0HNYpGJaXscHwy7pGj03HaIbJI8DJiNin5UOYZQJ GGvQ== X-Gm-Message-State: ACrzQf2UkUsYjthliqFTLe7f530btugb86ZMii7hrZJHUv44wMZqj+Vi nCaKXABajXwoN8+kK3mjBzBYDg== X-Received: by 2002:a05:620a:1293:b0:6ee:dfb8:d448 with SMTP id w19-20020a05620a129300b006eedfb8d448mr6710273qki.510.1666047643584; Mon, 17 Oct 2022 16:00:43 -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.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 16:00:42 -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 04/33] dt-bindings: pinctrl: qcom,sc8280xp: drop checks used in common TLMM Date: Mon, 17 Oct 2022 18:59:43 -0400 Message-Id: <20221017230012.47878-5-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=ham 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?1746977765904946278?= X-GMAIL-MSGID: =?utf-8?q?1746977765904946278?= 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,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: