From patchwork Fri Apr 7 18:45:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80958 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp473250vqo; Fri, 7 Apr 2023 11:58:29 -0700 (PDT) X-Google-Smtp-Source: AKy350Y6O+xjzVCrVUkRnrSta1/TCiRyHdzRorP7Lg+okufiq2KdjnR03h5VYl6FzvGndFwdFihQ X-Received: by 2002:a62:1d8a:0:b0:625:2636:9cd2 with SMTP id d132-20020a621d8a000000b0062526369cd2mr2824275pfd.18.1680893909318; Fri, 07 Apr 2023 11:58:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680893909; cv=none; d=google.com; s=arc-20160816; b=qZ1wT9rx9cqFvPrCvPp2rsXO1IPlFEF3buoJPXs9U3q3fgG+wrzNJdWkObnXtWzbyo /qXvVRDZxcVnYp47Zr+KmNOhk3F8MNzA98qCQwXkFYJ7rp/y11inV1/0h1pt3u3pyMbX 7bD/23AbTFPieJS9R80h04CwX3sVsnPhA0ATzROdwOycvoq52Yd2Aw4Wv0iL86X8t3JI tPK//oTXBCHNz6+JRg29o+oNhTvejQ6LzHqJd6lkoGncJQGAvxa/NcqReAEKdL5ImKvP DOk34FOiUeay+m5D3vym/JlEPDht/xN2XZeVaq0fwilebO/ATXG5NheE6R2VTfsqksSo AS9w== 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=NLdOesWPPy0FP5HwbMTJq+7UER6sR6ClxG8UtfuehM0=; b=Ya8L8iR452kRKlekSSjsufVM1tU8j81qqBi/nVIofxIngGbw2X//HsqKUkAN7RLLjj 0ciSN+cG22K3IuxunMsZWy0aT+N+cVOdbNgqycYtcR+5/prUy0X+0CgSgIjjQb7Vg9aP e7plVvWQg2m32D8QOnKwu8WYyG/cViGrDWePZa9fu8ONuT5E+ECyOB5FgQO4R6rs2UBv l6U6TMkAo+oMClrB6r6cs4TDjrYlfPrlox1HaNIh339ND9OngalcDmgCn9Ikbo4/LQx6 fe+MRE/NH5N1J9dVhDn+WljkudMfE03PlaVt6BfYgz+BQYKNHCSCyun89pnlQQdDyDe+ 4NKA== 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 g5-20020a625205000000b00624e7c7bb07si4274915pfb.265.2023.04.07.11.58.17; Fri, 07 Apr 2023 11:58:29 -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 S231835AbjDGSqR (ORCPT + 99 others); Fri, 7 Apr 2023 14:46:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231812AbjDGSqN (ORCPT ); Fri, 7 Apr 2023 14:46:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C00ECBDE9; Fri, 7 Apr 2023 11:46:08 -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 3ACD0652A6; Fri, 7 Apr 2023 18:46:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18B2BC433A1; Fri, 7 Apr 2023 18:46:02 +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 03/40] dt-bindings: pinctrl: qcom,ipq8074: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:09 +0200 Message-Id: <20230407184546.161168-3-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?1762545011651297531?= X-GMAIL-MSGID: =?utf-8?q?1762545011651297531?= 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,ipq8074-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq8074-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq8074-pinctrl.yaml index 3137db927fc0..e053fbd588b5 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq8074-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq8074-pinctrl.yaml @@ -53,6 +53,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: @@ -92,19 +93,9 @@ $defs: qdss_tracedata_b, qpic, rx0, rx1, rx2, sd_card, sd_write, tsens_max, wci2a, wci2b, wci2c, wci2d ] - 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#