[23/40] dt-bindings: pinctrl: qcom,sc7280-tlmm: simplify with unevaluatedProperties
Message ID | 20230407184546.161168-23-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp474975vqo; Fri, 7 Apr 2023 12:01:40 -0700 (PDT) X-Google-Smtp-Source: AKy350bPlLHqaagiT+BUaUUjGKH6D5eYfRKnfW4t1PMiYeMEdonMeVMbiHqwyhimRF8+4yNMhPk4 X-Received: by 2002:a17:90a:41:b0:23f:1165:b49f with SMTP id 1-20020a17090a004100b0023f1165b49fmr3393459pjb.38.1680894100179; Fri, 07 Apr 2023 12:01:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894100; cv=none; d=google.com; s=arc-20160816; b=BEhr2i4oarNXRt3sEtohZkRNs7oKI9tXvbHbqhQuADMb1FV/ELZGMaEGAygzLCbdJJ 4Tt6FLhb8JVvDv4aNx4DA1c58fxeMuYpiAaVW7uO1/oZV7TnVE+03eIPNqjSyPTUgrHW DnptZ1IxfHp2lU0f8Vn2luw5IXX3mMtJLTvUu0QHJpwVwu7WD8mqWIJF+FpXjVJs9Xwe 0P3vNIE09jOqvNs091Vb6JUffaPPaemQaxx0vD1e0uy9bbZMHeFfEwxS+Ks8CyPEYgNL KYOFODfeVmb/LjunCPcOy9QZCVDjpEs0Y43sbgUa+xjHLVjARNiZvkA+HZw0uNfVO8KK owdw== 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; bh=iNiSwlZf9+Fweo+umBf12P02gl5QapMAbLasA7tGScM=; b=RGQKugUQIQVHm9o3MCeso+QmHUy3wzoH2XN3pN4v1a3j5q1d+spjky+rqw3aZ1Wy20 rFvcK8y9CqVW14djh5+K6M+knOVcJ+wlwRtawOmCHunoVEW8B3JRgeLwRfF7Fqn3M3hy ZRb1GM74uBcDn6xE6w1ey1OLSf3LwuyD6G5JmNFq0i8zAZiqJBk//nkZ49onHGHPHGlS eoQAvxvUvx4NnLwJZV86MZrc0efDWfo5x4I3n0uAeBL9Kl4c6djzZ9aeg5FO0E98rwbg 6M9wCtb5Jx7DDNmpKzzHCBwd1peOZdSlw8YAXAHQT6Z4ho35wvwtklVRDYEy86EVFI7O kYsA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 jp14-20020a17090ae44e00b0023fc0a96e42si2042642pjb.181.2023.04.07.12.01.27; Fri, 07 Apr 2023 12:01:40 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233201AbjDGStI (ORCPT <rfc822;a1648639935@gmail.com> + 99 others); Fri, 7 Apr 2023 14:49:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232862AbjDGSsY (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 7 Apr 2023 14:48:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2188CC1F; Fri, 7 Apr 2023 11:47:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C26EA64D63; Fri, 7 Apr 2023 18:47:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7007AC433A4; Fri, 7 Apr 2023 18:47:46 +0000 (UTC) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Linus Walleij <linus.walleij@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Stephan Gerhold <stephan@gerhold.net>, Shawn Guo <shawn.guo@linaro.org>, Melody Olvera <quic_molvera@quicinc.com>, Bartosz Golaszewski <bartosz.golaszewski@linaro.org>, Richard Acayan <mailingradian@gmail.com>, Vinod Koul <vkoul@kernel.org>, krishna Lanka <quic_vamslank@quicinc.com>, Iskren Chernev <me@iskren.info>, Martin Botka <martin.botka@somainline.org>, Danila Tikhonov <danila@jiaxyga.com>, Abel Vesa <abel.vesa@linaro.org>, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH 23/40] dt-bindings: pinctrl: qcom,sc7280-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:29 +0200 Message-Id: <20230407184546.161168-23-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230407184546.161168-1-krzysztof.kozlowski@linaro.org> References: <20230407184546.161168-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762545211905962233?= X-GMAIL-MSGID: =?utf-8?q?1762545211905962233?= |
Series |
[01/40] dt-bindings: pinctrl: qcom,ipq5332-tlmm: simplify with unevaluatedProperties
|
|
Commit Message
Krzysztof Kozlowski
April 7, 2023, 6:45 p.m. UTC
All Qualcomm SoC Top Level Mode Multiplexer pin controllers have similar
capabilities regarding pin properties, thus we can just accept entire
set provided by qcom,tlmm-common.yaml schema.
This also fixes warnings like:
sc7280-herobrine-evoker.dtb: pinctrl@f100000: qspi-sleep-state: 'oneOf' conditional failed, one must be fixed:
'output-disable' does not match any of the regexes: 'pinctrl-[0-9]+'
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../bindings/pinctrl/qcom,sc7280-pinctrl.yaml | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml index 36502173cb79..368d44ff5468 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml @@ -62,6 +62,7 @@ $defs: 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 + unevaluatedProperties: false properties: pins: @@ -110,20 +111,9 @@ $defs: uim1_clk, uim1_data, uim1_present, uim1_reset, usb2phy_ac, usb_phy, vfr_0, vfr_1, vsense_trigger ] - bias-pull-down: true - bias-pull-up: true - bias-bus-hold: true - bias-disable: true - drive-strength: true - input-enable: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - allOf: - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml#