From patchwork Fri Apr 7 18:45:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80987 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp480231vqo; Fri, 7 Apr 2023 12:11:32 -0700 (PDT) X-Google-Smtp-Source: AKy350ZPBYoLWqjDGUtpciLqtjmbpDp9MBleasMbFlsHkvlGwH1HXpP6cVVKeCSIlG/plYy9Ysnh X-Received: by 2002:a17:903:2452:b0:19e:748c:ee29 with SMTP id l18-20020a170903245200b0019e748cee29mr4099874pls.55.1680894691851; Fri, 07 Apr 2023 12:11:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894691; cv=none; d=google.com; s=arc-20160816; b=EKFEnveZvanJMNZdtrLEYaxnNSeFU81hycA+FAQcRGnUTZx3KgusvkgKkEHD8+oJ3l 9DtF+/inWgDyhSgceoMa3mVcP94Vu/1XFoJ8XBAjKgIuKWY+NZ53eFAr9Z/l3Er5JIxV QV6vELA4x6qx0uMMZGWoJet/TXwFo1csERfCBRI3AHz2J5bkfbNdj25Gc5BNVj5sS6lZ ze4QYqsJ0ZZI7Tflt6iEzVoxKOAQWWxwAxKw8esPc7RE9lyC4I1uvw0omqsJmPmzX2t0 9/5IPppqNRjRVPSEcVSxpOweyXnIJD3p+ilOovd12agUrS9/iigtmTAMNi+F2deEHF68 eGwQ== 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=HXAaersIhHpUnU7bhktW7cbzKs3PLMQKiXs9r1vhzCg=; b=BLyYPuWHJMQE2/OsspmEGHv9HdsawQycv+N7VPi5IUp+6fMI0AW/i023Z5Bv+3a0Qq TIAA6npkDfNF8G7ziCH6vJTu0skRsM9hO+LnBFp34ZBPHY2sYcMUKixOqUBMvrcdiUPx j7t13Ch9OuEIPigrv06iI+m0amOm6v0GIukBUsaGj/ZBQzU1zGtVYJy4phLF/EFBCBaw 38n/7F2IklejpMWg4hwgDiupUI6X5rUzyShzt8BoD5GwNkxVDZ8NZGLPPVTTHLx5vlC4 ZF8vPE5A4QbbkRvkzRcm/OxZPX9J8zni/8xpqPdZymcXs4GROZaEPX46Y36SFIHMShO6 TqOQ== 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 r38-20020a632066000000b0051344dd87f5si3924869pgm.194.2023.04.07.12.11.19; Fri, 07 Apr 2023 12:11:31 -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 S232280AbjDGSs3 (ORCPT + 99 others); Fri, 7 Apr 2023 14:48:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232487AbjDGSr7 (ORCPT ); Fri, 7 Apr 2023 14:47:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B996BD31E; Fri, 7 Apr 2023 11:47:33 -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 F164065226; Fri, 7 Apr 2023 18:47:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8237BC4339E; Fri, 7 Apr 2023 18:47:04 +0000 (UTC) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Stephan Gerhold , Shawn Guo , Melody Olvera , Bartosz Golaszewski , Richard Acayan , Vinod Koul , krishna Lanka , Iskren Chernev , Martin Botka , Danila Tikhonov , Abel Vesa , 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 15/40] dt-bindings: pinctrl: qcom,msm8994: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:21 +0200 Message-Id: <20230407184546.161168-15-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 X-Spam-Status: No, score=-4.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_HI,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?1762545832112221477?= X-GMAIL-MSGID: =?utf-8?q?1762545832112221477?= 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. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,msm8994-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8994-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8994-pinctrl.yaml index 0c4936fc35ef..41525ecfa8e3 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8994-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8994-pinctrl.yaml @@ -55,6 +55,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: @@ -103,19 +104,9 @@ $defs: pri_mi2s, sdc4, sec_mi2s, slimbus, spkr_i2s, ter_mi2s, tsif1, tsif2, uim_batt_alarm, uim1, uim2, uim3, uim4 ] - bias-pull-down: true - bias-pull-up: 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#