From patchwork Fri Apr 7 18:45:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80977 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp479319vqo; Fri, 7 Apr 2023 12:09:38 -0700 (PDT) X-Google-Smtp-Source: AKy350aWgd16keCmeyGvYrfvg2x8+bS8hqDFaeJ8nwL/uDQWIrazm17CGJdGq25oV8WZKG8wQ+8f X-Received: by 2002:a17:90a:56:b0:23f:a4da:1203 with SMTP id 22-20020a17090a005600b0023fa4da1203mr3546121pjb.19.1680894578654; Fri, 07 Apr 2023 12:09:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894578; cv=none; d=google.com; s=arc-20160816; b=s7yDiTZPyL6q0YQtZmAIJtZZVPu7/DuNBZjf02Ah7fsnpQ/vwYQFqLVfb/3i8Q3vfZ tHDrr206xWEiPAY9C4KHoDadRuOeGWuK42xlkuIYas0G2fvx/3FnMTnY8hQcK0zqfGMe bKhYtzGlbX7iUvrhgTAEs7SRmQFmEEdLxv0bxXQuGlB2DTFYcnJ3he1X5O6VxExeO05z HzoSEXS9+de9vmdWhJvGAV6CTrKxNxc1JpCHJlF0sIIz8APRGjcWHa1ij4P2Mi3nbDz3 v4DG7M8lVak+oQuKXNGbitj7Drtqu589otpXDjspbIrW9WUcgJu+f42y1ncf5JXLhjyZ rpWg== 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 :message-id:date:subject:cc:to:from; bh=b55hc/nqTSnjLXIhAqA/KXekhE7SBLJT0O6znBsApu4=; b=vY2oqAFVW1bzWsmLPOJ4itvmiu03Y6akmR7uIeEMMjDsMIW7PBMhZifR1JH3uA+3Mw wTbGSgvSgxqxmg3u4U4VikbUeZcQ5FKFutl5n+oQRQjlbh9RW/HdwN2efjJCYN7n9Hsq GxRkjAorUDNGaZJsLNDKrn6wWWeKvRfUId4BqH6xMUUSPcOXd5C9meH5XIiwmbqK+Zq3 IVCglG20sTcdB5Wt+9RAq0FcY8/KqGlXoVrEj8lpOLmAmi3TjIl8hwqj20WG3r+RPTdB hD6OmgTlJe2Sua+w5zrl7Z/xk6NSAW7Q0sZpaM6zPJyV4iiNuKWm34nv8B4eSWZ9qwQc Rpzg== 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 r21-20020a17090b051500b0023747b24923si3250874pjz.53.2023.04.07.12.08.56; Fri, 07 Apr 2023 12:09:38 -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 S230430AbjDGSqB (ORCPT + 99 others); Fri, 7 Apr 2023 14:46:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230359AbjDGSp7 (ORCPT ); Fri, 7 Apr 2023 14:45:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54EB7BB8F; Fri, 7 Apr 2023 11:45:58 -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 DC8B7652A9; Fri, 7 Apr 2023 18:45:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 693C4C433D2; Fri, 7 Apr 2023 18:45:52 +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 01/40] dt-bindings: pinctrl: qcom,ipq5332-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:07 +0200 Message-Id: <20230407184546.161168-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 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?1762545713431536593?= X-GMAIL-MSGID: =?utf-8?q?1762545713431536593?= 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 Acked-by: Rob Herring --- .../bindings/pinctrl/qcom,ipq5332-tlmm.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq5332-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq5332-tlmm.yaml index 300747252a7b..3d3086ae1ba6 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq5332-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq5332-tlmm.yaml @@ -56,6 +56,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: rx1, sdc_data, sdc_clk, sdc_cmd, tsens_max, wci_txd, wci_rxd, wsi_clk, wsi_clk3, wsi_data, wsi_data3, wsis_reset, xfem ] - 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 - required: - compatible - reg From patchwork Fri Apr 7 18:45:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80965 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp475198vqo; Fri, 7 Apr 2023 12:02:01 -0700 (PDT) X-Google-Smtp-Source: AKy350b7yuzEOpwV8qRn9qnh/XVleoNOZSwNOP3KQZfDYqfQqtWbSQvmaJPbz6b/+aWKtmE/wDBY X-Received: by 2002:a05:6a20:4ca8:b0:da:db55:4a35 with SMTP id fq40-20020a056a204ca800b000dadb554a35mr2845579pzb.4.1680894120885; Fri, 07 Apr 2023 12:02:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894120; cv=none; d=google.com; s=arc-20160816; b=GUSZfQ9xJW6dW5PvfQKrYH9brGEFUoN3jkDUxrjcgs29kfIEd8KfPfxy6CHq0hIii/ R03Uah0VAR8MqIMTbcMXEKjgFuPoLsrAgrlNJxrx963eXS/3+TEYjdOVa0iMfRyzu8Ut yYrRh3VAamvFFdgJvxaUjOdOE+iX71lJA0E+QnFrFRQ+79+a3woWmVo3EEY95q6E4rAA MzIxvqN5zoCJiZ3Dg5PbWm6liHHgEEaPbAGUv6Wc15eUoBFDX/OQuxr8Hj2Kd4Qmgnl6 IHp9NfDdSDCtOtRq85ZvMaGO/bXVd94Iya+Bh4bWPHKYmGQbl/Ll1iTI3VbpQIq/1zlZ JjwA== 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=7BnBmIZgr913TGtcThEOdsFAYUe7xIEXGM5mPFhaxyY=; b=sA2GXTbcS9hWLFCtFs/dNSyu86pIAMW7qW+FSDUcXetKHrPwQLrv6luReXDjU3NQTJ Dk46uufjo84IY8GXHk6ggDWOXvY61s0yQannPvUwhld3UTLojoVe8ukTZGNlu8Y3DQjM vqGxyCPPBD9PnL2TOMR+peleOZtSw2V3ttaAD52PkiAmGYzwN8VKqmlcFJlzh5598tJ0 eVoe9/MiXntmRlku7kHp1wNeGI/SQf+ks1nhpbGLwVbveqg9zBfC4ovDLqbxm4a7Tlkb dBOEgylFBDyIy+BlP/HDfudihKnKMLDsK3KO1Fg4Vh4ggaCwSU21tN5rZ1RAVBMvewkn 8dRg== 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 d20-20020aa797b4000000b0062a684aaa9fsi4100478pfq.370.2023.04.07.12.01.47; Fri, 07 Apr 2023 12:02:00 -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 S230284AbjDGSqH (ORCPT + 99 others); Fri, 7 Apr 2023 14:46:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231206AbjDGSqF (ORCPT ); Fri, 7 Apr 2023 14:46:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DD64C14A; Fri, 7 Apr 2023 11:46:03 -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 1E9D1653B3; Fri, 7 Apr 2023 18:46:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B847DC433AE; Fri, 7 Apr 2023 18:45:57 +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 02/40] dt-bindings: pinctrl: qcom,ipq6018: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:08 +0200 Message-Id: <20230407184546.161168-2-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?1762545233589091670?= X-GMAIL-MSGID: =?utf-8?q?1762545233589091670?= 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,ipq6018-pinctrl.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml index 28f1b6a07b70..7c3e5e043f07 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml @@ -43,6 +43,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: @@ -89,18 +90,9 @@ $defs: sd_write, sec_mi2s, smb_int, ssbi_wtr0, ssbi_wtr1, uim1, uim2, uim3, uim_batt, wcss_bt, wcss_fm, wcss_wlan, webcam1_rst ] - bias-pull-down: true - bias-pull-up: true - bias-disable: true - drive-strength: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - allOf: - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 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# From patchwork Fri Apr 7 18:45:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80950 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp472931vqo; Fri, 7 Apr 2023 11:57:39 -0700 (PDT) X-Google-Smtp-Source: AKy350YQvcxgMleRG6EStIqxLewH1mHoifRWrR6gDASVOGRHJpgxWaHScMXKzQAF+zQbdmMqt54N X-Received: by 2002:a17:90b:4b44:b0:23f:b609:e707 with SMTP id mi4-20020a17090b4b4400b0023fb609e707mr3767191pjb.2.1680893859599; Fri, 07 Apr 2023 11:57:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680893859; cv=none; d=google.com; s=arc-20160816; b=BtU2utnX9HfI+GotX7tjB+WG6QfomV2I4JZoqsCweZ5irYVktPOPYA89EAucDJK0zr TDfyHUTeWhfvFyqng1G8nD9aSXWRgW+de2eAO2j54RmnCniukvAXknrw34GZjiH/9LTC Zx2PVkTY8R3hA39dNjqPsaXCI88//4vHbfOaM48+vo1tvpEY2nobWi35XTjCmkeIadJj nGSQx1VagWRbKZcTZzCz6qARWNwFNcuHEI1o2RR60pcCPiHndu+btXOWEEc33YU4cA9Z 9LZJnJqiKXW8upJZ9n7KG8V5dLncdLb9P4ECKlVpsNoiS+QuXEk2XlNHOO/xMgyRTW1O YfZA== 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=BMZ0kVvcpf/JVM/BXm1a1QjlK/6AKJh5P8facjX2U+w=; b=dAacU0uEZsnoYvzObO6iqFqBR3mlQfpkLWiYNTrNZFFtoTEZkZF0H9ig2OaqKkb6Ze Gs/RCCXP/XzszN+flYaH4p2uqP2jxFGmoQk3RLRzWZ4Qu/cEDemgOpcgAlnoMgeL/XWW BOOFvlEfVIaFfuMng+xFzoB758aGEXQnLQcCznGDgdivnw/fSWdBYBbv8/lEDI29mPMu kLvS2eWnIItinHsuGSdhytwyFZjX792Bcqj4mZYfoPCnwH2HlGB5HC9nr17QgiJ/XfGH EOJ5SE62o262U+Uy0DZhkMJAiKKMNe2oN5VuwYm3ikuV2wWXZtrRDv9WTp2MTpp7VlG/ bgTw== 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 u70-20020a638549000000b00514477c441asi4132450pgd.737.2023.04.07.11.57.27; Fri, 07 Apr 2023 11:57:39 -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 S231819AbjDGSqW (ORCPT + 99 others); Fri, 7 Apr 2023 14:46:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231360AbjDGSqU (ORCPT ); Fri, 7 Apr 2023 14:46:20 -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 1781BBB99; Fri, 7 Apr 2023 11:46:14 -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 8EC77652AA; Fri, 7 Apr 2023 18:46:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F685C433AC; Fri, 7 Apr 2023 18:46:07 +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 04/40] dt-bindings: pinctrl: qcom,ipq9574-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:10 +0200 Message-Id: <20230407184546.161168-4-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?1762544959905486149?= X-GMAIL-MSGID: =?utf-8?q?1762544959905486149?= 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,ipq9574-tlmm.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq9574-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq9574-tlmm.yaml index f32239d08c32..6e642f1708ec 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq9574-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq9574-tlmm.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: @@ -86,19 +87,9 @@ $defs: rx0, rx1, sdc_clk, sdc_cmd, sdc_data, sdc_rclk, tsens_max, wci20, wci21, wsa_swrm ] - 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# From patchwork Fri Apr 7 18:45:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80967 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp475549vqo; Fri, 7 Apr 2023 12:02:34 -0700 (PDT) X-Google-Smtp-Source: AKy350ZqLh8G1xLVzfbD6GLyliFN0Ciff3SyZGlA8GQMjkGdtMxWKNJX+FIHjlaBYQKh18fy41c5 X-Received: by 2002:a17:902:f683:b0:1a2:76b6:c26a with SMTP id l3-20020a170902f68300b001a276b6c26amr4757836plg.28.1680894153952; Fri, 07 Apr 2023 12:02:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894153; cv=none; d=google.com; s=arc-20160816; b=OSs95xnZLlWneaCUDQR92uHL5+u0aJP8f7VbazmcknF4ajgK/6GXQjmwVE6rk1rQ2y kT8sCAWqaIW18i8vr2gXDi+D152/l9MOJ4ThsT212fkPQ6I3tYf349ow6fBg5aYhEyaJ q3iNg4DcD6fk3V3lsq9wuNqlSwc+LMUaxfcX72IqFfiIvu4IKW8kgLeJiYRmqcCFmrii 21N3ceEmgk6onvHVQLRWLaZbwG81dG85VJC8K4zVNhMtcLFSg08IcXFUfzUpwowjy8PC MhR9IByRnd7F6ahvVBMconqvHGKNfWxKFB4o3uFUj7iP4yCVnTtIqreQ6axTutCGOaqs 6SnA== 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=z8Mex5siLL9unfxVMnK2T21AEb5XNKVXXq70+mFwdsg=; b=ui04mC5OQBU7g/lVG2qUGhJ6SH63oELdldFsalBubIpAU0BSx4adJmgZ2CYxdwOeGZ IXFC6kd1wXKaEKec3IXAyhfEYtxKc4HHMspepN1I948d9X6Xe+rIdFWaCEM+SWxU5DbQ 6vLGsSk6Y/m1dY7SNvxtvoU5GQq4VpCea9nD7TVdSC0LCAJG1DGIopn/YfBaWkMgKJno x3UheIAXnMJfy4jZH0wTJj5djbt9arvQT6+cPt7C/JO2S5g5SrOhLoxUifg6dkmveqwA xcRRng8t0no5czV9AQUqI/39ng+ZZ+y88xL/NdGv3s2IAjL9HOM+UcLm2E4xzy70SZZf xaJw== 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 u18-20020a170902e21200b001a05285773esi4299462plb.136.2023.04.07.12.02.21; Fri, 07 Apr 2023 12:02:33 -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 S232003AbjDGSqh (ORCPT + 99 others); Fri, 7 Apr 2023 14:46:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231670AbjDGSqb (ORCPT ); Fri, 7 Apr 2023 14:46:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F337C17A; Fri, 7 Apr 2023 11:46:19 -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 77471652A8; Fri, 7 Apr 2023 18:46:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 762B9C433D2; Fri, 7 Apr 2023 18:46:13 +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 05/40] dt-bindings: pinctrl: qcom,mdm9607-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:11 +0200 Message-Id: <20230407184546.161168-5-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?1762545268224671138?= X-GMAIL-MSGID: =?utf-8?q?1762545268224671138?= 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,mdm9607-tlmm.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-tlmm.yaml index 96b598bf9a76..2aedb7e7bc8b 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-tlmm.yaml @@ -54,6 +54,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: @@ -105,19 +106,9 @@ $defs: uim1_clk, uim1_data, uim1_present, uim1_reset, uim2_clk, uim2_data, uim2_present, uim2_reset, uim_batt, wlan_en1, ] - bias-disable: true - bias-pull-down: true - bias-pull-up: true - drive-strength: true - input-enable: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - examples: - | #include From patchwork Fri Apr 7 18:45:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80970 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp476078vqo; Fri, 7 Apr 2023 12:03:23 -0700 (PDT) X-Google-Smtp-Source: AKy350boRu/YH1qP0IddzvAvftDP/F1gExqMKGvfbyR1DpiDe4bnPo4NOdtsqc8AdQSDlWtfJIsb X-Received: by 2002:a17:90b:38ca:b0:240:d011:10b0 with SMTP id nn10-20020a17090b38ca00b00240d01110b0mr3680550pjb.19.1680894202664; Fri, 07 Apr 2023 12:03:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894202; cv=none; d=google.com; s=arc-20160816; b=ZnFS5j/9YD8X+b5l1WdI8nVVESR+9A+x0Esi7F8pYfmgnm+vl+KCR3MaCu2wh8PKTB hNpn0BsrUsOrHDnBlcKSW2FbB9BVxljL2TcHsvETq2258mUoXFz1OO6nyAlDelx/QMvl yeuKwoO6VcoDmdNxHz1GR8vkFWcRuzg2zunY5k0XAFXmyu9uJIMczDxE7GuDpzpzUJZ9 RnOJOLj7faAEajfCWqqLqxWIdKWgwTy/9f3LDCeM4w9H1et0G3QN6KXEygTjnH5YCtQo E6YkMYq5+uY2bJYKIBs/Gz+zuweC8Y+FNNrlJ/18sYLpoOTE95CRLDsx2h9F9oQtXaNG tcEA== 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=PwaGjw2PMmMPlCiseHjGiEaSMCJa9QDfVbTE43EMcEU=; b=S6opX71uQBnfArayy8C2E8GUPivgNW6A0DF95BgHQ7KxSwFDBKcrHkQCOEHetjlAei an+qCeeBC9GXG8MhdG4QRPrYlluBT2rRh0/TXgCgNPmMBzF3C1kB4+pCbMumCc+tE8/G LgbsgkeXVnE4gMNZszfEHi9E7Gq1LpUSfY0K+1v/Wc8djNPjpbRm3/2+SEOZC2f6qZIg vHfBhEZ6mCAIzNKyDeo3W/6QF3yn1IUw4ZQ8bmvJvmC9c3Ss06YVPjI/FrItZU8Whk45 P/jsX4C8vxTxyChJTR6AKuFH7ILElZ1CI9uEWuV6AXnnCJTZzjwGCA++r3yLHhL3ia+3 g0zg== 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 w8-20020a17090a1b8800b0022387a1f9a5si3972501pjc.134.2023.04.07.12.03.10; Fri, 07 Apr 2023 12:03:22 -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 S231814AbjDGSqo (ORCPT + 99 others); Fri, 7 Apr 2023 14:46:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231937AbjDGSqj (ORCPT ); Fri, 7 Apr 2023 14:46:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A6F6CA00; Fri, 7 Apr 2023 11:46:24 -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 8F33165389; Fri, 7 Apr 2023 18:46:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 632D3C433A7; Fri, 7 Apr 2023 18:46:18 +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 06/40] dt-bindings: pinctrl: qcom,mdm9615: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:12 +0200 Message-Id: <20230407184546.161168-6-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?1762545319393628439?= X-GMAIL-MSGID: =?utf-8?q?1762545319393628439?= 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,mdm9615-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9615-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9615-pinctrl.yaml index c7c94d742ed2..5885aee95c98 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9615-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9615-pinctrl.yaml @@ -51,6 +51,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: @@ -70,19 +71,9 @@ $defs: enum: [ gpio, gsbi2_i2c, gsbi3, gsbi4, gsbi5_i2c, gsbi5_uart, sdc2, ebi2_lcdc, ps_hold, prim_audio, sec_audio, cdc_mclk, ] - bias-disable: true - bias-pull-down: true - bias-pull-up: true - drive-strength: true - output-high: true - output-low: true - input-enable: true - required: - pins - additionalProperties: false - examples: - | #include From patchwork Fri Apr 7 18:45:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80960 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp473266vqo; Fri, 7 Apr 2023 11:58:32 -0700 (PDT) X-Google-Smtp-Source: AKy350bJZms03jl9IK4ApSH2atzooIwbvmTz3s/hfhwe0rtX2tbFeHdHpIhAQEVw06Z1HvGEuSDW X-Received: by 2002:aa7:9615:0:b0:627:de2e:f1a5 with SMTP id q21-20020aa79615000000b00627de2ef1a5mr3827149pfg.4.1680893912480; Fri, 07 Apr 2023 11:58:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680893912; cv=none; d=google.com; s=arc-20160816; b=Z3p58wVbfG6TzjaUYlTLtwoU68azXvtRNgqCU+WdB8zmimE1Z/8jKb4qKvBpA+evyG G3uDEe668cKqfP/wueh25I3e189qlSrOTEK5J2m7ahfTWkVDH+jkhfzx1FmKpEcZpVT9 pSGkQumITqSUlffYgA3VSmDU9fNp5BL0DpDmGvH9pJA9rAM90TP6rERGGH3mcAQXI1GA pUhe9VrvV3FvSvh/4G8+W42LnbGbTnVJSSkPRoB56CeYqNenNPGiI+J7PEn4u0jWFgAj ancGUmCZda4kjqTY7PUWXf9nMChFSMiO0lEU3kqEMMO7p5ri9w4VRlLnORg2b0zfQ+4j 5Q3g== 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=Cf9edWu3xcDU7E0d1C36uG5wLhBcUYVPQLDuleWiJZk=; b=UqUXk/l2nMNv/u0rNWXycF1XKeYwReVOxWxCraiTQ8/GoN6ZCcNx08prPnNiU7X1GQ 9IzzGKPsrvlTfuBVpCYscFx3zaOGsYama51hu+8HUozQQ0ejguhZnIk/Zh8JKQ+MEx1m elyOE0OZfCpmUi5qTLZmWDx4F1zDDt6i+oH6mJ92Vn2mIlF9CYw2VH6pZE2MwEetLwkZ yzfUMknk4SrmZqJYth/21dwKSb/0ysIWbU8SBHN41RGiPpBFAD5scHBVYCmTdQQ8PKnZ XJEMoGkXhGnmV2kFdrO256Tv27d6/Yzwl6ju/Rc30uT0LkibzAlJpMgoZB4w6LiTOlfY g0mw== 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 k69-20020a638448000000b0050fabcb44d7si4205009pgd.308.2023.04.07.11.58.20; Fri, 07 Apr 2023 11:58:32 -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 S231970AbjDGSqw (ORCPT + 99 others); Fri, 7 Apr 2023 14:46:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232068AbjDGSqo (ORCPT ); Fri, 7 Apr 2023 14:46:44 -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 14A42CA22; Fri, 7 Apr 2023 11:46:29 -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 85EEB653A7; Fri, 7 Apr 2023 18:46:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7BCC2C433AC; Fri, 7 Apr 2023 18:46:23 +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 07/40] dt-bindings: pinctrl: qcom,msm8226: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:13 +0200 Message-Id: <20230407184546.161168-7-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?1762545015202846053?= X-GMAIL-MSGID: =?utf-8?q?1762545015202846053?= 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,msm8226-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml index 6cb667fa8665..9efb76509580 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml @@ -48,6 +48,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: @@ -71,19 +72,9 @@ $defs: blsp_uart3, blsp_uart4, blsp_uart5, cam_mclk0, cam_mclk1, gp0_clk, gp1_clk, sdc3, wlan ] - 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# From patchwork Fri Apr 7 18:45:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80971 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp476269vqo; Fri, 7 Apr 2023 12:03:42 -0700 (PDT) X-Google-Smtp-Source: AKy350bFAACxB2Ws4BTsMnSt4QmR09WXea+daU//FjpcHaryrthj28DqcT/LylANZ2aM0/rhMYDt X-Received: by 2002:a05:6a20:8c14:b0:d7:5f98:d2a3 with SMTP id j20-20020a056a208c1400b000d75f98d2a3mr3782892pzh.54.1680894222605; Fri, 07 Apr 2023 12:03:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894222; cv=none; d=google.com; s=arc-20160816; b=lJkk1/nT+mppE5COzYYwrzv7mgiIsWZrCNQFWAwp9oNgyHusplbZPN4bCedH3MSGRR +oEp6ZPtSzI95HA33Xa4Rog5n9lv7okpuANMKHnEeDwoiGK4ECGcfqn95CabOp3CTJ7/ 8tJ6UGUwSq6zv6dpE/u5VeJ9fAuseevyH8akZhEAIvh76sKWEIiTonkfUoAjGDuU6rgy WSz5/rnCh8umSxlU7Zy0rzCLgd7TAvXvdQgtaoA3eYjctUADLv/yM/yuWMozxkdvcV7V qhyiBJiXv7O+e0RkUz8MhqaOVKwde9mkRHX2TSQKYc3VRK6LbCVdwdaJFk1bceAZPusl 8LAA== 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=+/wpjnz5T/TWuEEmz1N+Wvb5usi4K+uUfwhS/7hMtKs=; b=jqxGcZk1VJ0OXItEIxJCXVqYLn1I4NZJQJmr0Qm/Gnx2GV2Cj7EPLn0WV4nXrfvfQx Xy5bYL4dicBq0QpwhYsVQC9Vi3vTS9sL3VuWOo8Xh7FkR61mkshODxJqGZZu1NMFCPu4 uu1YKDjYXQGeW+O6p55z6Ww3u7f8AYU21ovcHLPV9zCyvVjzWnUmxWMOmtp4dnAXbr+G fiZOKyn4OgA9epGaD/+HLheobr9c4XS2eE1M2mBUO7BAymcmHPQR3s/dk8Y/fNNQ1sGQ mYylDTHGbxbWtajjAlQ/deY6ox9SO87HoAQ7OQ1kQ11NXzCaCWWKuBsMthI7iyOFQ4a7 Qe6g== 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 o30-20020a635a1e000000b005073e334327si3932230pgb.779.2023.04.07.12.03.29; Fri, 07 Apr 2023 12:03:42 -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 S232182AbjDGSrE (ORCPT + 99 others); Fri, 7 Apr 2023 14:47:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232014AbjDGSqx (ORCPT ); Fri, 7 Apr 2023 14:46:53 -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 085DEC66A; Fri, 7 Apr 2023 11:46:34 -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 98443653B2; Fri, 7 Apr 2023 18:46:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6782FC4339E; Fri, 7 Apr 2023 18:46:28 +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 08/40] dt-bindings: pinctrl: qcom,msm8660: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:14 +0200 Message-Id: <20230407184546.161168-8-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?1762545340335311675?= X-GMAIL-MSGID: =?utf-8?q?1762545340335311675?= 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,msm8660-pinctrl.yaml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8660-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8660-pinctrl.yaml index 348d84c3cd21..a05971611780 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8660-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8660-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: @@ -81,20 +82,9 @@ $defs: sdc5, tsif1, tsif2, usb_fs1, usb_fs1_oe_n, usb_fs2, usb_fs2_oe_n, vfe, vsens_alarm, ebi2, ebi2cs ] - - 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# From patchwork Fri Apr 7 18:45:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80979 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp479582vqo; Fri, 7 Apr 2023 12:10:12 -0700 (PDT) X-Google-Smtp-Source: AKy350aU6ciD03A+e1B2u/jz1faI6vMy0kdHExcVPcc+t1iyqZAETDo0DLEsQc8ASKCBHs0VK2p9 X-Received: by 2002:a17:90b:4a50:b0:233:ee50:d28b with SMTP id lb16-20020a17090b4a5000b00233ee50d28bmr3856404pjb.16.1680894612091; Fri, 07 Apr 2023 12:10:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894612; cv=none; d=google.com; s=arc-20160816; b=j6rYCFu1R70q+NzgaSCenj8t0I9bvfadxoz0Pm1h6bMJSK+VKR0Q3SM6hrUvjaXjOu mqpxhViYlxbribsAYKD68Esx2yRvyTIa87AQX5OmROQ6Ed/ynLNFRw6hBFD8Ng3kG0t2 WNeSAqXR3P8tj1pWpxisXGcLi5P0sv2Mg3ak1qlfJLuMCWzKPiwSWh/4XweCoNZkTmUY j36XnLzpyKIpM88qXYb3Gc0WE4L27C39tkZ/z34v+uiRgjLMOAPeLFAyW6d5DT6ywG72 E5ZImbWO1plg934fPAB7UovLHmMn6z/pGLRIoCqnHCpW0xtm+vCK/7xpDadYQs+pTGr4 U7Bg== 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=nQ7xO7uNnlidCF7ivN8/CFVEodxESfWPrqs9yRNGm6I=; b=kQ2K+MeY0QjNCE75ndubSwhNnVs6Hdir/hdbDPA0r+PdOChqQEIbLsYZ+ZuQf+nKYB 6cTZ4edByhOLA1JpMki0K2uApqJoGNsT/0zhvsK+gR656oO3bqi0hNEapI9uXiKtwJuZ 5jUiZmFJtTJmNupjrAQqanKDPLzHd83T9d0KzuJsS6mA+/MN7eI2CPndGQKqgNl/u31a WqAwx9IPNk8bNh7uWN4pTS0+FNhl9uZV2TtkR8MFXlT0nNsmqGjefxNRgDv704kYRbuZ NI5iHqv3mu1s7Iod5Qa0rIVfYdgDXDeLYSa4lkF4a1WHtYsmOMe5ZD1DufJinOSTud+b pmAQ== 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 w8-20020a17090a1b8800b0022387a1f9a5si3972501pjc.134.2023.04.07.12.10.00; Fri, 07 Apr 2023 12:10:12 -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 S232181AbjDGSrU (ORCPT + 99 others); Fri, 7 Apr 2023 14:47:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232128AbjDGSrE (ORCPT ); Fri, 7 Apr 2023 14:47:04 -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 EF10FC678; Fri, 7 Apr 2023 11:46:40 -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 AF405653B3; Fri, 7 Apr 2023 18:46:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8139FC433D2; Fri, 7 Apr 2023 18:46:33 +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 09/40] dt-bindings: pinctrl: qcom,msm8909-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:15 +0200 Message-Id: <20230407184546.161168-9-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?1762545748687128309?= X-GMAIL-MSGID: =?utf-8?q?1762545748687128309?= 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,msm8909-tlmm.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml index 85082adc1811..5095e86fe9a2 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.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: @@ -104,19 +105,9 @@ $defs: uim3_clk, uim3_data, uim3_present, uim3_reset, uim_batt, wcss_bt, wcss_fm, wcss_wlan ] - bias-disable: true - bias-pull-down: true - bias-pull-up: true - drive-strength: true - input-enable: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - examples: - | #include From patchwork Fri Apr 7 18:45:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80957 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp473190vqo; Fri, 7 Apr 2023 11:58:20 -0700 (PDT) X-Google-Smtp-Source: AKy350aXQ9roS/AVzshbIvEgQUQvYom/mNZBTkz/7CmWL4PrAWmL9q35dhobQv7Hj+KedRTvQegf X-Received: by 2002:a05:6a20:6ca5:b0:da:a06f:7e91 with SMTP id em37-20020a056a206ca500b000daa06f7e91mr3091078pzb.44.1680893900547; Fri, 07 Apr 2023 11:58:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680893900; cv=none; d=google.com; s=arc-20160816; b=YPLm5LZXnJZpVvSZmjQxBmfKwNUwc33ymTz7NAkeib3s560iPze/boBwcyP1wJcwk5 //+35ZoM0F8FA9wFdjXXF0lNSOuznfGyUvaGAanFMY+Pqj8JvNYndDpYX9ZjJqoWVXTc QuHHD95ywpPlTlPcX4SI/wXdmuyupdZkut3puoXAtNErqWevzOuHkgKBIIZXWL7b/9QC 6MWm+KANONHBpmv+9Ucrif8a/i/VPK5Ixt6qM9RSx4eKF3DkssyVax7O+GeGh+rlcdOP k+lLLbWYjsWBorp1uvQos6Eluf8csO3dXdhkpGKRBTxzdltVSlvizB3Yf4LwMhWb+RpJ rzKw== 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=/VR4r/7jFHMIYfDJoJ+CBGpBXhJCyaon0DIRbvAUMO4=; b=T2Ku5bDohtLAc+RsOGrLw99Be4YNT6tdnhMG3rGdycdpmhZc0MZbY3F3BiDBkvihlP LZ7ZZC6xiUL8l12ESfTxo7PvZMFXLcMaBY2tOQn+cQQ3xxppMbLj+RIdJzaVxDd1bAZ1 SFeGcCg47Q+aZMSKJmmb7jViuqywu3jtyxCYUIEf75i66t210m64Bvl7jeF2i1PmJAcW aiX0N8qXBsXWtz/Xii7MfAl6vnfyFEVz+2bKWOfvKfWDQwCgpGUJ2+/Bckm8IlQHVHJH gMLLB0BetfI3UGkXQjcTaP2PQp4N248308KgxhblirwHOyREiqmrvd4cdqYOqqJNMigb BRWA== 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 d17-20020aa797b1000000b0062a450c3296si4075159pfq.75.2023.04.07.11.58.08; Fri, 07 Apr 2023 11:58:20 -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 S232221AbjDGSrX (ORCPT + 99 others); Fri, 7 Apr 2023 14:47:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232014AbjDGSrH (ORCPT ); Fri, 7 Apr 2023 14:47:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FADAC16A; Fri, 7 Apr 2023 11:46:45 -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 BEAFF652A7; Fri, 7 Apr 2023 18:46:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92DD0C433A0; Fri, 7 Apr 2023 18:46:38 +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 10/40] dt-bindings: pinctrl: qcom,msm8916: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:16 +0200 Message-Id: <20230407184546.161168-10-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?1762545002540578223?= X-GMAIL-MSGID: =?utf-8?q?1762545002540578223?= 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,msm8916-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8916-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8916-pinctrl.yaml index 633c9e5ed49e..063d004967bb 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8916-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8916-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: @@ -103,19 +104,9 @@ $defs: uim1, uim2, uim3, uim_batt, wcss_bt, wcss_fm, wcss_wlan, webcam1_rst ] - 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# From patchwork Fri Apr 7 18:45:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80972 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp477951vqo; Fri, 7 Apr 2023 12:06:43 -0700 (PDT) X-Google-Smtp-Source: AKy350byDNNValqLbWYptTLQCsrBA7n8PMzn5XwHxhsrUY3AqUC3tvBl04slhZmxNyPy37Zmoh/J X-Received: by 2002:a05:6a20:7f99:b0:db:5e69:c97d with SMTP id d25-20020a056a207f9900b000db5e69c97dmr7198997pzj.25.1680894403591; Fri, 07 Apr 2023 12:06:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894403; cv=none; d=google.com; s=arc-20160816; b=R6ZsOczReGYNH+FEhAbB7mdxjUia55zYk7YFPRWxQ6xuCgGn2dXnq85MRpZMVNnhMM BgiThD6LQsYaOyZlKyhBy/tkzBlWvjVuDILDmlxTpyYRI4moZ9UTQLQXXlwt/uhb4SNe RF7OhVTZ/1O5DtwIi6Q0i47/9jsljGJZFK8/4vN1Qt1EPCJ/ZdbNZKQrPN+TPFGwlDLm rNrx8SBaDMeM+3RuOcdYsTWc2xBv+RnGnnsbirtlx1B2OIqeCP0XuisPgHr7psFLmxog FV8WAUdiYU6hRwKw/AUxX0wq6VtzJLaN3Pi0bLPHlFSrvwNlzrpmCueeTJqr8e/FnlG6 8YlA== 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=uX6Xijrmq87dVeWDMcReG6Bsr/nbUa9cEeTTH+DPbNk=; b=rXje3GRrlBo7HnQVrCti1woj7bpwokde9B5jIbhld6nEonsSM7xXZg8AEJEm6FkyGe p0oqRoiJ8AzvuLN5r2+gB5hcuEJWF4fsO5mJ5gOtQy8xRWVfKQC3Jl54C2Dmx3mCYXOS UtYr1saWHHOnT+Swj5HNLLAPn6yL77gK+nYLXXWo9y4WpQPHuz82OBMCq1ydiew39wch RUGfpv5c21FOK44i4fz2gllyuwATAWM0u2yfyzwt+F7voPhv0NbZUvlvsXhSuw3AvU1a oQDCZRBAfQQZQN7Uog34/vOjERh3NWDnD6FEoum7sIknfde7JQv/v/M270m/i8+OR66I cC/g== 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 o30-20020a635a1e000000b005073e334327si3932230pgb.779.2023.04.07.12.06.30; Fri, 07 Apr 2023 12:06:43 -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 S232038AbjDGSrd (ORCPT + 99 others); Fri, 7 Apr 2023 14:47:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232097AbjDGSrR (ORCPT ); Fri, 7 Apr 2023 14:47:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C54ACC646; Fri, 7 Apr 2023 11:46:52 -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 DD19764D63; Fri, 7 Apr 2023 18:46:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A62FCC433A1; Fri, 7 Apr 2023 18:46:43 +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 11/40] dt-bindings: pinctrl: qcom,msm8953: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:17 +0200 Message-Id: <20230407184546.161168-11-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?1762545529948457981?= X-GMAIL-MSGID: =?utf-8?q?1762545529948457981?= 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,msm8953-pinctrl.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml index ce219827ccc8..798aac9e6e31 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml @@ -45,6 +45,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: @@ -106,18 +107,9 @@ $defs: uim_batt, us_emitter, us_euro, wcss_bt, wcss_fm, wcss_wlan, wcss_wlan0, wcss_wlan1, wcss_wlan2, wsa_en, wsa_io, wsa_irq ] - bias-pull-down: true - bias-pull-up: true - bias-disable: true - drive-strength: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - allOf: - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# From patchwork Fri Apr 7 18:45:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80959 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp473257vqo; Fri, 7 Apr 2023 11:58:30 -0700 (PDT) X-Google-Smtp-Source: AKy350ZAoM/nWCI5iHZIUdmzdM7hTQhHGItXwBZ10oyUqEPGrEIqHPtJsimrRSNc3s2E2eo2o/F7 X-Received: by 2002:aa7:9a04:0:b0:627:fd63:c4c7 with SMTP id w4-20020aa79a04000000b00627fd63c4c7mr3488859pfj.7.1680893910248; Fri, 07 Apr 2023 11:58:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680893910; cv=none; d=google.com; s=arc-20160816; b=yDOyM6sPCvgirK3nBd+27igUGlohFgQs6KLX2h6r3otQVXKsLJvY2kHgyzbr1blBTs 3t0CsWFd00dPhKdPJRGEraLonzvwIzQ+Y6Ou8zHm3UtPbOHnlLG9FeE3STZlwcWX20zI Bz68pgsWHVvSic2OJKdHV1onJb93V9OTEdlV9+f8gXhhs9YsnPkY1OArBLA7yDOFOCuq G563/7WzqKLLjdoxMe1zwtmNQN35M9y0FIW/jPZ92vqiP63wTmrAbj12AFmtadWiYWod plAaIghWP81EPXBHXtZyry/Ei9HBgi+uCxoqxK1WvZmoG90TOAjOrP5UeLHHIg/bJzzy tDGw== 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=FAluEROAnukfdSkgMb+oUd8Tnaqj+2IEYwklz+hAKiQ=; b=B96c6ukMD75B2LnUnF20ETCbjWPNspV50iwiAAtGzVFfLjXm+RQArqdoB033SJaLqZ /MffM8EAEJDarz07FVOgXW7hYTvqYUVdnVR8r46cY3yt4BDWzvYFd4x7OaiJG78mX9S+ z93eAbBgW9enidgDbQP0kPiP6PLuabl50tIa2uxlmLJh+EpYu8QRZ6ww4LspHvVSFJ3+ vzjU5Qmz+5VLc49iciebrU66RBgevG/Bu/eIB9zMA2iPZpmv6QAoS7XwlhPR3Lz2WAW0 oxv+eWFQpWIbXDevH7iO9KtXBwHOZrofCulSD/o5jN8Jpdk9G8G0WLXSGKATfG1sGrZK u05w== 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 l64-20020a632543000000b00513ec89e076si4134571pgl.270.2023.04.07.11.58.18; Fri, 07 Apr 2023 11:58:30 -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 S232611AbjDGSr4 (ORCPT + 99 others); Fri, 7 Apr 2023 14:47:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232438AbjDGSr0 (ORCPT ); Fri, 7 Apr 2023 14:47:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EC73CA1D; Fri, 7 Apr 2023 11:47:07 -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 2F069653B8; Fri, 7 Apr 2023 18:46:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2FB6C433A0; Fri, 7 Apr 2023 18:46:48 +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 12/40] dt-bindings: pinctrl: qcom,msm8960: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:18 +0200 Message-Id: <20230407184546.161168-12-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?1762545012939035000?= X-GMAIL-MSGID: =?utf-8?q?1762545012939035000?= 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,msm8960-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8960-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8960-pinctrl.yaml index cf386f644ccb..9172b50f7a98 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8960-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8960-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: @@ -97,19 +98,9 @@ $defs: vfe_camif_timer7_a, vfe_camif_timer7_b, vfe_camif_timer7_c, wlan ] - 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# From patchwork Fri Apr 7 18:45:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80952 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp473087vqo; Fri, 7 Apr 2023 11:58:05 -0700 (PDT) X-Google-Smtp-Source: AKy350ZAyvTJ5cJJ5qQT5vuMExzl5SWblYVow4n3RyYC91ybA9zQGjO6HoylblzfMBTmEL+YMkvm X-Received: by 2002:a05:6a20:3b1d:b0:dc:e183:26cc with SMTP id c29-20020a056a203b1d00b000dce18326ccmr2867133pzh.23.1680893884872; Fri, 07 Apr 2023 11:58:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680893884; cv=none; d=google.com; s=arc-20160816; b=m6CMNqxiqfOLqCAMtMcVtguwn6KnCjgmeIdGOOlKFPV04GG9GETRGJuV15853SD9gr scERg88KaFxsGa57CzqVumx42kCPz19uf2UAFi0sbImPf5PnAZW2qKxLbGjFf6sX5OL9 FcG17VOjdDgEXLskyztQ/vfapVk9D/Za/QnREmJ6xYOqhiTt6JCDJZvF0htm8TEWvzd2 bCVW2ACZO0dbTL4cU0cEVPKpw5AZUYmKVf7PsQIKnNh/3//PLkNAZ7pZ+9lpKXQ3FjUs PUYywsmTpaDq18x8wpvXV57mjShk/h5Utrvva5WJjugLMAwTCt9ue+Hnzeug6B86P8YJ jslQ== 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=l6M5a8cQnHF0MQ2frBaDC+bxGcFv9wt/eOUujUofGg8=; b=rxuJJpEFi4dJ93mqAPmU6zQ7AWHFtiBQUtl+sZoYP9U7r0yGqSSXNsWOYv3y8Pf8ex hj37QjS5NAUzBsn4WNMhUK8akCgTUEpBaxmqE4VhyUfMiaaqPuBGT7R/XPlkMIM77qYj lYsxohZaEQcZ4qF2DF7k1lnana33IxUjIlzFS+yCeqRQugEQMynTU2A5hUiyOl79rbYk d12olBvNQzqUay4Out1QCdSXlW9gMUPPQ1yYap6FCeFCBTmAkWqb4JaWuO0UneelP5Zu rCkkj4kdNKzmI/zplWKdpEPVRq4vKiW/8e31K1DTKmqOfXi6HoGezyTHXEkp03xSSPEQ MCGg== 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 b21-20020a63d815000000b0050bfc85d989si4029457pgh.154.2023.04.07.11.57.52; Fri, 07 Apr 2023 11:58:04 -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 S232686AbjDGSsH (ORCPT + 99 others); Fri, 7 Apr 2023 14:48:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232212AbjDGSrn (ORCPT ); Fri, 7 Apr 2023 14:47:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98637C169; Fri, 7 Apr 2023 11:47:17 -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 620C865389; Fri, 7 Apr 2023 18:46:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13F58C4339B; Fri, 7 Apr 2023 18:46:53 +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 13/40] dt-bindings: pinctrl: qcom,msm8974: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:19 +0200 Message-Id: <20230407184546.161168-13-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?1762544986020544214?= X-GMAIL-MSGID: =?utf-8?q?1762544986020544214?= 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,msm8974-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8974-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8974-pinctrl.yaml index afe4a80f0b79..8a3be65c51ed 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8974-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8974-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: @@ -93,14 +94,6 @@ $defs: tsif1, tsif2, hsic, grfc, audio_ref_clk, qua_mi2s, pri_mi2s, spkr_mi2s, ter_mi2s, sec_mi2s, bt, fm, wlan, slimbus, hsic_ctl ] - 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 @@ -124,8 +117,6 @@ $defs: output-high: false output-low: false - additionalProperties: false - allOf: - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# From patchwork Fri Apr 7 18:45:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80947 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp470096vqo; Fri, 7 Apr 2023 11:50:00 -0700 (PDT) X-Google-Smtp-Source: AKy350aFZqZ+3dyHcKFwZUsY03Wn1hKMItKUWwBuVI8EmzPZiFSwB6lkpBdK7EL7OqBTpfnVFPAe X-Received: by 2002:a17:906:53d9:b0:92e:fcc9:aa22 with SMTP id p25-20020a17090653d900b0092efcc9aa22mr263163ejo.37.1680893400350; Fri, 07 Apr 2023 11:50:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680893400; cv=none; d=google.com; s=arc-20160816; b=TUq8UikGMYtrqu8sMIXSYmtFJEhssOnFquOAC6mY/2g6MBQUDb7gYDCXITWUFnyzIJ 7+X9ABu2F+KqxpyHPE8YexidSb36Xg/P7qVSNxWxrglOuiehvns9aAPEuC2FualK4w3E Z/+Jolq7MKXwukcC/W0Dv//950vViDInIb8Ydyvj7++f0b7WMf5qDQ8O7UgIC3ca4j4i Oe4el14YH88R3HHIqKcuT4voczHwRTYRWlqftL+mZmldDA4CvGhS/kVPJ9Ue6QIMcZ2o 9AmDru7RXNienYtdZjPuDQpxLVpmKmnQlWplGmqAqoDpc4xMtRratas8JRrbQM/PRjpa vaAA== 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=Se3+qnErleB9/MXiEnsKf0tuKtCXIPLF15uZyoCoBu8=; b=Q7cb/YblJY6SjCwK/6z243F7lHQqQobwpM+n48AO0sHZz3TOCXVXwRk/Znz2TYLAz+ K3XQqKkWVR3gx8gNCAX3T3A6t8KbwGxrUlCA+QkFr2nMzB2AWaUbxDOWxcRlXLI5jO6B ILf/tUyypjAg804AChZHucvBsEOCGzaDlQK0PjACgeJQ44K7F/GaJQ3VvVuio6oXECaK wDfpP4XF5dSrrP6T5HJ+nda3G54Hi4Kztt9tLUMPwYxxhX9BakVfqHPSM6EQpDhFRp6t 3lV9jyN66MwDu58xm1HN3Z7x8tj6b6tVzz8wMoJn/NR/P5AZZm5qeX/1HfQQeIb0bK1E /DoQ== 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 a2-20020a170906670200b0093cd9fa2838si3598798ejp.1009.2023.04.07.11.49.36; Fri, 07 Apr 2023 11:50:00 -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 S232764AbjDGSsT (ORCPT + 99 others); Fri, 7 Apr 2023 14:48:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232241AbjDGSrz (ORCPT ); Fri, 7 Apr 2023 14:47:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA41EC674; Fri, 7 Apr 2023 11:47:24 -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 99B84653B0; Fri, 7 Apr 2023 18:47:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4565FC433EF; Fri, 7 Apr 2023 18:46:59 +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 14/40] dt-bindings: pinctrl: qcom,msm8976: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:20 +0200 Message-Id: <20230407184546.161168-14-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?1762544478308866202?= X-GMAIL-MSGID: =?utf-8?q?1762544478308866202?= 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,msm8976-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8976-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8976-pinctrl.yaml index 5dfcc3eadbb0..ca95de0b87a6 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8976-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8976-pinctrl.yaml @@ -53,6 +53,7 @@ $defs: Desired pin configuration for a device or its specific state (like sleep or active). $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state + unevaluatedProperties: false properties: pins: @@ -93,19 +94,9 @@ $defs: wsa_irq, blsp_i2c8, pa_indicator, modem_tsync, ssbi_wtr1, gsm1_tx, gsm0_tx, sdcard_det, sec_mi2s, ss_switch ] - 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# 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# From patchwork Fri Apr 7 18:45:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80946 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp469848vqo; Fri, 7 Apr 2023 11:49:19 -0700 (PDT) X-Google-Smtp-Source: AKy350a+J5nbfd0sXkwfx9RPAQkGEhquY9+MCHElPkGTbGt5aeWZ/J/wxaquUusfhYW7xz5EjwPT X-Received: by 2002:aa7:d995:0:b0:502:9c52:4482 with SMTP id u21-20020aa7d995000000b005029c524482mr3422561eds.6.1680893358988; Fri, 07 Apr 2023 11:49:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680893358; cv=none; d=google.com; s=arc-20160816; b=oxKzrScSd2PFKoXGC0IOE0ln0OLjaThFQSw0FnHFxsIWuzs+0hW+uXjaVkNLBPpZw9 e3+9RRWBZdfs8AV7o+Poq5DK1bggUajnHQBaUb7BNSmFTqOQhZknSWOOR8d2mfsu4G2s LNy9S51n/HQ2uYYk7WJ8Yxgd8F42mycoM5d9GykHUWApV1T0vqIOrjAwFkR5GEnpeI19 jJxZn5ZbxhD2LvFMjTkxbFCGCP2iUGbwHFHIEO9+hqt8BLS32u5W2dNMOwKr3npzdcjv fcHm0tlDKjtIdeWfB/irKn+H+Ukrsq2spTQOymE1hr89jN1kDI0SMWDVmRCNNZOgJa3f dY1g== 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=u4KyVjbwQU3KV+BQfX3nrN7TFmq6GQ3il8pwQXS5dpY=; b=KBjQrRnO7NQPcYEabSP4irdZM3ciUDGrM4Oql5WtI4gRhJUo32EEUlgo2945J2UVZY nVFzXGY3ua5sJeJETwsGNZ1QR87VypdAMtHiDMebMBAbsTq4h+wpISzoFuVv2AmLL/bC d+c7n/kQt5IBshlCA3JPrJgRDJHAi5D2oYSS99Y+wupfeVIWmiaL4QEBqA0adbyNFG2g sdnAjvW8MNHGiXd5+FHIGZ28JxNOJtSCoB+07HdzsyesWN+0KNVmfbTUjpoFu8A1qANy bdPRF6Fc9f7WhdfDwE+FJMqFHqAIUdkJEaJJF+eu/F+U1t9ymuYpng2Kpkb5/OIm/ZJ0 PtNA== 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 z20-20020aa7d414000000b00501d48232ecsi3732732edq.404.2023.04.07.11.48.55; Fri, 07 Apr 2023 11:49:18 -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 S232359AbjDGSsK (ORCPT + 99 others); Fri, 7 Apr 2023 14:48:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232209AbjDGSrn (ORCPT ); Fri, 7 Apr 2023 14:47:43 -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 4BF2BC14E; Fri, 7 Apr 2023 11:47:17 -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 31024653C6; Fri, 7 Apr 2023 18:47:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA05EC433D2; Fri, 7 Apr 2023 18:47:09 +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 16/40] dt-bindings: pinctrl: qcom,msm8996: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:22 +0200 Message-Id: <20230407184546.161168-16-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?1762544434546573433?= X-GMAIL-MSGID: =?utf-8?q?1762544434546573433?= 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,msm8996-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8996-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8996-pinctrl.yaml index 047b4584e3c0..59d406b60957 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8996-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8996-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: @@ -122,19 +123,9 @@ $defs: modem_tsync, nav_dr, nav_pps, pci_e1, gsm_tx, qspi_cs, ssbi2, ssbi1, mss_lte, qspi_clk, qspi0, qspi1, qspi2, qspi3 ] - 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# From patchwork Fri Apr 7 18:45:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80982 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp479817vqo; Fri, 7 Apr 2023 12:10:40 -0700 (PDT) X-Google-Smtp-Source: AKy350aTow+GvO7vlvxTk/Kn4k8A2Szatddrr+ROsqc61nGRFhMRwmxof5EyHcJoJH/sBOdcdHbb X-Received: by 2002:a17:90b:1a8f:b0:23d:1a32:56d5 with SMTP id ng15-20020a17090b1a8f00b0023d1a3256d5mr3780627pjb.27.1680894639839; Fri, 07 Apr 2023 12:10:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894639; cv=none; d=google.com; s=arc-20160816; b=zYYUcQf/qnyNooxzxkSFEcRNv349IToXNv0Cdn5QKe6PweJD9uLrJtj/N1r+mqtu03 flUojdjPFUFrWFNNwYsgER1X7cpIJCVBTbX9N/20aighcnpdCSSynsiC+KZGcXr6F+bY rj/eFkkYnNcj8sAOiCP0+sf3WeB2y4UPdK3dZJxUvwcInnTaK7crZhmPpRziWPH/DXQe lqDpsogdo2wC+IjXLyOAEAJy55fA9+vji2uEuRo6EynDvls5OJyzOkm1d3icDt+AjCJl Dz9sX92sS487XYBSaYSdNrBxctx0VHXy6p8UgFYuDd/BzjCSrlFdxmyzeyiKHixp4uLN nnqw== 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=42T1tAfgc1PDvY7HDGys2CkJEnUTc9AmKnXIIiCOiEY=; b=zx/W1n5fWJFKVlncnrDWQk2AgbBXBuOrZ+nYugh9FV3e0CoAxzNxKNtnUQVFBuzAG9 DyurVXCYzORaZ1Ifg+Qes0BeL+bfdcdLdc+BAwAamE+rTX86ymU5IICABQv46rxdQr6d JIQaPjFFagLlS+NEZ/I/wuYhpMJZEETOgIYNrqie3LJoLic3vSRE00e+tNIVtQR5+c1U TCfpTiBL63T2sEfDNPVTjkA7n6WIBj87uoaEuBE8Xt3hLnk6r0k87GrSMOFLIT5wq/0H 92Op3LOQmne2LHmNffkIUJ7XlNKczsStnhv+Hb+HjD0Tf6uOVD3wKmgF5ad7jOqvyISA abbw== 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 d13-20020a170903230d00b001a17a0e9b82si891222plh.496.2023.04.07.12.10.27; Fri, 07 Apr 2023 12:10:39 -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 S232105AbjDGSs4 (ORCPT + 99 others); Fri, 7 Apr 2023 14:48:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232430AbjDGSsL (ORCPT ); Fri, 7 Apr 2023 14:48:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A747CC24; Fri, 7 Apr 2023 11:47:44 -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 3312F6101E; Fri, 7 Apr 2023 18:47:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1279FC433A1; Fri, 7 Apr 2023 18:47:14 +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 17/40] dt-bindings: pinctrl: qcom,msm8998: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:23 +0200 Message-Id: <20230407184546.161168-17-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?1762545778024082240?= X-GMAIL-MSGID: =?utf-8?q?1762545778024082240?= 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,msm8998-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8998-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8998-pinctrl.yaml index c07ee9868046..bd6d7caf499a 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8998-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8998-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: @@ -107,19 +108,9 @@ $defs: vsense_clkout, vsense_data0, vsense_data1, vsense_mode, wlan1_adc0, wlan1_adc1, wlan2_adc0, wlan2_adc1 ] - 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# From patchwork Fri Apr 7 18:45:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80948 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp470098vqo; Fri, 7 Apr 2023 11:50:00 -0700 (PDT) X-Google-Smtp-Source: AKy350YZ0cZojEOkrELShz4bUBJPlUN3jWy2aRzodhjuGd+7Xx8eVZgfIzC8srsJI9Iwj2Y1qxR8 X-Received: by 2002:a17:906:5789:b0:931:99b5:6791 with SMTP id k9-20020a170906578900b0093199b56791mr353843ejq.72.1680893400365; Fri, 07 Apr 2023 11:50:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680893400; cv=none; d=google.com; s=arc-20160816; b=f1fVejtikfmEL8CvkCq68kzL6XjtIdfKnezG2+B24vg3ObOqxb7LzTeFYE+nCNy39e 5ZIkzmXfMc7io07Iq1RPM40prNxxL79WsZ2lfZvr4twkLGQVYFlaVv3UZbHpaZKIllsy 8HpfDqRRmXrk/80skC6zjDgHDV7fz3sSDvVRKogogEU7nFNBrRRVSox0phEllhERoWDu I1hUPn3+Zc7bHw6zKakEhib0AxqopemydedwXo/E7Bzrs7TDHLWTv68tjD3WY+AguIAo ZlAfHX62BGYwIo4gSxcpiVNMmXrvq/ZDX6txxBo4BUomVoaeKd0R88OUe3FUYLLfrB6i fFlg== 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=mPqyj07FnF+2lez7tA2jSQhkkZuVexoIq1iaGP+akrE=; b=rz2tDYgffNoVE4h6Yd9JGd6jTPMdaxfvkoJQGpopCrBD2cRX3GKpGa7nInw4lo9KTa xN3nl8pP1KF1qyW5CLlQgPjXMNAvY/19Kvs3woJDNJvlGsrPYR/SVGX7LzI3tKCcqRKB xbkAlquNmieVOn6SovuGhK1yO0DvEM5QVaQucfDrW/SJuBXuHft3+nt3plxkmGgEvM5S L3GaJMYY7cQulbT3WWP50kkMgyqhxlvWUmTwkp+yBGX5h21MZYGzJNz+XLlWIKyRtqRL ettBCJslvrRerQRKSBWYOD3AhodOzjAHVOmvwIE9jJLKDx2Pe4d74cFxOw53YwDaqsIN cexQ== 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 s2-20020a170906454200b00947a40e31cbsi3031348ejq.586.2023.04.07.11.49.36; Fri, 07 Apr 2023 11:50:00 -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 S232068AbjDGSsV (ORCPT + 99 others); Fri, 7 Apr 2023 14:48:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232055AbjDGSr4 (ORCPT ); Fri, 7 Apr 2023 14:47:56 -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 9AE96C672; Fri, 7 Apr 2023 11:47:27 -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 8C9A065211; Fri, 7 Apr 2023 18:47:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21C7FC433D2; Fri, 7 Apr 2023 18:47:19 +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 18/40] dt-bindings: pinctrl: qcom,qcm2290-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:24 +0200 Message-Id: <20230407184546.161168-18-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?1762544478166897795?= X-GMAIL-MSGID: =?utf-8?q?1762544478166897795?= 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,qcm2290-tlmm.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-tlmm.yaml index 032763649336..c323f6d495a4 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-tlmm.yaml @@ -45,6 +45,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: @@ -81,19 +82,9 @@ $defs: uim2_data, uim2_present, uim2_reset, usb_phy, vfr_1, vsense_trigger, wlan1_adc0, wlan1_adc1 ] - 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# From patchwork Fri Apr 7 18:45:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80963 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp474531vqo; Fri, 7 Apr 2023 12:01:05 -0700 (PDT) X-Google-Smtp-Source: AKy350aowGoxE1HXgUz5Ehbgox7NKi9zdTbVrTJRskOM91BPuydWZagyUTyxKZDzvTqxiGIfhrEI X-Received: by 2002:a17:90a:1a0b:b0:233:ee67:8eb3 with SMTP id 11-20020a17090a1a0b00b00233ee678eb3mr3475441pjk.24.1680894065045; Fri, 07 Apr 2023 12:01:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894065; cv=none; d=google.com; s=arc-20160816; b=ON3QuJr/wblQa3iYQz8HNMtRAWB/tE5POpYGVga+wrf8r3iZKV9kO/2dKMvjbUOr/W wXF12dbcd1/7bOuEb7Ql8vy+x/eXvIniClXbwXcxP/cWMT8cD0Q2KFs9C9xmntMpDFvC U1i1CPnzg23siDkzRUXFlWg0PGQj2ksNS74a1FfAJx+EBgiWAKWJiX2fuIUIeMP2gckx M+6RUazf8+wDeAjU5CzrdvcsqywAgFQfBYWGbT0+TgRq8T7ZSf5lyc1g+As0CAm1Ahh2 +2KnSQd8ELlpH1PmsWMLfyM9IjOdn+rf0yD00VMTtIUEDFSuyhEscOIZ9LN7FF29ljrJ 66iw== 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=AsA0tmUzoUb+BJUV9Z+jvssHfMa1wbvYWmWh/RyOZuw=; b=iYVax22iX/PHKhTUhAKKQXzI2FfMMJtFoCp7ZgajqE1liIyafQ2eCfkgF8Eg1r5wtK f+I8QWvzWzlV2gXJaCtWv+Js+WKFo3G/GutAPCKnz7VnP0UDxc6tJDrErm1eIKfMUbtp WyN94+JyApsIdGACoqi9eTIXOjSb1O7Zt86tMAx+Rpie5pQQs6he5JWzwwDdFa9os8YR rEN6rX8yPlLodR6E4ELK7zWxFl6dizKt0AzgKB6h7SDykZYnEsU1Xk6LP0Hjw0Fzvjuj 8bfcx/QwaFUQ0wZ3kDhRXzM5oTk0Kv1Vj5FKI8/FXjkQdqJge8hqyf8AWNaQMNTKoqGf HA9A== 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 a10-20020a17090a70ca00b00233ebd4c537si4084836pjm.22.2023.04.07.12.00.52; Fri, 07 Apr 2023 12:01:05 -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 S232122AbjDGSs0 (ORCPT + 99 others); Fri, 7 Apr 2023 14:48:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232467AbjDGSr7 (ORCPT ); Fri, 7 Apr 2023 14:47:59 -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 07F13CC3E; Fri, 7 Apr 2023 11:47:31 -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 D25A565322; Fri, 7 Apr 2023 18:47:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6FF2DC433A1; Fri, 7 Apr 2023 18:47:25 +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 19/40] dt-bindings: pinctrl: qcom,qcs404: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:25 +0200 Message-Id: <20230407184546.161168-19-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?1762545175023610239?= X-GMAIL-MSGID: =?utf-8?q?1762545175023610239?= 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,qcs404-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,qcs404-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,qcs404-pinctrl.yaml index 20bc967a17b5..b1b9cd319e50 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,qcs404-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,qcs404-pinctrl.yaml @@ -59,6 +59,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: @@ -119,19 +120,9 @@ $defs: spdifrx_opt, spi_lcd, spkr_dac0, wlan1_adc0, wlan1_adc1, wlan2_adc0, wlan2_adc1, wsa_en ] - 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# From patchwork Fri Apr 7 18:45:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80986 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp480183vqo; Fri, 7 Apr 2023 12:11:25 -0700 (PDT) X-Google-Smtp-Source: AKy350YMifyeVXjMnhhcQLkT3wvFad0+OYToy7J47Iir05+e5awMJeDt/HSlI2r/I66WqETRIeRI X-Received: by 2002:a62:52cf:0:b0:625:febb:bc25 with SMTP id g198-20020a6252cf000000b00625febbbc25mr3237387pfb.11.1680894685389; Fri, 07 Apr 2023 12:11:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894685; cv=none; d=google.com; s=arc-20160816; b=gj/hGqdqvr2TohOEQ2DScq61BQurUVsFdWoBZE5Qso65AjD6Ez04V7Cy3TNPubvFCW r1d3WNKr+mzMPhb9/7vNv0PIYNMJtoTZxlxar8Owmv2+WhOKVMlFfYytsN4mubdzeT40 Y9CGve8qYczhKSkK9CGe02aZEwNF46SLFB3+yOOHR6l5CBiJKyKHKw4FZfSLWFl/vjm6 kk8a2nj+vrwIL83wYSE+m0wYgPN1jDXzNuTcJJjnbJHUwTMHVX6X0m8prz3RjiR8Q12U 1Z6sEtUHjwj+7Tn2b2GVHXgna4PPboGqTdMBPB6Y7gNMIYv5fg4L1JNsVRkyRD85tEGc phxw== 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=YjtquND7xwFDmOPJ9ITbjgPt3iLTpSjrx4ZbnT68eME=; b=dW7CdfUTb8s618Wamh3gZuytyjor/Ogge4SXPfCTjS287c9GUWSRl5N9tg+All+D4S VN9wzs7vK9bDJ1hhiHsOrBTh9joPUo5Zj3oCTkT9s3o6fGJDGIcqgLCwVSlSLUZ7cBF5 zuvzRSRNMTX/JONWHeAdUiqKbWytZb9xSjy2kILA/oGfRMa8PksGe3CPaEGNyp1uHuzL Z0pY0FXhWvrslYGImwIFxy+GzzON0k+mqDe7EoL9YVeg1lRR2t3Qpyjw1Ksf7MzWzsun 21mfcj8FabnDzhQHptf211905fz5uM7gwzjnHKCTxoi+utO4Yf4ono35/p8S3PnRHJ+S i9rg== 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 26-20020a63195a000000b0050bdc2e7efdsi4043292pgz.42.2023.04.07.12.11.13; Fri, 07 Apr 2023 12:11:25 -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 S232955AbjDGSsi (ORCPT + 99 others); Fri, 7 Apr 2023 14:48:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232523AbjDGSsF (ORCPT ); Fri, 7 Apr 2023 14:48:05 -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 9D239D319; Fri, 7 Apr 2023 11:47:36 -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 179B4611EE; Fri, 7 Apr 2023 18:47:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0AC2C433A0; Fri, 7 Apr 2023 18:47:30 +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 20/40] dt-bindings: pinctrl: qcom,qdu1000-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:26 +0200 Message-Id: <20230407184546.161168-20-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?1762545825588512343?= X-GMAIL-MSGID: =?utf-8?q?1762545825588512343?= 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,qdu1000-tlmm.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,qdu1000-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,qdu1000-tlmm.yaml index 7e5fb9a6e7d3..237cac4f6ce1 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,qdu1000-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,qdu1000-tlmm.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: @@ -93,19 +94,9 @@ $defs: usb2phy_ac, usb_con_det, usb_dfp_en, usb_phy, vfr_0, vfr_1, vsense_trigger ] - bias-disable: true - bias-pull-down: true - bias-pull-up: true - drive-strength: true - input-enable: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - required: - compatible - reg From patchwork Fri Apr 7 18:45:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80974 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp479114vqo; Fri, 7 Apr 2023 12:09:10 -0700 (PDT) X-Google-Smtp-Source: AKy350aS9cgzhLSkZ9GVWweGcRKL1Dvl8bbZUfzU0sOMfYn2GaZH+uc/dGEyd2smC0P63bWqup6/ X-Received: by 2002:a17:903:24e:b0:19e:e39b:6d90 with SMTP id j14-20020a170903024e00b0019ee39b6d90mr4078757plh.25.1680894550307; Fri, 07 Apr 2023 12:09:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894550; cv=none; d=google.com; s=arc-20160816; b=hcQBQC+pQl/j7UXuuU/J4rKW218ZfsKPHLE473YmG+A2Jr8xHsCZHpHlS7+B0Ms6Vi I0hZpLXsnGWakmcVT8Zkc86SzWgShFAOLmvhfvcRa/H4eYcEJ0Yq2uc8gyZyII1zU4bV f7QUPzKy9U9rpMuOYNq9wE3YbQRdfaJV3gBfncX4gLyZw8XXH1hNtPA9jmmrwX8O3Ayb YfBgpIW6nCXf4T5xvJgdklK9eSkh+6IPg7PKKvYMwfkHuOLJzKUFDvYeMRowSVNljHCE L7Vl2YIr3l9UNMF8YkGRranjw7g254EgJG3Gi2azPRa9hjORyelM1tl52haJeVy4vKUc AAdQ== 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=hav3WW4laO3O36rBR4M/FPliX3z87HQWTYZw8jpN5Ko=; b=fTBA20UGnkOAgvZ5W1+ADA5uVJMmz9JFvSWTCcOpUNN0FDVFla8tgr++gv11tueONT gzIe1U0FlLrCtjoYIVeqAH6uGsvZ0jkx9JcjC5/7QwL3EdpU6iVXCMM/y5aes9A5IBsA 8JcbFY+SjxyJX37mkdnopVyEbdV4MNd+XC4VURr6wRsGRBeYHhrmnIXxKV0Jr6lZiGFf Uf2Uqdg6Thak7QP9QVGimb6CE9v2iLOQ1n7m2nfIhETkj2yJXDTI4YvR9YJI7/Ldrvx4 L6XWS+2a6aRLsD+F91uBACy6183o6xsPpsKor1PPEc7s/+TskHRXf4KXq+UZoB8QrHvi t59A== 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 a5-20020a170902ecc500b0019c33978781si4666815plh.283.2023.04.07.12.08.57; Fri, 07 Apr 2023 12:09:10 -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 S232428AbjDGSsu (ORCPT + 99 others); Fri, 7 Apr 2023 14:48:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232416AbjDGSsJ (ORCPT ); Fri, 7 Apr 2023 14:48:09 -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 BA548CA15; Fri, 7 Apr 2023 11:47:43 -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 61D1063464; Fri, 7 Apr 2023 18:47:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01D8BC433D2; Fri, 7 Apr 2023 18:47:35 +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 21/40] dt-bindings: pinctrl: qcom,sa8775p-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:27 +0200 Message-Id: <20230407184546.161168-21-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?1762545683860205030?= X-GMAIL-MSGID: =?utf-8?q?1762545683860205030?= 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,sa8775p-tlmm.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sa8775p-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sa8775p-tlmm.yaml index 70d9106ad83d..e608a4f1bcae 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sa8775p-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sa8775p-tlmm.yaml @@ -58,6 +58,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: tgu_ch2, tgu_ch3, tgu_ch4, tgu_ch5, tsense_pwm1, tsense_pwm2, tsense_pwm3, tsense_pwm4, usb2phy_ac, vsense_trigger ] - bias-disable: true - bias-pull-down: true - bias-pull-up: true - drive-strength: true - input-enable: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - examples: - | #include From patchwork Fri Apr 7 18:45:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80980 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp479613vqo; Fri, 7 Apr 2023 12:10:16 -0700 (PDT) X-Google-Smtp-Source: AKy350Z51nxlOW0DF2nbnPDLcFKuq6dBrammGQFetaqJyKVF1JUXEcvS3PNZ0VginbDYbD3NX3UR X-Received: by 2002:aa7:954e:0:b0:628:bf87:54c1 with SMTP id w14-20020aa7954e000000b00628bf8754c1mr3232917pfq.6.1680894615855; Fri, 07 Apr 2023 12:10:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894615; cv=none; d=google.com; s=arc-20160816; b=jcx5QLv8Lop5oU6S5U2GyJ/tz7d7Z47pymBoDoEkimXpVINPWExbMINE8yLISsmJv3 GS9qCxIQT8Ok7ZpgoyXxVFzmb2Dlw3QgKJGSeDCQuwFQHvKvyQAkBKl+TlsJ1kljBhg/ WlSiQhVIufJLxKDbde7YxGM4yfC8KOGEarlpxb4t/lJZMSPrsBy0fwcccUPDTPBKhdQb k1HkCTO//7rPDi7tZFGWQyPupuC0IpIy4FzINVRqYAsFKpaxbswEYvNbM62NaUuH6ee8 mjBDCeNbSZ5kmzwrIuuzIVsUjCfC9zN3RqdDav4tLDUeBKNAQEMkVlrkd6ZeBuwu9bkl n/eg== 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=PGBMV/AbYcR4hJ9cGORKjJETqFc1cTzdaRQCyNWz7wY=; b=OTQpG04G1y4+Ek/KXPk0SDELspNYQJL6MEW5G86G0DVqdZrXia/mW1UvbXWNh9Ol/2 v2rxVeSYWth5SFn4Dpkoa3OkB+c8mzNm6i9zHFQut7e70Jp8qavuSDNDox1SgfljobGC GQqMkoEUMVONdCeePXlJDV62hhYEbjdKTVldqJsGIYtfYBYPJq1ACSAHQ3SBKgul6zEo Vk7Hsx86+Ra+koShqwDN5cpCcEup5g3tsB/CSpPOLgRa51y2WfhHQUTiVd7yeDMMCJgn +74irkFRTjlAcp7UBNiNfXUZHyvWamS6OPypGEUAPLzHut8h919aP5AXAO2A/xNROarF H+JA== 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 141-20020a621793000000b0062a46a30cb7si4213917pfx.51.2023.04.07.12.10.03; Fri, 07 Apr 2023 12:10:15 -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 S233176AbjDGStF (ORCPT + 99 others); Fri, 7 Apr 2023 14:49:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232727AbjDGSsS (ORCPT ); Fri, 7 Apr 2023 14:48:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9F2EC66D; Fri, 7 Apr 2023 11:47:46 -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 86E53645EB; Fri, 7 Apr 2023 18:47:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51580C433A1; Fri, 7 Apr 2023 18:47:41 +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 22/40] dt-bindings: pinctrl: qcom,sc7180-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:28 +0200 Message-Id: <20230407184546.161168-22-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?1762545752815129824?= X-GMAIL-MSGID: =?utf-8?q?1762545752815129824?= 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: c7180-trogdor-coachz-r1.dtb: pinctrl@3500000: 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 --- .../bindings/pinctrl/qcom,sc7180-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc7180-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc7180-pinctrl.yaml index f33792a1af6c..573e459b1c44 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc7180-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc7180-pinctrl.yaml @@ -59,6 +59,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: @@ -100,19 +101,9 @@ $defs: _V_GPIO, _V_PPS_IN, _V_PPS_OUT, vsense_trigger, wlan1_adc0, wlan1_adc1, wlan2_adc0, wlan2_adc1 ] - 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# From patchwork Fri Apr 7 18:45:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80964 Return-Path: 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 + 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 ); 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 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 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 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?1762545211905962233?= X-GMAIL-MSGID: =?utf-8?q?1762545211905962233?= 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 --- .../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# From patchwork Fri Apr 7 18:45:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80961 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp473527vqo; Fri, 7 Apr 2023 11:59:18 -0700 (PDT) X-Google-Smtp-Source: AKy350bRlCJBTlDQU0b61Rj2gQgoBg4nYT4OJ99EqcFhxPOZAE6V7womBPEGX2WQ1KYf2hXx578x X-Received: by 2002:aa7:9a41:0:b0:627:eece:5ca5 with SMTP id x1-20020aa79a41000000b00627eece5ca5mr3168403pfj.18.1680893958687; Fri, 07 Apr 2023 11:59:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680893958; cv=none; d=google.com; s=arc-20160816; b=wMy2xUCpbfr9r7OuZwgAHZmeu8boUcWYWUjlJxGC4snOSKOv33gDmHPGr3XmHYUz/S lLB6eGw3Ih/+f4qpEDux2GWUSC3/FNqEplaSTKB4sE4wOoKhOAHJn59JBNpGQI4U+zYe x/F3CJgkeB0GBn8ibsCngI2WMQ2bpEsfkMmMTa/P2Xdpp6E85qS+uTmMMj0DTZDx9SdF BGVYCYdzifEdGRJizjc81Ec4nf9cMS6bCbbDPxDSw2JD7Btn7IIy/tJIIvLmSiZF7zub z1ZIfhcSha4hh8eddNEAN73b0sR3+a+qQqNSyBbe+/i8TjujxWvtYH4db3IjBCNJyavT 1vbA== 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=fCOCZwIf9VdRc3F8IbejMGmqs1wdy49vvc3Y1LA/74s=; b=Bt95i0XIEMHu02mwLY5Cc8awDpKFqJInmMOdBYOD6B01X3zamOq8rMLymFHmu4AvVk W8wEhV2X6TbNJ19RJXevV57g+NZZrRr0xUq4d5GHgbXScdt0YuA4TD3O49rmcBjdg9qE th1CX1Y+wCr0TXYYzV5On7hPS4vNSx2C4ZtKkS33r7/MSq8GsT3jkunDN4IEpvLtg091 exHWHrpeQJ0G/sSiZ+a8Bb69qC+jAcIfwEgYr2aOFU0DnKC3lIJY8zNLM06sG/QtGIgf EioP3LNCLCxVMVBq5D+JD1lG0Evefq+8gVVpBMGZ91f3YYDigdj8LsuBsW48EIrOJzQe AZlg== 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.59.06; Fri, 07 Apr 2023 11:59:18 -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 S233280AbjDGStT (ORCPT + 99 others); Fri, 7 Apr 2023 14:49:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232085AbjDGSsg (ORCPT ); Fri, 7 Apr 2023 14:48:36 -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 08AD2CA31; Fri, 7 Apr 2023 11:47:57 -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 DDCED653F8; Fri, 7 Apr 2023 18:47:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7144C433EF; Fri, 7 Apr 2023 18:47:51 +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 24/40] dt-bindings: pinctrl: qcom,sc8180x-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:30 +0200 Message-Id: <20230407184546.161168-24-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?1762545063741795010?= X-GMAIL-MSGID: =?utf-8?q?1762545063741795010?= 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,sc8180x-tlmm.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-tlmm.yaml index 0ace55c9868e..b086a5184235 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-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: @@ -102,19 +103,9 @@ $defs: usb0_phy, usb1_phy, usb2phy_ac, vfr_1, vsense_trigger, wlan1_adc, wlan2_adc, wmss_reset ] - bias-disable: true - bias-pull-down: true - bias-pull-up: true - drive-strength: true - input-enable: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - examples: - | #include From patchwork Fri Apr 7 18:45:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80978 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp479463vqo; Fri, 7 Apr 2023 12:09:59 -0700 (PDT) X-Google-Smtp-Source: AKy350YKLV/9agB1hqGMXWJp1hITqQ6h+GPvlSizxRHXODodOaXSEnQpesuINF7bzCoqGBDrNzK0 X-Received: by 2002:a17:902:f687:b0:19a:b427:230a with SMTP id l7-20020a170902f68700b0019ab427230amr4615820plg.63.1680894599418; Fri, 07 Apr 2023 12:09:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894599; cv=none; d=google.com; s=arc-20160816; b=qfIQ2vyKLCkqI5t5VmUjOyUqtcLDW95HLENRhcNCQL3y3qeDt9559U4sxKdY/kbu37 CuNWFBXhk3nNYbquHhboiJ9br8l+vW5zzONpFYzN7CYqwUn1IDX4IR8ada3HPo3CiyQc 4190D6W97HYhYoRJM/TMqWIVAafMde+2vTtX8g0+qbX9a0+2Cll9u+h4MwyUTrHy6oOS FRblMnez29sNvg696Har6iuOU5yZT3RtYVWrMRXv92poEH0KZfpdCFMw/ClJdGmYM7w8 2exWlDlHe8Q6++b3Q1XkDVxUaeFBmlhrx949O5efOnW5n1EZRfWsHNiFoJOJtYnec6SX CLLA== 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=L2sRVyPqA7XeZVtV0DSUCJjQGanksXfKGn967Ir7Jcw=; b=t8P0At9j9glrJz+Ri7Ni2albF/WzevILTpfSMzncJ2ft/H3rQ7s6Sh/3+S5mJUqCng w77SSQI8Z3qhfHuVEQKHTlyFtIzzSLadsM/O2yLnHXcieuEfqIeu+szxgfqS3xE8cJkW HhkOhb+KhmO2akrVVlSz4np2MjvZYUiNgNuP6fVnG2Os9jFQiEazmeL2qZlfmhEFibg5 MZ4lfvx7YV8R6SUhBIMBKHWqXYnPxBfLmYMZiyopGeB0iESnHCnHXJHlNZ8dX5W96N0w nmhUk/5OKzSW0UEUXzOwtdZCX7Zpd+ysCXP/t/zukyjhKp2cHD0KKjWVKPBbKQcdCdq1 l70w== 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 ky11-20020a170902f98b00b0019ad44844b3si4381137plb.118.2023.04.07.12.09.46; Fri, 07 Apr 2023 12:09:59 -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 S233383AbjDGStb (ORCPT + 99 others); Fri, 7 Apr 2023 14:49:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233032AbjDGSsu (ORCPT ); Fri, 7 Apr 2023 14:48:50 -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 6C17AC65C; Fri, 7 Apr 2023 11:48:02 -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 4E2EA65405; Fri, 7 Apr 2023 18:48:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D800DC4339B; Fri, 7 Apr 2023 18:47:56 +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 25/40] dt-bindings: pinctrl: qcom,sc8280xp-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:31 +0200 Message-Id: <20230407184546.161168-25-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?1762545735499771479?= X-GMAIL-MSGID: =?utf-8?q?1762545735499771479?= 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,sc8280xp-tlmm.yaml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-tlmm.yaml index 4ae39fc7894a..4bd6d7977d3e 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-tlmm.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: @@ -104,20 +105,9 @@ $defs: usb1_phy, usb1_sbrx, usb1_sbtx, usb1_usb4, usb2phy_ac, vsense_trigger ] - bias-bus-hold: true - bias-disable: true - bias-pull-down: true - bias-pull-up: true - drive-strength: true - input-enable: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - examples: - | #include From patchwork Fri Apr 7 18:45:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80954 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp473127vqo; Fri, 7 Apr 2023 11:58:09 -0700 (PDT) X-Google-Smtp-Source: AKy350ZHHsf9gof72TkJG3X36TI0Y8Q5Tn4zcNJueY9ZX+AOdHztVyq047dAGM9+3J+azGE08PRo X-Received: by 2002:a17:906:1681:b0:922:446b:105a with SMTP id s1-20020a170906168100b00922446b105amr319111ejd.19.1680893889083; Fri, 07 Apr 2023 11:58:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680893889; cv=none; d=google.com; s=arc-20160816; b=U8xoGUXMB6aXei72I2LC9HQ3HhW+5vABowiMzh9RezC7+v8DwYeeUvgpN39tX9Y3q4 PC8wla0afYBdmhuWGXkENsmMiesBPUdjmvdZ/NPF79lUswGBWviBBpHTEImyBv9cdjs0 P89By2wcDatHLg3gocme1O3TbLjzkNS2sd/PlIjtDoRZxWsBfdvPIuOj4JIygiv9EKXf haAbvK3+pFvQTYyw1FVarjc6ev7rj232xXZNABfFETYMKSwJH1CQdsj4GNXjtSDY8v4L PqYpNEA6d79mBk6aWNvZDcHwDT8Cv73jW/c1UunLqTH6D8dF9r5cR8T830rHorMfeNfL bx6Q== 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=ep2cRNdBqsrEdufKu9aEsk0RTJyILrIBmq88yBTlg4c=; b=WIPFVnDfNLW3q0Rn1RaSXpSVywfMuijr5aIMNH0js8bp3Um8G1CDHLCHzOzERHbMay 1CfuzzLFn3qpkX5OYMvf+d+gDDijcDUO8h3iRTOKaBTB6Xg7ywV+a2IcralYizUxU94r sW72YxjEiPPOoAZCluCY0MVv2w8oQAbCQHN12UwRNU33s6PXxZbbncqlliSCDJBDcVkk kvtFGaIinu3KqzXg9vctOfgIXIBLrZSALRnrxKj4xyesstfnfYP0qJC1ub2VCTS00r9d rcy0xt8KJUW8c1jVatdwRLGr74sz3SSPK4KRrWRi2Mlc+v6THW7dpZlvpDIJ6hQGggHS GhIQ== 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 go19-20020a1709070d9300b009309c7f5650si4690634ejc.23.2023.04.07.11.57.45; Fri, 07 Apr 2023 11:58:09 -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 S233562AbjDGStq (ORCPT + 99 others); Fri, 7 Apr 2023 14:49:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232560AbjDGStV (ORCPT ); Fri, 7 Apr 2023 14:49:21 -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 576E2D509; Fri, 7 Apr 2023 11:48:16 -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 83F0D611F0; Fri, 7 Apr 2023 18:48:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E4D1C433A1; Fri, 7 Apr 2023 18:48: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 26/40] dt-bindings: pinctrl: qcom,sdm630: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:32 +0200 Message-Id: <20230407184546.161168-26-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?1762544991090542753?= X-GMAIL-MSGID: =?utf-8?q?1762544991090542753?= 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,sdm630-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdm630-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdm630-pinctrl.yaml index ea6bd0b44f56..508e0633b253 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdm630-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdm630-pinctrl.yaml @@ -65,6 +65,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: @@ -122,19 +123,9 @@ $defs: vsense_data0, vsense_data1, vsense_mode, wlan1_adc0, wlan1_adc1, wlan2_adc0, wlan2_adc1 ] - bias-disable: true - bias-pull-down: true - bias-pull-up: true - drive-strength: true - input-enable: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - required: - compatible - reg From patchwork Fri Apr 7 18:45:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80983 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp480045vqo; Fri, 7 Apr 2023 12:11:07 -0700 (PDT) X-Google-Smtp-Source: AKy350ZIK7nim7mHd4kJ0+fCt4qgP22CKl8ssaDlqdutZg9FaGUPSuzEW6eBZKR7p6eBk4mJSDrc X-Received: by 2002:a05:6a20:3423:b0:d9:ecba:b9fc with SMTP id i35-20020a056a20342300b000d9ecbab9fcmr3375859pzd.54.1680894666989; Fri, 07 Apr 2023 12:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894666; cv=none; d=google.com; s=arc-20160816; b=GsIEQoZJK0qhwMJ+wA5J4MeV9/Id+WAbREr4rvbt69/0rSLKt4z4jObpWVn78sM2+q Zrr4GxiAzTAGX+ipD70fknTW40IRbIAOUMdevp8ZvwXPvsWvUdJFQRXWhKTlpT6R8O+o jDlzf+Fe+KwApP2DuAtl847v65YjEtGI14zrzyBCTpQJjEaItp9VVlyA6hrwN0d/aIPG DfIzhUPRVpj7BiNUYvhmUx0p3dgH3L6GHhm8mSXIrRGTfNNMuzSmEc2NnrnzsLoeIavp kwnhY7SW9KBHXLyMM++duE0JPPam5u+VBpvlPBAPi4zJ7m44TWOP0ZnC/2Ux3wK0B+8M ZPWw== 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=yI3JFd82Kcttwr0c2lyU20vy3rhmoJtiGnQ0Nkva7VI=; b=YBVG2BY+bH12iWo0uC2i3dEq4F4yc/bWFBXL0cfwHrK5iiJBgxrt3vKrdRf4V2Hpj/ JhqaWDPlOqhQWydP14GGupnjnJaPgFRvTJaEc7p0Qwu/vqM5CCIwYNgKuRqcRKfzgMDw mefbAoPKFtxW+iA4NXTREYuvlYOrsYglIGGbMllUC5SIHe0Voyuvhs+1QyD90N2XdFne /8KuRNYkZHHZ6NyyTibdoKo2QPp7qTYbq5kcXQlI92jQ5ArDYFftBVUdgW6CBCrG9BvU b/pAjqee2+fTHTO/pqs4wF34uWs76BPDgbkvKwto3tOt6ZpwQZP5FcoXJFbYM+3RIPub fpDA== 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 141-20020a621793000000b0062a46a30cb7si4213917pfx.51.2023.04.07.12.10.54; Fri, 07 Apr 2023 12:11:06 -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 S233287AbjDGStn (ORCPT + 99 others); Fri, 7 Apr 2023 14:49:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232636AbjDGStS (ORCPT ); Fri, 7 Apr 2023 14:49:18 -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 07A1EC66C; Fri, 7 Apr 2023 11:48:12 -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 CE6AD611DF; Fri, 7 Apr 2023 18:48:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64561C433AA; Fri, 7 Apr 2023 18:48:07 +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 27/40] dt-bindings: pinctrl: qcom,sdm670-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:33 +0200 Message-Id: <20230407184546.161168-27-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?1762545806467697751?= X-GMAIL-MSGID: =?utf-8?q?1762545806467697751?= 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,sdm670-tlmm.yaml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdm670-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdm670-tlmm.yaml index f586b3aa138e..84a15f77e710 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdm670-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdm670-tlmm.yaml @@ -58,6 +58,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: @@ -94,20 +95,9 @@ $defs: uim1_reset, uim2_clk, uim2_data, uim2_present, uim2_reset, uim_batt, usb_phy, vfr_1, vsense_trigger, wlan1_adc0, wlan1_adc1, wlan2_adc0, wlan2_adc1, wsa_clk, wsa_data, ] - - bias-disable: true - bias-pull-down: true - bias-pull-up: true - drive-strength: true - input-enable: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - examples: - | #include From patchwork Fri Apr 7 18:45:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80973 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp478202vqo; Fri, 7 Apr 2023 12:07:21 -0700 (PDT) X-Google-Smtp-Source: AKy350bZNsJGwP4gdXjjJIwWP4QbTlTLR1FJhNjYdJ3mISDVuMs/wb9cc/Swm2zT6HIw00yJO9Id X-Received: by 2002:a17:902:e843:b0:19f:87b5:1873 with SMTP id t3-20020a170902e84300b0019f87b51873mr3882406plg.62.1680894441055; Fri, 07 Apr 2023 12:07:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894441; cv=none; d=google.com; s=arc-20160816; b=GQb/X1T0LDFPNpeItACGCAyMp+cCFzyh0yt6hXy0GCH+bwrHiBnfdckTsJ6gVxR7VR GPuazhE4b9KTXpi7xwVGgD4zJK5AyUQkAE2xBgUKJuWHZBJ0z1wg7mP35NmPE4v3xHlz zB4WhU03Lb2EAeslTudk3olwovg29G1F52/6youBCChn5cdDG/2+vErfBkDclteqZxrg y5OjjcoJgb68DiibmVzn1Ur4L5QOFhMriupNQsGqa6xplVDmYg0s2/arqz2mmMA8Sn8E 6Lddboh4N/p+ABqhd3bFksV+dCS/VrJMy4UZ9BUQzNWY0RLpqJ9pIeqBMBmGklytgyt9 2WOQ== 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=SlcWNpIDljCKYQ0uG+lNZ1CczP0ZtpJ+/9NT0VAwYGY=; b=Q2FSp+r3Pmaop5+AatLWO53d5I1KNfAoMugjrJMVKZIwFut5fkwq1bBM+x5jXHzzzf W0sPk0thYv+c3gW69SaGRx4y0+E9kcVdi5taKfqUQ/33TEFqWybzUzH9Qx0edVjLz0vB FA94LnZim4gqPIDujSNYcfYmjvVXV0dY6nmf6q91ReGI34zke+iIa9kd3HPX8UVDlhsA GRHk1WcOLrnGoQ8ZnMHVouYT9YPKPe7F2yEUu14izMUC5jZO09rLfQ0utVTtUcwzc4KE f3lq9uLyQp/SBwlqVN0+ve20uKKBV9Aqsn5EMXA2spMNAtW7NTywFiYiuwLZm8qk74vp shPA== 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 p2-20020a170902e74200b001a24779345csi4663691plf.141.2023.04.07.12.07.08; Fri, 07 Apr 2023 12:07:21 -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 S233748AbjDGSun (ORCPT + 99 others); Fri, 7 Apr 2023 14:50:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233399AbjDGSuW (ORCPT ); Fri, 7 Apr 2023 14:50:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94D0AE079; Fri, 7 Apr 2023 11:49:03 -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 1C0E4611AE; Fri, 7 Apr 2023 18:48:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8559C433EF; Fri, 7 Apr 2023 18:48:12 +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 28/40] dt-bindings: pinctrl: qcom,sdm845: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:34 +0200 Message-Id: <20230407184546.161168-28-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?1762545569453826504?= X-GMAIL-MSGID: =?utf-8?q?1762545569453826504?= 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: sdm845-cheza-r1.dtb: pinctrl@3400000: 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 --- .../bindings/pinctrl/qcom,sdm845-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.yaml index 23d7c030fec0..d301881ddfa8 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.yaml @@ -61,6 +61,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: @@ -102,19 +103,9 @@ $defs: uim_batt, usb_phy, vfr_1, vsense_trigger, wlan1_adc0, wlan1_adc1, wlan2_adc0, wlan2_adc1] - bias-disable: true - bias-pull-down: true - bias-pull-up: true - drive-strength: true - input-enable: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - required: - compatible - reg From patchwork Fri Apr 7 18:45:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80990 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp480451vqo; Fri, 7 Apr 2023 12:12:01 -0700 (PDT) X-Google-Smtp-Source: AKy350a3KxloeSpaMsY2CHdmzRYh26FTHpe4G2vHYiniewF2bDTNsNc27FrH+CK6VXmFSWALqRPP X-Received: by 2002:a17:90b:4a84:b0:23f:41f5:b887 with SMTP id lp4-20020a17090b4a8400b0023f41f5b887mr3721499pjb.13.1680894721124; Fri, 07 Apr 2023 12:12:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894721; cv=none; d=google.com; s=arc-20160816; b=yrayHT1dJotvlpgwzxlZDnDL1bi6Cw91cYGcju74hcdXc5DKjOS8J7UgSEXnD8yQnY VVgAYt7lBmz40gwlcVlKATRZtW82xwADUwut+pu7MchcD5+gDim099WqNXfE5czo4N7s +OM6kMQ21q5WjahZK56DKk1FnjHjkFS8a3Lb9ATVN9hsHrKKKq93bzExAV/7MHa9fw4E siguFhhsU2UR2VLvFaREi9BVAO5UORqIwya1/YUvWktuD7y/FT3VJ4WfFP6CeYmMIGA9 1JgGJgVaobdOoCp34NoSdsdi41qCQnW0mQ45JlAxWRc8WykR4rFjgRWeQ+oF3p/3lA07 NUMw== 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=sl6nXVKEriXd9h4jJrT8E/TZaZnCG/ewYn4jRefKtdU=; b=JDDTIzMpWGAw7FLQCf2LSqer65XRxHimkh94bbLPbfEbmol00wqagvGrSkcs30u/XA g36rY3HQcgc0wHItQ2aUgdbtGQ72f5H5qw+4yc9xt7zw3NShATvsdWNJBmjoQdVPSuIQ WI6MtABzblbzsxMBlpR6gNLaC3OEd7EhnonXxsF7Woz18A6itQEcc7LEK96GtqI2O8Y5 Ofs9mmtLOMYbCv7HKjARy8Z/kLm5s1Ri21+0cC6lTMvG/EppdgkGpDrC9Q10ig1Fcyed XVDKzt2pZValKEEZz0dhhL2DWSp1VWuuOygpyRHtWtJx+exXMDz4xIjUJPkXHPdaYBHk TuPQ== 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 kb8-20020a17090ae7c800b0023699c44b66si4344848pjb.167.2023.04.07.12.11.43; Fri, 07 Apr 2023 12:12:01 -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 S230463AbjDGS43 (ORCPT + 99 others); Fri, 7 Apr 2023 14:56:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230347AbjDGS4M (ORCPT ); Fri, 7 Apr 2023 14:56:12 -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 749861BD1; Fri, 7 Apr 2023 11:54:15 -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 2EB9564753; Fri, 7 Apr 2023 18:48:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16A3FC433A1; Fri, 7 Apr 2023 18:48:17 +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 29/40] dt-bindings: pinctrl: qcom,sdx55: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:35 +0200 Message-Id: <20230407184546.161168-29-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?1762545863235229483?= X-GMAIL-MSGID: =?utf-8?q?1762545863235229483?= 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,sdx55-pinctrl.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml index a40175258495..67af99dd8f14 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml @@ -48,6 +48,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: @@ -91,18 +92,9 @@ $defs: uim1_present, uim1_reset, uim2_clk, uim2_data, uim2_present, uim2_reset, usb2phy_ac, vsense_trigger ] - bias-pull-down: true - bias-pull-up: true - bias-disable: true - drive-strength: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - allOf: - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# From patchwork Fri Apr 7 18:45:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80962 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp474048vqo; Fri, 7 Apr 2023 12:00:26 -0700 (PDT) X-Google-Smtp-Source: AKy350YDjR9TBB0aav0xHgjS0AMffwhit5kPrJfUrwJ7t9vjqGX0akh/Yfj/ahuTloksDVIvEZRo X-Received: by 2002:a17:90a:3ea6:b0:23f:9445:318e with SMTP id k35-20020a17090a3ea600b0023f9445318emr3051556pjc.3.1680894026587; Fri, 07 Apr 2023 12:00:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894026; cv=none; d=google.com; s=arc-20160816; b=nJEs5Nwwyx+ZGaJCdwdFXqxr36g2EZHbnSnGeX8VFT9FUvVgQc0GCUeOUsD34vnMOA lAmB/AAIJA6yV7hrpueZ9doY48wbW8/XOdFzbkZOFLYUGfmZw/u47PtVL6uCcAW3jq/d 8bs39I3VWS790WTuWCFSkHchEpheW75BaAJi+JslqVYHj3pXoba3+d18flmOVtZGo7QB bkuFmNDAGY/BfZE00K2R/D1U+85vAXnK0c6CxYrn0Dj26b0jtp1JNf3cWN6QmQj31hPj IDx4EOnibCC2qlHuCSH83FcYb9ssJ8wqo4pkZfT/Ql5vKJhSwLIIFTibJMHozn65Zh9l W1kg== 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=bA4Q/Dc2+VCAG4H3nG+KYmLx1/4Imrk17paAnTIgXL4=; b=iFgguydhimw0MVcvRLA/nSISHFRkWMw9YuZkpP18FGo7fgd/l7326Vcqj2QVI7FQMX 2t8KLUoQ0P8XpoRhEr/7OLyqvk5XnsUXmoOy54JOwpJyNzMMrb+/yRVZrKc42eF4Wf0O v9a4DPiOZnLJOEJThSGP0Qbz5NL72MH8aNNks0rL6Qtob0L6vyfFZNKTBH2dEzRTiptP Puq3szsgZQrCLmCXY0LF3oseHmlnpWyh/GTg6cjPc1VVstInphz3tUippNERX5S26CGW H51wG8j62oB5LsqaaqZvj2x2VZnlIcJgWiVNri2Ozv7LGhSeK7yUS++1gImHkQTzORE1 AmlQ== 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 2-20020a631742000000b0050f83aa181esi3990886pgx.698.2023.04.07.12.00.14; Fri, 07 Apr 2023 12:00:26 -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 S232226AbjDGSv3 (ORCPT + 99 others); Fri, 7 Apr 2023 14:51:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232657AbjDGSu4 (ORCPT ); Fri, 7 Apr 2023 14:50:56 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05044EFA9; Fri, 7 Apr 2023 11:49:26 -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 961EA6124E; Fri, 7 Apr 2023 18:48:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1ADDCC433EF; Fri, 7 Apr 2023 18:48:22 +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 30/40] dt-bindings: pinctrl: qcom,sdx65-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:36 +0200 Message-Id: <20230407184546.161168-30-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?1762545134973780833?= X-GMAIL-MSGID: =?utf-8?q?1762545134973780833?= 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 --- .../devicetree/bindings/pinctrl/qcom,sdx65-tlmm.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-tlmm.yaml index 89c5562583d1..2ef793ae4038 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-tlmm.yaml @@ -47,6 +47,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: @@ -111,18 +112,9 @@ $defs: qspi_cs, ssbi2, ssbi1, mss_lte, qspi_clk, qspi0, qspi1, qspi2, qspi3, gpio ] - bias-pull-down: true - bias-pull-up: true - bias-disable: true - drive-strength: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - allOf: - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# From patchwork Fri Apr 7 18:45:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80956 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp473179vqo; Fri, 7 Apr 2023 11:58:18 -0700 (PDT) X-Google-Smtp-Source: AKy350a7f3g+K2KqWLaNmQYphT1fZnOMlloqI/18+okybseBqPUJ4MocXJdlNlUMpLiL38t8Vsx4 X-Received: by 2002:a17:902:d4c6:b0:1a1:cef2:acd4 with SMTP id o6-20020a170902d4c600b001a1cef2acd4mr3358278plg.21.1680893898292; Fri, 07 Apr 2023 11:58:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680893898; cv=none; d=google.com; s=arc-20160816; b=c0k1Qm9DABCwfhSi0zDSyyxw80mo2hLj6cfYyOmhIUnFG8J+VIsyLqXXWjoZi0k39g 15YTflKcisfQfmIkAGN1IVES9qhr7BDS/5ek5UtlvfBfbaU3ory84U6CGcbYevphJwPX yvxo1qgI/5R7xWAITYNwUxBQCuA4V0/oq808T4IhcvoomMZp5y3G9jzK7L/5zPJ5Qyny YnWjQC/hdtyqEVmzHmaqFdvnAEMYNXCD4ZdwJaoZrqLjmuwUUxluvmdx+3LiZDjT13EA 559nbjypniRCS4/BWIMwNKPtVlSQ7q4Jn/jY3d23R0/mDQtZKx1C4ACl2vR8bJAVw97z mDpQ== 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=g8HW3y86vy+ncZcwaKmPQq4odADfgTVvQucOS+mlZ6c=; b=pHLiRRBvKSMtu4p8Hn87QoTee03VsgN/9gJO2l3NyOiCpr3SZ14huEpwq0kI9WVW8q oijPmMf9gZtGzheOpmtwCAuUyp8vIsEEBIWX4/FDU6YovLiSah/hUBu5+s1esBz/SzaH tfHb1DVE+oLObCRg/HtZPNFVFWCZemO/1OcMnQOpV1sbuI/bI1xK+2QVflzarIXlIqyq Z4jSOuVb3Gl6oV2uUmvQTbjPavU8f4/ONZS6Tw5NRkAJNaJ2e6zHY8JMkkM8hpYh+PxE JecMPctPhutMUU03dBr0FFCBOi/tpQN4iUOeEeeXSQvdD5ehPitHGiO7rDfLdK+z3wn5 WUGw== 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 g6-20020a170902934600b001a1e4c61dd9si4202837plp.147.2023.04.07.11.58.06; Fri, 07 Apr 2023 11:58:18 -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 S233584AbjDGSuY (ORCPT + 99 others); Fri, 7 Apr 2023 14:50:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233834AbjDGSt7 (ORCPT ); Fri, 7 Apr 2023 14:49:59 -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 9976BE076; Fri, 7 Apr 2023 11:48:49 -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 DC982611E2; Fri, 7 Apr 2023 18:48:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8339BC433A1; Fri, 7 Apr 2023 18:48:28 +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 31/40] dt-bindings: pinctrl: qcom,sm6115-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:37 +0200 Message-Id: <20230407184546.161168-31-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?1762545000606551703?= X-GMAIL-MSGID: =?utf-8?q?1762545000606551703?= 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 --- .../devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml index 29325483cd2b..871df54f69a2 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.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: @@ -85,18 +86,9 @@ $defs: uim2_present, uim2_reset, usb_phy, vfr_1, vsense_trigger, wlan1_adc0, elan1_adc1 ] - bias-pull-down: true - bias-pull-up: true - bias-disable: true - drive-strength: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - allOf: - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# From patchwork Fri Apr 7 18:45:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80966 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp475330vqo; Fri, 7 Apr 2023 12:02:13 -0700 (PDT) X-Google-Smtp-Source: AKy350YkmWDxo50kIO+1K0IDtwZY7h7zmxK2RDdu1aZ3xMUsih7vJqFsc4Iqqf60q2I6SFTI92Ub X-Received: by 2002:a17:90b:4c47:b0:23d:1fc0:dd1f with SMTP id np7-20020a17090b4c4700b0023d1fc0dd1fmr3584340pjb.38.1680894132675; Fri, 07 Apr 2023 12:02:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894132; cv=none; d=google.com; s=arc-20160816; b=FDlLUl4Cxm6a9f/YCRB+8qIh6NJnC5be1bbOtjCy3ODNNMeZBgFpzjkfYCaCQMOME2 x1FBlaxkdiPSa848dgWXjq+dMF16e57mxHTDYxmbNRHVAyko1RCi0NRcNJ6gm6AhSiE8 FK8wYDWpuIlbalyX0Ud6Emc9YCnne5fOcxTnkJflOES7dUzgxAFCjHONTEvEK3FZap9d Jjrni+HczWQHEaMuwXbUCj3Z3vE/VJJH8uWYK23KL32Z3kFOGiRHaAkpr+SR6tRanZ3f oR/f1OQH5XghJG1eQsGsRjaGdmD+oVlDsFMvPinwjrq97RRLD2BrHtNOB9SIiPamdtl6 jUKw== 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=T5qjxlVciU7IAny+pdOvotaF7hLA0TOQJ9HXkBuJbLo=; b=CPPSgOzWTMGdGdjw5N8KnDd8lE7Zs+oKEbdu7OdcJnEFaCg3v+Y0NabU0LCxvJvmhm lXT/h7wQwszbgUzu3UH+FFPYGAwOoGDLgfm0I3CmoCqiUYoaToROKTI088xq3bn1Yacj XbX5Rn6WCxRNvQoFY6j77lFnMmeCUVWbEIic0qyMjAlaSFji86L4EedBvKd5Hnj/qPnL dcGPkXofb9kKwhYzx3nvZ5691F9THAuxcRzCFt+ZaswNIYJom/ruOBMIcDdffVqJsWYL z1ptXPde3VIlhhEwhd4Wstm9AJn3b9S/kxgVfZYDmcqV1wWk3gojkzDp80QyIL3h6r7k H6gw== 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 u11-20020a6540cb000000b005139bf86110si3823608pgp.673.2023.04.07.12.02.00; Fri, 07 Apr 2023 12:02:12 -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 S233277AbjDGSul (ORCPT + 99 others); Fri, 7 Apr 2023 14:50:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233113AbjDGSuS (ORCPT ); Fri, 7 Apr 2023 14:50:18 -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 C5545E071; Fri, 7 Apr 2023 11:48:57 -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 124CC611DF; Fri, 7 Apr 2023 18:48:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C714DC433D2; Fri, 7 Apr 2023 18:48:33 +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 32/40] dt-bindings: pinctrl: qcom,sm6125-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:38 +0200 Message-Id: <20230407184546.161168-32-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?1762545246031110208?= X-GMAIL-MSGID: =?utf-8?q?1762545246031110208?= 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 --- .../devicetree/bindings/pinctrl/qcom,sm6125-tlmm.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-tlmm.yaml index c9bc4893e8e8..8d77707b02b9 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-tlmm.yaml @@ -61,6 +61,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: @@ -101,19 +102,9 @@ $defs: wlan1_adc0, wlan1_adc1, wlan2_adc0, wlan2_adc1, wsa_clk, wsa_data ] - bias-disable: true - bias-pull-down: true - bias-pull-up: true - drive-strength: true - input-enable: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - examples: - | #include From patchwork Fri Apr 7 18:45:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80949 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp471393vqo; Fri, 7 Apr 2023 11:53:27 -0700 (PDT) X-Google-Smtp-Source: AKy350baf5PsLetNbrVk7W1qr14HhG9vwz2SCkLSJMLb7nbm/a+cNbNipFOeTRpEm0D71rlZGEga X-Received: by 2002:a50:ee99:0:b0:502:3376:7872 with SMTP id f25-20020a50ee99000000b0050233767872mr4279070edr.35.1680893607458; Fri, 07 Apr 2023 11:53:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680893607; cv=none; d=google.com; s=arc-20160816; b=glIybvCs+tYTjOyeH4CAvzMqhc6UbAWTME39082Voz/7M8/7iCo68+9pPtO3XQBLBI lrhovxzZWYS7PA6Vl5p0bweg7LBeMF28HdY+1wYSYopCJejKXysxIavHlrd9lwPQJpJS YenkCP5BxMYLNmlwCcrvP4eiWTNUJGKrFfOtc+sJgEBZc3fPyOrqsB50UYFW4teDJa1r yQEKUYp/o36qkJLoJdySYsBnm+v+PyQ3YUY+UFjWjxqGYK26dEU5L5sNWaEd/yehFroq t+H3YqQL89XRLkz/Ou7ABP9HtKt79u3W06rK2DeNtnKpSJNL4UNtQJBWQ8L/fHosPaRW 5ekQ== 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=BNmG2x1pVsL1Z8+Dp0dc+2d0+wsBpCm/fmACawpH8qY=; b=DNSYW8WVN4l1XS4Wgowrb8s6NBEw/Jm2qTYplPwUYOZ/qjGEobytSvXazapl5UBa9T mjBwHG+3QRMQSs7+68NrXZaEfIlqvNGcd2BKjTFtgmAqi540ccKPOYVXW0afaVxfBnwb Q5o/N8NmnXR5ADLAKGkIEmK14JBSRR9EHAZQVzgz90WyfcFewIpbdUv2Gjn1emdkBJa+ vGBxg/V4vVT1+yBB/m7TCmz/4IYXAJgwmpup+Wvl33T5FEV5lHdRLLHCqCM+uGHs0A5m dtWLlnYCRAHb7JwD8Caxa4oNqV/sOZAHrWJ6hlDfB3BKLoMsnYsPs/2fg1PLgPfxyZJ4 6N2Q== 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 s20-20020aa7d794000000b0050484bb72b0si404921edq.302.2023.04.07.11.53.03; Fri, 07 Apr 2023 11:53:27 -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 S233396AbjDGSv5 (ORCPT + 99 others); Fri, 7 Apr 2023 14:51:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234027AbjDGSvl (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 BE7AACA3B; Fri, 7 Apr 2023 11:49:58 -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 6187663464; Fri, 7 Apr 2023 18:48:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E67E0C433AF; Fri, 7 Apr 2023 18:48:38 +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 33/40] dt-bindings: pinctrl: qcom,sm6350-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:39 +0200 Message-Id: <20230407184546.161168-33-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?1762544695446689832?= X-GMAIL-MSGID: =?utf-8?q?1762544695446689832?= 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,sm6350-tlmm.yaml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-tlmm.yaml index d95935fcc8b5..27af379cf791 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-tlmm.yaml @@ -63,6 +63,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: @@ -108,20 +109,9 @@ $defs: uim2_present, uim2_reset, usb_phy, vfr_1, vsense_trigger, wlan1_adc0, wlan1_adc1, wlan2_adc0, wlan2_adc1, ] - - bias-disable: true - bias-pull-down: true - bias-pull-up: true - drive-strength: true - input-enable: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - examples: - | #include From patchwork Fri Apr 7 18:45:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80953 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp473107vqo; Fri, 7 Apr 2023 11:58:06 -0700 (PDT) X-Google-Smtp-Source: AKy350ZIKwIJ3jdRJL2dZZH2ohz5FnTIsx/x4RiKr/0nPhEyP9U6kUTylZhZCfZnSvcgN2LRRhSO X-Received: by 2002:a05:6a20:29a6:b0:d9:ab8b:9f48 with SMTP id f38-20020a056a2029a600b000d9ab8b9f48mr2206984pzh.20.1680893886408; Fri, 07 Apr 2023 11:58:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680893886; cv=none; d=google.com; s=arc-20160816; b=JrJMKRlK9NCbttJlGaTA04rASpSKSLzBfpI0K7Wyh6Gq90yAL3RAzqCXrv7eykYhdf doViyZ68xnr/ycQCv6Pyf1gzwPz8Y5XVE+19tWT02k6tBjORqCnzr0VbHgDtYphtEoiA P3Et2O/aWW0wSoM6Jp5JCWsaW4JtzdjlsKONzdIKdR5wGiO7YOiRImZWdtK26r4ElnDx iQF0xVdUrLwNPsjm6HUr2UIpq7dXvSD272dZETU8ohMnYENGnhWVkL4jN3G11Uv6l7W1 MrJut4wkiyFnkD+uJKVsKudsrZnxySOKtcUiIZwL5i1BMXnuqdFMXC0EDct7E9NOrSdS zLBQ== 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=s+1wNoyyv24CdIy9RXDOujBtkyOenQQ8HhqUCFn4Uyw=; b=jsljnebQBcjmdqryCczNfX0IepLJmq6eQ0fl68wtwXnbKh0umjaSlFeSz5F/pPf89X BEs31RTPy9h2TlcuRWOmqM6Rs0UrC4hfO9UjFwjl2pYZHFp04C9dBW0PbySpcQpEw3my jtjZQ9ObGKrP+3UNm+dVtbmfKHQHwrtPUWu+vAd8vwbLbNMVD1g1xyFg+gm0uqnWrXWP oeM2vng/wgpWN0PRN/1V84s8v3HorQHRxwqDyxcBfSA35QHU7cHB3O6ytomD7RlJFvjZ pN//BvKnVHg1BQPtbUTr3XToU4FjKqL+xF811gQdalkOregsIxmjZxLgJ21GfHqmqoiR G5Vg== 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 q20-20020a63e214000000b00513a662096fsi3849738pgh.775.2023.04.07.11.57.54; Fri, 07 Apr 2023 11:58:06 -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 S233910AbjDGSu4 (ORCPT + 99 others); Fri, 7 Apr 2023 14:50:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232388AbjDGSue (ORCPT ); Fri, 7 Apr 2023 14:50:34 -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 6E3ABE182; Fri, 7 Apr 2023 11:49:12 -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 908F9611F0; Fri, 7 Apr 2023 18:48:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4787FC433EF; Fri, 7 Apr 2023 18:48:44 +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 34/40] dt-bindings: pinctrl: qcom,sm6375-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:40 +0200 Message-Id: <20230407184546.161168-34-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?1762544987747488694?= X-GMAIL-MSGID: =?utf-8?q?1762544987747488694?= 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,sm6375-tlmm.yaml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml index 66cef48ed59b..6e02ba24825f 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6375-tlmm.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: @@ -109,20 +110,9 @@ $defs: usb_phy, vfr_1, vsense_trigger, wlan1_adc0, wlan1_adc1, wlan2_adc0, wlan2_adc1 ] - - bias-disable: true - bias-pull-down: true - bias-pull-up: true - drive-strength: true - input-enable: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - examples: - | #include From patchwork Fri Apr 7 18:45:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80975 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp479144vqo; Fri, 7 Apr 2023 12:09:13 -0700 (PDT) X-Google-Smtp-Source: AKy350bN/5ZO0EzUkRoRHMf92Q5bWYnfr8sTFNZaweSl5WJnJK1bfZI5grWVPthYrD4IBLxwTXds X-Received: by 2002:a17:902:f14c:b0:19c:a9b8:4349 with SMTP id d12-20020a170902f14c00b0019ca9b84349mr2980592plb.32.1680894553701; Fri, 07 Apr 2023 12:09:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894553; cv=none; d=google.com; s=arc-20160816; b=TUtDyrIFkdq0ciI/7u7W7MDh4ecYrzPwtbiWhAFENDQ3u4V756/4mZfUSG7qHfwatQ J1G3Q2NjB0QTFVe4+MRuCL47v0JmszmDOAGozl0d9d2zGpf9Y/ZyU/2vy1MEPfoACeJh 3kUuPndsndssF+PArLd7QPYXP6U1a1+bDhEQ6ZidedftFBJVJAQ1fVeJcWQMIT+ioxSM Bcc3bX2feB1sWiRS96lEONdABA1pwadx0LEwPXMzcZ38G+EUFRf2F6WmjM4TYxuYGFa3 3WHDChColJWfe1dY1AjdDfIfyJ2D/OlkYPB+K8uid3u3/5M+DykgrTj3ZANHwEeiMyUn YzDw== 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=v/RYAl3ooTOJq+q3tk1RcXOztBFO2YYOeTRSKCwjuhU=; b=izl/jL8qEC/BobhYmPNmjB5FZ4ry9IYppRpd2SFvnpzbdw2cv0i3BZF8BtxCoCYqkG hWvEGK9rMEiwhFg2BExaMQaKL6QOl0zx4b8et7dRXsKvFzQCC7qJ+gsGXb4FWboO/Jaq YMkUPF16qfJgydoKdrJcP8iuCuUWs6BWLTInh8CYu2zIbDVVigQi12sObRPS0nVPtEzk P2MAZi7sZDLGNEiHT8RwHbiEXgZS6rDR0JXXQTw60ujKM/I4yGmW4Tmx9amv8YU1apAW 3xtRIZ75kLHgysjGCOormVZbvzpJzZ0tC9laSgThTVdL51QuY9zefYxmc+sA0EU4cF4+ TyHQ== 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 s4-20020a170902a50400b001a1d47f6116si4300662plq.88.2023.04.07.12.09.01; Fri, 07 Apr 2023 12:09:13 -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 S234086AbjDGSvH (ORCPT + 99 others); Fri, 7 Apr 2023 14:51:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233325AbjDGSul (ORCPT ); Fri, 7 Apr 2023 14:50: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 BA0F3C650; Fri, 7 Apr 2023 11:49:17 -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 CAD1C647D6; Fri, 7 Apr 2023 18:48:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DB7EC433D2; Fri, 7 Apr 2023 18:48:49 +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 35/40] dt-bindings: pinctrl: qcom,sm7150-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:41 +0200 Message-Id: <20230407184546.161168-35-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?1762545687894762312?= X-GMAIL-MSGID: =?utf-8?q?1762545687894762312?= 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 --- .../devicetree/bindings/pinctrl/qcom,sm7150-tlmm.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm7150-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm7150-tlmm.yaml index a57d44efe5bd..ede0f3acad9c 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm7150-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm7150-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: @@ -102,19 +103,9 @@ $defs: wlan1_adc0, wlan1_adc1, wlan2_adc0, wlan2_adc1, wsa_clk, wsa_data ] - 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 - required: - compatible - reg From patchwork Fri Apr 7 18:45:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80955 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp473129vqo; Fri, 7 Apr 2023 11:58:09 -0700 (PDT) X-Google-Smtp-Source: AKy350bjLgGK/IKM3czGcvR76pUZ3SuaqXl71kwZ62wug4vn6DmQTvGVaqDyF6GvEcKAq96CqeeP X-Received: by 2002:a05:6a20:1207:b0:da:368e:7c73 with SMTP id v7-20020a056a20120700b000da368e7c73mr2992026pzf.37.1680893889279; Fri, 07 Apr 2023 11:58:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680893889; cv=none; d=google.com; s=arc-20160816; b=OlQZVLVGDBQvIAof4kEg5kHf31RhQRGeMFi8+57TjYAoliwtjuK1xVgKmxW3LpnJ/Y Q/j+aRrn784int9IXcWYXKs635pwKx+rkKEjV3fWrQIM1K2NSH4qI1ixssBVAvnuV//j bVcuM8FX0LF+iRFZ0WBHorKmVjr1sq0YJ5CK5HhSncLJHiqlymrFgN4xnxdYd1jThvbt GhkPEB9frvICKJo6Gnl+uu+R9duqj9l9ZwOAX3W5NTW4YO8aJZmxEIs/mbJDxPbN5LGp BPppk+mbU1u012itRRvANXTL4DO9Eej667yUuOrgs+96c50H0H5gaS4/+nj3D/Og4l0G UScQ== 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=h5js7OGMr6iymghCvFe2YabhgDDdMXrFFJdgGamY1pQ=; b=DEyFRnx0L/fbFszhbsPkyX3gUeVISa2WSDv4/C3ICKJ65hrNEABgTpji+XGzBfj2Vm cjYQrMgsVjQ4SqMTuXGCLlgz9kRd6Uebf9Yo9plvBEUGAu5B8cQOXlak0nnseKy0qJdi a76ylkuyPGU7sGtbe9kq+0daoLAVRUHyAAPmBqEbixsKOO0wVBELsAZiAYF+/yIkjdZw 1yXFY3/IQPFRjhXITOGf1e7nH2aUEXNv0tvFly5by4eqm7wKWlwFcahWwBYTDPI8GSxN 5H3qbcqhQ7+LwkBJRpIh45jCiIRIhr4WW4hDqVdsYmt38/brAGfyCaWvRReq/FMx1tLK rqQw== 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 x12-20020aa79acc000000b006265c3b7053si4269672pfp.200.2023.04.07.11.57.57; Fri, 07 Apr 2023 11:58:09 -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 S233370AbjDGSvy (ORCPT + 99 others); Fri, 7 Apr 2023 14:51:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233069AbjDGSvf (ORCPT ); Fri, 7 Apr 2023 14:51:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D73AFD508; Fri, 7 Apr 2023 11:49: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 3F22964804; Fri, 7 Apr 2023 18:49:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7576C4339B; Fri, 7 Apr 2023 18:48:54 +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 36/40] dt-bindings: pinctrl: qcom,sm8150: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:42 +0200 Message-Id: <20230407184546.161168-36-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?1762544991062991242?= X-GMAIL-MSGID: =?utf-8?q?1762544991062991242?= 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,sm8150-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8150-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8150-pinctrl.yaml index 4376a9bd4d70..c5ffbea95957 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8150-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8150-pinctrl.yaml @@ -60,6 +60,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: @@ -101,19 +102,9 @@ $defs: usb_phy, vfr_1, vsense_trigger, wlan1_adc0, wlan1_adc1, wlan2_adc0, wlan2_adc1, wmss_reset ] - 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# From patchwork Fri Apr 7 18:45:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80989 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp480310vqo; Fri, 7 Apr 2023 12:11:43 -0700 (PDT) X-Google-Smtp-Source: AKy350Y+WeZIas00ouaqBoq3xNMFHL9Z8f9arrqIa8U9A3GVID847a/rMvosBVkKRS8SWF7FQ2bl X-Received: by 2002:a17:90b:4b8e:b0:239:fd9b:85bd with SMTP id lr14-20020a17090b4b8e00b00239fd9b85bdmr3543038pjb.27.1680894703168; Fri, 07 Apr 2023 12:11:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894703; cv=none; d=google.com; s=arc-20160816; b=Sp0FkxzVSNdPZI8gdyZHhSFCfsdYjwSs26YlHb9/y3HFI4k8X99m3498K6N7eIwd29 GY0Gw1XagypU2te3BKaTClBImVl/45KNcJ9PezTTTABdD5vzic8eBUOW3GuaNcfo3WCj i2MkSc9X+UB4dj738vASWJZ/TBK6CyTBrgyDgMjtrmkkN9wKCrlp7CalFZPCBW797dGN Q1ZCkBlZUnGEDJ8jxiaH8hefRG+zoqUNbw1BHFSdMhpUPt2XnrrixMlz5gVc3I98Sjt6 f3auHO986cmMMOrSpZ5qdeZBH8PxT+2RNYvbx+O1b4tcx454TuOkiwOXs6Rj2RyFU8mO 3YBA== 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=BVFjyKz9WhjYRI1yYsxUWBTqdrkweW217vN7pkfTdmI=; b=wJzQ2f45HvWKgSWXE7bY9zmFI2P64pA2LO+40ybEh/4aoJVCb6TcPbuNwxpBz3bLFE Mp31RALm20llXB8vHWYDkZVZBGyJ6xvTs7TTXUQeNmrHf3OwcUauXTqJdB/0doViIYeW MrSCsZq8Nmf0qtWTJplFIPhFEYX6eucrcAiQ7ZPVBFp4Buza6G5gUjTt9Q3wobo9CbBs +mhoA+0JgLnSGXPziR28ThnPExXs8liKj/BXzQa62Uja9zkWEG8ZmQHI4Yylh49/9xOo 2AUCXH1eoSP2gs9G+gcvOFd5bDWGxKMnV7Vu3J90CI6VQicIzr14LUccjrgueUSwwTFK LuJQ== 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 l2-20020a17090a660200b00240f5dfb8cfsi4181702pjj.86.2023.04.07.12.11.30; Fri, 07 Apr 2023 12:11:43 -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 S234810AbjDGSwm (ORCPT + 99 others); Fri, 7 Apr 2023 14:52:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234753AbjDGSwX (ORCPT ); Fri, 7 Apr 2023 14:52:23 -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 17A4DE056; Fri, 7 Apr 2023 11:50:27 -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 8F67B6353D; Fri, 7 Apr 2023 18:49:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23C75C4339E; Fri, 7 Apr 2023 18:48:59 +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 37/40] dt-bindings: pinctrl: qcom,sm8250: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:43 +0200 Message-Id: <20230407184546.161168-37-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?1762545844540346644?= X-GMAIL-MSGID: =?utf-8?q?1762545844540346644?= 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,sm8250-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml index cf561dff8893..021c54708524 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml @@ -58,6 +58,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: @@ -94,19 +95,9 @@ $defs: tsif0_en, tsif0_error, tsif0_sync, tsif1_clk, tsif1_data, tsif1_en, tsif1_error, tsif1_sync, usb2phy_ac, usb_phy, vsense_trigger ] - 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# 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 From patchwork Fri Apr 7 18:45:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80988 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp480306vqo; Fri, 7 Apr 2023 12:11:43 -0700 (PDT) X-Google-Smtp-Source: AKy350YAYtgxY/DPLVPM7Eu7FQxZfqXsmcsTvoU8TWZn0OjEoafNNVtSEY1wONcVkKIjCJU0pxw/ X-Received: by 2002:a17:902:d506:b0:1a0:514c:c2d2 with SMTP id b6-20020a170902d50600b001a0514cc2d2mr4775597plg.68.1680894703068; Fri, 07 Apr 2023 12:11:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894703; cv=none; d=google.com; s=arc-20160816; b=xunmoSUBUUCIzO8SNmcpWOI/VwYWbFRrX4JqrHl0xsMpusij+Vqa1Ulg05aAE5OM8T PKMr3Ih1THU+twZ9MqMYLx1w+LHSnEmf40UsU2ZXlLvkf1s5xYZOGxYIDEiIZsyoACpa roRpfmJGRiyOnZKYzszIhEbzvEmjO9FhCcpG4sG0pegORIL027ofVZRZjQHIiNe/WVBq mBh9VAsnp17qTZsKr+8dyyUbgR9KZ8TjCQYRkYhLVZn9XSNN5hAGfLCIixoXGPmy4ESG v/5+Ip5tPJUIRTIId2uX5kmsTtqku46y5PBIfVR8+Aa/VroR5n5BqTkPLiallibWq7cv UKeg== 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=GQQBFzFjk/6TrdYM2PknxvQ05bGXuJ47l31IOtgpiLc=; b=ELllkURLih8HKYAL20XDNcvMWNyF9Bci58dT4/XqOFKY3h6o3le/m9e44mxvjIZkhn HzDyjRWGOb73wjkhc+dU8OyqGhgzrmomr2tm+xo1Z/g9fb8JihvOwG++NWAeM663gYkH nGo63F3nXlqNWZv2LHhhc/MBYg5mJkQ09e2t8D76xFF83y6E750VBpLBSmRvzk+ckamw BFqQmB8S2xggR53ujAVF6SRiEJRkAah2zoDTOPwQV6YjWtaOd/2RepbK6ENldqwk0i1P kvWFoNuZSrzuYJBUSPoZ9SqExlkpr3TATLVO4mzV+2rbm3GFZHU3p0DwJzfqNWzGoKCn k0dw== 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 u19-20020a170902a61300b0019c93e0dce0si4327880plq.254.2023.04.07.12.11.31; Fri, 07 Apr 2023 12:11:43 -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 S233191AbjDGSvE (ORCPT + 99 others); Fri, 7 Apr 2023 14:51:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233112AbjDGSuj (ORCPT ); Fri, 7 Apr 2023 14:50:39 -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 2F1B6EF80; Fri, 7 Apr 2023 11:49:16 -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 C423F65211; Fri, 7 Apr 2023 18:49:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9224BC433EF; Fri, 7 Apr 2023 18:49:10 +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 39/40] dt-bindings: pinctrl: qcom,sm8450-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:45 +0200 Message-Id: <20230407184546.161168-39-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?1762545843985975204?= X-GMAIL-MSGID: =?utf-8?q?1762545843985975204?= 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 --- .../devicetree/bindings/pinctrl/qcom,sm8450-tlmm.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-tlmm.yaml index 56c8046f1be0..5163fe3f5365 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-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: @@ -103,19 +104,9 @@ $defs: 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-enable: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - examples: - | #include From patchwork Fri Apr 7 18:45:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80981 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp479680vqo; Fri, 7 Apr 2023 12:10:25 -0700 (PDT) X-Google-Smtp-Source: AKy350Ye2ESf6MWQsdNFi8rekXbcNzwbW60QDbVWqWXol2awdCW9nMSoCk55BEwaLNYRnl0OmCPb X-Received: by 2002:a17:90a:64c4:b0:241:c17:924d with SMTP id i4-20020a17090a64c400b002410c17924dmr3689960pjm.41.1680894624888; Fri, 07 Apr 2023 12:10:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894624; cv=none; d=google.com; s=arc-20160816; b=BsN8kpfxPsKsU3BfwjGHxrqLghNkWY3yAqnvnGocF1ZxHTt0fmdjDzNVcPB+SyzbKI ytJU2Ee3z7JHv8lnr8FXUIr+G2cZLuJkBOGKtvE3b2cEmRxu2wOM4npL2bsh3wprkKQL JeS8AY/PTzOWNw1/56xOYRMChfPkL96we6ayQdxPjRecG0LongkE1o5LWH4gotfjmJxu TSZQoyr/nWetCiBIc9aeqjeTTS34JHQRSlheRvRV9IFI132lXZvb6r5gW+nAzf2y/AkJ kR34yKOCEMtOfT8HZeSQi2qxkLmf+c9JLkcX9LOzCCXNGLWlvIsQghBgg8kcLR94+s9/ adIQ== 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=d+VI0Ug9q+0lHIxfsTXkxmuFE3a7TbEB291CKwtITBc=; b=NqEM3hZ4hahv3z8zPZ64sAhmvvafwBGHiieI1X0Fj8DFULnD7/xAYCAjYiD2Izg8Uy uVaQ8Tk+kj8QUI0k/RMkCcAhwzYBOF/BP0X0/vYpVzfWiA8JDazA/sjb4Y94bknacA4j 3Gbjo1XAQlb/jnfbMU0DdA6y6VRKBMsE6XhSVVubN4UyiOh2W+l4qjsSUTInCygH+rd8 lsa7+apIj5uBlZadt+FBcenBycZfNqs1KVeJGNWPbvW2WZtsJA3wyL/TxVb+c2hyVyRp 8lF9Y1OKm4UsNIg6ew33sGsycUKGntQ5+jGXEyCPwgffP+9GH0hgNqN/WJdem88ECGrv IPUA== 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 a5-20020a170902ecc500b0019c33978781si4666815plh.283.2023.04.07.12.10.12; Fri, 07 Apr 2023 12:10:24 -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 S234274AbjDGSvS (ORCPT + 99 others); Fri, 7 Apr 2023 14:51:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232035AbjDGSuu (ORCPT ); Fri, 7 Apr 2023 14:50:50 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29C8110F8; Fri, 7 Apr 2023 11:49:21 -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 018E461CD8; Fri, 7 Apr 2023 18:49:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5269C433A8; Fri, 7 Apr 2023 18:49:15 +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 40/40] dt-bindings: pinctrl: qcom,sm8550-tlmm: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:46 +0200 Message-Id: <20230407184546.161168-40-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?1762545762145315462?= X-GMAIL-MSGID: =?utf-8?q?1762545762145315462?= 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 --- .../devicetree/bindings/pinctrl/qcom,sm8550-tlmm.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8550-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8550-tlmm.yaml index a457425ba112..f789c7753a92 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8550-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8550-tlmm.yaml @@ -54,6 +54,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: @@ -109,19 +110,9 @@ $defs: uim1_clk, uim1_data, uim1_present, uim1_reset, usb1_hs, usb_phy, vfr_0, vfr_1, vsense_trigger_mirnat ] - bias-disable: true - bias-pull-down: true - bias-pull-up: true - drive-strength: true - input-enable: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - required: - compatible - reg