From patchwork Fri Apr 7 18:45:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80984 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp480050vqo; Fri, 7 Apr 2023 12:11:07 -0700 (PDT) X-Google-Smtp-Source: AKy350bk9W1H+qfRz9SiD4C/GaiQ6du6w1Jmk/LeanaNo3kwAWx9YqqhePp4jf5G96gsEh5iMFRT X-Received: by 2002:a17:90a:73cc:b0:246:61fb:6269 with SMTP id n12-20020a17090a73cc00b0024661fb6269mr1735697pjk.22.1680894667171; Fri, 07 Apr 2023 12:11:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894667; cv=none; d=google.com; s=arc-20160816; b=piR1SXLj6Cs3EVY2n113Nh7g8BOIJ8ZsiI23yM1eI+ag+r5/Y0OZrZVOkPjtWkn4M3 yvH/5web8Mlf2sMI67cXHkG25MypQOs/SnX/ClZb1jKSMbRco71VQ3i6FaZ8Y71M6Wa5 aOKfF/LuJpsay6o3ZGQ8liXJXtMrGHY4pB1ep7yOMfXcAxRjQ71m6zt+wMExoVTjc7Wr vGtXxgtXc1I+wKvpqs2xY4xR8pZ+FhvsK5uHUvjrhxdzueo4ODhDgBHU4THxCaCHzdUj k2cUuwAxCU1Opue+/GqcvnAxuZyG7ZXxumo9Q6G//CEbXiFdaEIbr5ydDIkFnf+gjQJY htnw== 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=1t7DVarmamYDS29UXW1JMBzbdHqYbhcJS9tBMgIM25s=; b=BIr6jjsCaDVDnQOPW+13EWPMzKXy7bRtyn3K07Uf7vuwD7wxISjYUABoDxQCM5jCAr tnnhR+UFUP6NRFHyXOJN9Zk8G8bJCfy9sowItwsnBwGmyaufHQ/tsqpddhQ+HgzGN2sX mEd1B+ignxoVycx/QHsQZN4aqP3S5JdGY3B6Cq2ArWcpdZGf7zVmbHmQerG30ZhrtA5p yUgTieKL+shGfXUDxKjLEVIwstcX9DeIsF8P8wCL9uMoBtRlRM0CcPRraSuBcVtQ6Je3 7Df9BSEgc6it/UVinzGL3kY9PEM/fz7eW1IXX3ATuqaKqQbtNu0ZzbOOHApYp2C2XCLe yZnw== 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 e18-20020a17090a9a9200b002466cb15137si429833pjp.178.2023.04.07.12.10.54; Fri, 07 Apr 2023 12:11:07 -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 S232523AbjDGSwG (ORCPT + 99 others); Fri, 7 Apr 2023 14:52:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233686AbjDGSvl (ORCPT ); Fri, 7 Apr 2023 14:51:41 -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 AE222EFA4; Fri, 7 Apr 2023 11:50:00 -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 ADB5D65229; Fri, 7 Apr 2023 18:49:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BCB5C4339C; Fri, 7 Apr 2023 18:49:05 +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 38/40] dt-bindings: pinctrl: qcom,sm8350-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:44 +0200 Message-Id: <20230407184546.161168-38-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=-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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762545806312935406?= X-GMAIL-MSGID: =?utf-8?q?1762545806312935406?= 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,sm8350-tlmm.yaml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml index 797242f68b1c..6e8f41ff0a76 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.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: @@ -104,21 +105,9 @@ $defs: uim0_present, uim0_reset, uim1_clk, uim1_data, uim1_present, uim1_reset, usb2phy_ac, usb_phy, vfr_0, vfr_1, vsense_trigger ] - - bias-disable: true - bias-pull-down: true - bias-pull-up: true - drive-strength: true - input-disable: true - input-enable: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - examples: - | #include