From patchwork Fri Dec 8 21:55: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: 176052 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5740629vqy; Fri, 8 Dec 2023 13:55:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IG7ZgqM/Laygs2KrAk+mYJjuzcOw3Oq3hQ8f+MZCjsk9pPycBcSNaiZpVEeWQ2dvhg+fMRL X-Received: by 2002:a05:6a00:21d3:b0:6cd:f50c:32aa with SMTP id t19-20020a056a0021d300b006cdf50c32aamr902565pfj.13.1702072547658; Fri, 08 Dec 2023 13:55:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702072547; cv=none; d=google.com; s=arc-20160816; b=BG+akaVEB5pJBRHV2UpfIHCuqqnvPNdi5OIE926imiIhoVIJY1jtJSyN79oFUFrDGp fnnkiQA68gaHQ64F0iOgmQCtVyLAY1G0FOA4NKCYrrYriJtafT6hKymH/FB+P31BAq8T 8AF2lEoud3TtV74IE3lHrfUKfJrxnSxr9kJIyGirvFJOkJFqYbEfMI/3SpoSnd49edhv z9yRKGw0Uz7YGf/ioQLwO09H1p5vZM97WoPVurfJ4U239wUtAauN1nDl8LGK5htaAOrN k+uWKhcwZyYxQEmRvEhnjKova1VJM+2yh5171PPCiGAUcVQGfx5wT+JF7GUDPLxz02v9 F9Ng== 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:dkim-signature; bh=FjvclqOZQPdp/ySHfQ62/WK4T76lvl+K0DABvIIpwvo=; fh=osUoKzrAgwDelRlndJEL5+nc7h7NF7pqP+0Zgt4syd4=; b=EhNg+Sg8SGfL3k9uwoLFs6TsJFTCad2zgYYn7KIE/A85IK5EZ7u02C3iB4w5bgi0nm GDDUhzztMl372WcXQgyyuH4kiFQoJAsrlJced7INGx/rgGF5qb2FXLpG5geLDc0y5syg W1rtc3vCeZj93E9O072ZHeggw1if7zwSKS1uyw8ze71c4SrMtNlmK60NgbXfxud4KdUD 1Z9eMLYCwh56CtqX8+8CXYVtL0NqEVNS1PwF8FhVlG0gL0tvdLy2NVK7vRECrAZAKJxd qKmAjl6iAtMPLLUM7G+zaXogZeseWvr4/KGeBExX8jxkJhLANpRQcbpBU4n8Peu7pox6 TNOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ID3x8OxZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id a1-20020a654181000000b005c14fc66cc1si2012783pgq.22.2023.12.08.13.55.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:55:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ID3x8OxZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7E4718104517; Fri, 8 Dec 2023 13:55:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574796AbjLHVzh (ORCPT + 99 others); Fri, 8 Dec 2023 16:55:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbjLHVzg (ORCPT ); Fri, 8 Dec 2023 16:55:36 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 104A81989 for ; Fri, 8 Dec 2023 13:55:41 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-40c25973988so27066935e9.2 for ; Fri, 08 Dec 2023 13:55:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702072539; x=1702677339; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=FjvclqOZQPdp/ySHfQ62/WK4T76lvl+K0DABvIIpwvo=; b=ID3x8OxZu23v1b/XsPieOYJtzIj11gpTNJ/QsaLM1dhPFpMVuu6+FC8fBlgBRHMPwe XHqZ5dDOuyBBNd0AVp8iRZFlMK81VZGP4f082Xy3PG1YSk0csKZ/5YTVO3kqtOls13Wb fdYniWjhs52ggwcKO32LsXjnqO8sdu/I5t/4ITqLkRkZoJYelG+0dKgnHXPN//mkQfsX oex1Ai9RbZyYry7WzB+8pRMH3qyeKqP5cz5J/bsFZf86e1sNpJ8PoTpYLL+iFELCcBBB /nBtn91+SZPwYHcVWWhKhSB10RMYG3oRPfBlErP4fpDf9pRH1FfdnZFHrn+oBtyhKoyR bXUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702072539; x=1702677339; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FjvclqOZQPdp/ySHfQ62/WK4T76lvl+K0DABvIIpwvo=; b=EZY8OAw5HaNr7ovXFvNIw00Ck9hF9yJ4npe+vVRxC+OtqJ8Jx/eRpIleY0rzBV+TKD BS7hjPbkLmDjsQswaMABqloQ8Z3ltRejOR1yuR2f78hQBxq6kObgWPik0+R71Agc02j3 t3LbTADBQ0YjquS/gu0V1RYT248ErnvSWXS1A+I1mAddM9RpoDhfTdWnquxbKscr2rlA 3erYXxLZXwRw1wnJt8LoWvjvfueMtIB/4P0uya6vDDXbbILSUXdjOr1+Gu/UfDQzT4Tt wW73joPz3MLFL2UAQAwVj0FKh+jc8vCXgDW9VLBzbgodhj3SOcRZ/TT4v/82Moc0BLpe 0uQw== X-Gm-Message-State: AOJu0Yzp+j2XcDX2ZXV7cLCzH2ekEN4PEYjEHEqWk3X2NtU5ORCWwoZ5 9stm5G993XcUK3GBr5POyvC8Vw== X-Received: by 2002:a05:600c:3ba6:b0:40b:5e21:e27a with SMTP id n38-20020a05600c3ba600b0040b5e21e27amr321653wms.103.1702072539267; Fri, 08 Dec 2023 13:55:39 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id r20-20020a05600c459400b0040b349c91acsm6321789wmo.16.2023.12.08.13.55.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:55:38 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Andy Gross , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , Stephan Gerhold , Shawn Guo , Melody Olvera , Bartosz Golaszewski , Richard Acayan , Vinod Koul , krishna Lanka , Rohit Agarwal , Iskren Chernev , Martin Botka , Danila Tikhonov , Abel Vesa , Rajendra Nayak , 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/10] dt-bindings: pinctrl: qcom: create common LPASS LPI schema Date: Fri, 8 Dec 2023 22:55:25 +0100 Message-Id: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 08 Dec 2023 13:55:46 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784752423656254439 X-GMAIL-MSGID: 1784752423656254439 Just like regular TLMM pin controllers in Qualcomm SoCs, the Low Power Audio SubSystem (LPASS) Low Power Island (LPI) TLMM blocks share a lot of properties, so common part can be moved to separate schema to reduce code duplication and make reviewing easier. Except the move of common part, this introduces effective changes: 1. To all LPASS LPI bindings: Reference pinmux-node.yaml in each pin muxing and configuration node, to bring definition of "function" and "pins" properties. 2. qcom,sc7280-lpass-lpi-pinctrl: Reference pinctrl.yaml in top leve. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../pinctrl/qcom,lpass-lpi-common.yaml | 75 +++++++++++++++++++ .../qcom,sc7280-lpass-lpi-pinctrl.yaml | 49 ++---------- .../qcom,sc8280xp-lpass-lpi-pinctrl.yaml | 49 +----------- .../qcom,sm6115-lpass-lpi-pinctrl.yaml | 48 +----------- .../qcom,sm8250-lpass-lpi-pinctrl.yaml | 49 +----------- .../qcom,sm8350-lpass-lpi-pinctrl.yaml | 49 +----------- .../qcom,sm8450-lpass-lpi-pinctrl.yaml | 49 +----------- .../qcom,sm8550-lpass-lpi-pinctrl.yaml | 49 +----------- .../qcom,sm8650-lpass-lpi-pinctrl.yaml | 49 +----------- 9 files changed, 109 insertions(+), 357 deletions(-) create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,lpass-lpi-common.yaml diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,lpass-lpi-common.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,lpass-lpi-common.yaml new file mode 100644 index 000000000000..3b5045730471 --- /dev/null +++ b/Documentation/devicetree/bindings/pinctrl/qcom,lpass-lpi-common.yaml @@ -0,0 +1,75 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pinctrl/qcom,lpass-lpi-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SoC LPASS LPI TLMM Common Properties + +maintainers: + - Bjorn Andersson + - Srinivas Kandagatla + - Krzysztof Kozlowski + +description: + Common properties for the Top Level Mode Multiplexer pin controllers in the + Low Power Audio SubSystem (LPASS) Low Power Island (LPI) of Qualcomm SoCs. + +properties: + gpio-controller: true + + "#gpio-cells": + description: + Specifying the pin number and flags, as defined in + include/dt-bindings/gpio/gpio.h + const: 2 + + gpio-ranges: + maxItems: 1 + +required: + - gpio-controller + - "#gpio-cells" + - gpio-ranges + +allOf: + - $ref: pinctrl.yaml# + +additionalProperties: true + +$defs: + qcom-tlmm-state: + properties: + drive-strength: + enum: [2, 4, 6, 8, 10, 12, 14, 16] + default: 2 + description: + Selects the drive strength for the specified pins, in mA. + + slew-rate: + enum: [0, 1, 2, 3] + default: 0 + description: | + 0: No adjustments + 1: Higher Slew rate (faster edges) + 2: Lower Slew rate (slower edges) + 3: Reserved (No adjustments) + + bias-bus-hold: true + bias-pull-down: true + bias-pull-up: true + bias-disable: true + input-enable: true + output-high: true + output-low: true + + required: + - pins + - function + + allOf: + - $ref: pincfg-node.yaml# + - $ref: pinmux-node.yaml# + + additionalProperties: true + diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml index 00c5a00e35fc..08801cc4e476 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml @@ -20,16 +20,6 @@ properties: reg: maxItems: 2 - gpio-controller: true - - "#gpio-cells": - description: Specifying the pin number and flags, as defined in - include/dt-bindings/gpio/gpio.h - const: 2 - - gpio-ranges: - maxItems: 1 - patternProperties: "-state$": oneOf: @@ -45,7 +35,8 @@ $defs: description: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. - $ref: /schemas/pinctrl/pincfg-node.yaml + $ref: qcom,lpass-lpi-common.yaml#/$defs/qcom-tlmm-state + unevaluatedProperties: false properties: pins: @@ -68,42 +59,14 @@ $defs: Specify the alternative function to be configured for the specified pins. - drive-strength: - enum: [2, 4, 6, 8, 10, 12, 14, 16] - default: 2 - description: - Selects the drive strength for the specified pins, in mA. - - slew-rate: - enum: [0, 1, 2, 3] - default: 0 - description: | - 0: No adjustments - 1: Higher Slew rate (faster edges) - 2: Lower Slew rate (slower edges) - 3: Reserved (No adjustments) - - bias-pull-down: true - bias-pull-up: true - bias-bus-hold: true - bias-disable: true - output-high: true - output-low: true - - required: - - pins - - function - - additionalProperties: false - required: - compatible - reg - - gpio-controller - - "#gpio-cells" - - gpio-ranges -additionalProperties: false +allOf: + - $ref: qcom,lpass-lpi-common.yaml# + +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-lpass-lpi-pinctrl.yaml index a9167dac9ab5..240e6d45cc95 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-lpass-lpi-pinctrl.yaml @@ -32,16 +32,6 @@ properties: - const: core - const: audio - gpio-controller: true - - "#gpio-cells": - description: Specifying the pin number and flags, as defined in - include/dt-bindings/gpio/gpio.h - const: 2 - - gpio-ranges: - maxItems: 1 - patternProperties: "-state$": oneOf: @@ -57,7 +47,8 @@ $defs: description: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. - $ref: /schemas/pinctrl/pincfg-node.yaml + $ref: qcom,lpass-lpi-common.yaml#/$defs/qcom-tlmm-state + unevaluatedProperties: false properties: pins: @@ -79,48 +70,16 @@ $defs: Specify the alternative function to be configured for the specified pins. - drive-strength: - enum: [2, 4, 6, 8, 10, 12, 14, 16] - default: 2 - description: - Selects the drive strength for the specified pins, in mA. - - slew-rate: - enum: [0, 1, 2, 3] - default: 0 - description: | - 0: No adjustments - 1: Higher Slew rate (faster edges) - 2: Lower Slew rate (slower edges) - 3: Reserved (No adjustments) - - bias-bus-hold: true - bias-pull-down: true - bias-pull-up: true - bias-disable: true - input-enable: true - output-high: true - output-low: true - - required: - - pins - - function - - additionalProperties: false - allOf: - - $ref: pinctrl.yaml# + - $ref: qcom,lpass-lpi-common.yaml# required: - compatible - reg - clocks - clock-names - - gpio-controller - - "#gpio-cells" - - gpio-ranges -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-lpass-lpi-pinctrl.yaml index abac3311fc55..f4cf2ce86fcd 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-lpass-lpi-pinctrl.yaml @@ -31,16 +31,6 @@ properties: items: - const: audio - gpio-controller: true - - "#gpio-cells": - description: Specifying the pin number and flags, as defined in - include/dt-bindings/gpio/gpio.h - const: 2 - - gpio-ranges: - maxItems: 1 - patternProperties: "-state$": oneOf: @@ -56,7 +46,8 @@ $defs: description: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. - $ref: /schemas/pinctrl/pincfg-node.yaml + $ref: qcom,lpass-lpi-common.yaml#/$defs/qcom-tlmm-state + unevaluatedProperties: false properties: pins: @@ -75,48 +66,17 @@ $defs: Specify the alternative function to be configured for the specified pins. - drive-strength: - enum: [2, 4, 6, 8, 10, 12, 14, 16] - default: 2 - description: - Selects the drive strength for the specified pins, in mA. - - slew-rate: - enum: [0, 1, 2, 3] - default: 0 - description: | - 0: No adjustments - 1: Higher Slew rate (faster edges) - 2: Lower Slew rate (slower edges) - 3: Reserved (No adjustments) - - bias-bus-hold: true - bias-pull-down: true - bias-pull-up: true - bias-disable: true - input-enable: true - output-high: true - output-low: true - - required: - - pins - - function - - additionalProperties: false allOf: - - $ref: pinctrl.yaml# + - $ref: qcom,lpass-lpi-common.yaml# required: - compatible - reg - clocks - clock-names - - gpio-controller - - "#gpio-cells" - - gpio-ranges -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-lpass-lpi-pinctrl.yaml index 4b4be7efc150..750c996c10a7 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-lpass-lpi-pinctrl.yaml @@ -30,16 +30,6 @@ properties: - const: core - const: audio - gpio-controller: true - - "#gpio-cells": - description: Specifying the pin number and flags, as defined in - include/dt-bindings/gpio/gpio.h - const: 2 - - gpio-ranges: - maxItems: 1 - patternProperties: "-state$": oneOf: @@ -55,7 +45,8 @@ $defs: description: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. - $ref: /schemas/pinctrl/pincfg-node.yaml + $ref: qcom,lpass-lpi-common.yaml#/$defs/qcom-tlmm-state + unevaluatedProperties: false properties: pins: @@ -78,48 +69,16 @@ $defs: Specify the alternative function to be configured for the specified pins. - drive-strength: - enum: [2, 4, 6, 8, 10, 12, 14, 16] - default: 2 - description: - Selects the drive strength for the specified pins, in mA. - - slew-rate: - enum: [0, 1, 2, 3] - default: 0 - description: | - 0: No adjustments - 1: Higher Slew rate (faster edges) - 2: Lower Slew rate (slower edges) - 3: Reserved (No adjustments) - - bias-pull-down: true - bias-pull-up: true - bias-bus-hold: true - bias-disable: true - input-enable: true - output-high: true - output-low: true - - required: - - pins - - function - - additionalProperties: false - allOf: - - $ref: pinctrl.yaml# + - $ref: qcom,lpass-lpi-common.yaml# required: - compatible - reg - clocks - clock-names - - gpio-controller - - "#gpio-cells" - - gpio-ranges -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-lpass-lpi-pinctrl.yaml index 2e65ae08dd21..9d782f910b31 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-lpass-lpi-pinctrl.yaml @@ -33,16 +33,6 @@ properties: - const: core - const: audio - gpio-controller: true - - "#gpio-cells": - description: Specifying the pin number and flags, as defined in - include/dt-bindings/gpio/gpio.h - const: 2 - - gpio-ranges: - maxItems: 1 - patternProperties: "-state$": oneOf: @@ -58,7 +48,8 @@ $defs: description: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. - $ref: /schemas/pinctrl/pincfg-node.yaml + $ref: qcom,lpass-lpi-common.yaml#/$defs/qcom-tlmm-state + unevaluatedProperties: false properties: pins: @@ -81,48 +72,16 @@ $defs: Specify the alternative function to be configured for the specified pins. - drive-strength: - enum: [2, 4, 6, 8, 10, 12, 14, 16] - default: 2 - description: - Selects the drive strength for the specified pins, in mA. - - slew-rate: - enum: [0, 1, 2, 3] - default: 0 - description: | - 0: No adjustments - 1: Higher Slew rate (faster edges) - 2: Lower Slew rate (slower edges) - 3: Reserved (No adjustments) - - bias-bus-hold: true - bias-pull-down: true - bias-pull-up: true - bias-disable: true - input-enable: true - output-high: true - output-low: true - - required: - - pins - - function - - additionalProperties: false - allOf: - - $ref: pinctrl.yaml# + - $ref: qcom,lpass-lpi-common.yaml# required: - compatible - reg - clocks - clock-names - - gpio-controller - - "#gpio-cells" - - gpio-ranges -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml index 1eefa9aa6a86..e7565592da86 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml @@ -32,16 +32,6 @@ properties: - const: core - const: audio - gpio-controller: true - - "#gpio-cells": - description: Specifying the pin number and flags, as defined in - include/dt-bindings/gpio/gpio.h - const: 2 - - gpio-ranges: - maxItems: 1 - patternProperties: "-state$": oneOf: @@ -57,7 +47,8 @@ $defs: description: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. - $ref: /schemas/pinctrl/pincfg-node.yaml + $ref: qcom,lpass-lpi-common.yaml#/$defs/qcom-tlmm-state + unevaluatedProperties: false properties: pins: @@ -81,48 +72,16 @@ $defs: Specify the alternative function to be configured for the specified pins. - drive-strength: - enum: [2, 4, 6, 8, 10, 12, 14, 16] - default: 2 - description: - Selects the drive strength for the specified pins, in mA. - - slew-rate: - enum: [0, 1, 2, 3] - default: 0 - description: | - 0: No adjustments - 1: Higher Slew rate (faster edges) - 2: Lower Slew rate (slower edges) - 3: Reserved (No adjustments) - - bias-bus-hold: true - bias-pull-down: true - bias-pull-up: true - bias-disable: true - input-enable: true - output-high: true - output-low: true - - required: - - pins - - function - - additionalProperties: false - allOf: - - $ref: pinctrl.yaml# + - $ref: qcom,lpass-lpi-common.yaml# required: - compatible - reg - clocks - clock-names - - gpio-controller - - "#gpio-cells" - - gpio-ranges -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8550-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8550-lpass-lpi-pinctrl.yaml index ad5e32130fd7..bf4a72facae1 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8550-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8550-lpass-lpi-pinctrl.yaml @@ -37,16 +37,6 @@ properties: - const: core - const: audio - gpio-controller: true - - "#gpio-cells": - description: Specifying the pin number and flags, as defined in - include/dt-bindings/gpio/gpio.h - const: 2 - - gpio-ranges: - maxItems: 1 - patternProperties: "-state$": oneOf: @@ -62,7 +52,8 @@ $defs: description: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. - $ref: /schemas/pinctrl/pincfg-node.yaml + $ref: qcom,lpass-lpi-common.yaml#/$defs/qcom-tlmm-state + unevaluatedProperties: false properties: pins: @@ -85,48 +76,16 @@ $defs: Specify the alternative function to be configured for the specified pins. - drive-strength: - enum: [2, 4, 6, 8, 10, 12, 14, 16] - default: 2 - description: - Selects the drive strength for the specified pins, in mA. - - slew-rate: - enum: [0, 1, 2, 3] - default: 0 - description: | - 0: No adjustments - 1: Higher Slew rate (faster edges) - 2: Lower Slew rate (slower edges) - 3: Reserved (No adjustments) - - bias-bus-hold: true - bias-pull-down: true - bias-pull-up: true - bias-disable: true - input-enable: true - output-high: true - output-low: true - - required: - - pins - - function - - additionalProperties: false - allOf: - - $ref: pinctrl.yaml# + - $ref: qcom,lpass-lpi-common.yaml# required: - compatible - reg - clocks - clock-names - - gpio-controller - - "#gpio-cells" - - gpio-ranges -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8650-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8650-lpass-lpi-pinctrl.yaml index f5736ed140ee..db7214362301 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8650-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8650-lpass-lpi-pinctrl.yaml @@ -32,16 +32,6 @@ properties: - const: core - const: audio - gpio-controller: true - - "#gpio-cells": - description: Specifying the pin number and flags, as defined in - include/dt-bindings/gpio/gpio.h - const: 2 - - gpio-ranges: - maxItems: 1 - patternProperties: "-state$": oneOf: @@ -57,7 +47,8 @@ $defs: description: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. - $ref: /schemas/pinctrl/pincfg-node.yaml + $ref: qcom,lpass-lpi-common.yaml#/$defs/qcom-tlmm-state + unevaluatedProperties: false properties: pins: @@ -80,48 +71,16 @@ $defs: Specify the alternative function to be configured for the specified pins. - drive-strength: - enum: [2, 4, 6, 8, 10, 12, 14, 16] - default: 2 - description: - Selects the drive strength for the specified pins, in mA. - - slew-rate: - enum: [0, 1, 2, 3] - default: 0 - description: | - 0: No adjustments - 1: Higher Slew rate (faster edges) - 2: Lower Slew rate (slower edges) - 3: Reserved (No adjustments) - - bias-bus-hold: true - bias-pull-down: true - bias-pull-up: true - bias-disable: true - input-enable: true - output-high: true - output-low: true - - required: - - pins - - function - - additionalProperties: false - allOf: - - $ref: pinctrl.yaml# + - $ref: qcom,lpass-lpi-common.yaml# required: - compatible - reg - clocks - clock-names - - gpio-controller - - "#gpio-cells" - - gpio-ranges -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Dec 8 21:55: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: 176053 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5740711vqy; Fri, 8 Dec 2023 13:56:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGEfF5fANYv5TRx4oIlKayr5zECkY3Clyb3fPr5ZegbD21WNTaaOdcI95p9MChqi+3RL/zF X-Received: by 2002:a05:6a20:4407:b0:18f:c4e2:4f4f with SMTP id ce7-20020a056a20440700b0018fc4e24f4fmr898326pzb.40.1702072559932; Fri, 08 Dec 2023 13:55:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702072559; cv=none; d=google.com; s=arc-20160816; b=mhC1i4MZ+BGjqA6bn2/j8mTyODRV2h8azIhoRvTqrRqNLxq97HReRkGb5qC3+sQWF8 jSnhXMGAGnq8rjBB+lwTA2d1EyAm/8M1G//FNDMNcps/TmoET1AzNbylQmGtgXZ52L2o F1a6WF9X8FiN+G/nX/nDhFGKpTMnOX2Yl8CVLLqMvOaHSsXIIitkbNDucwuD/3+Xcs2+ mLX+cRTFpom2bxkKCHXu6SImTYdzhU0WYFdqLfbaN5t5ApCYAnQUWiPLsmXpxk+dwUCx cJ4eVl+mlfmjcBD/KroPCdpm1IBilh0SnW25H+Kh2FIYCXuGGdrLogvZuRDf/8pnajT3 T57w== 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 :dkim-signature; bh=tf5qCRqNW7wSqrSaZ/MpVTnmBC6rjggpOIt26/5/rF4=; fh=osUoKzrAgwDelRlndJEL5+nc7h7NF7pqP+0Zgt4syd4=; b=I/aH0r8Nc24TOnPjzLbTrqqWCnVp5Ci9LQ5yQ0sILNHyM9YU5bImfQ6Hu9sSucp4ZC RXLYX865azUEki6ewai0+bNF7ssCfYL7WaFxx6O1vw0EDZLvnpA72a/CSZZ+pqhjbGoc rU9zU2iGZ76lziIWjVVJgENaJ0YtjA9yXQwlJqnNkL+uEBrXnjIaH60YbKMgA8o6i6Oa nd+W/SONWmBk8f/9nU66dhayAZP+spfab2Jif+fb03hLXLlltfA2B5owxMSHe3ktFCCc 6704xQKcQmT+ITuZ6Fc8/Pr7iZ8Y62ASZy4W6ecXJJeaYg1nkJSWx/1ODp9hAfzgXQn3 8Amg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s6AH6aeH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id o1-20020a634101000000b005c5e2118e11si2007605pga.70.2023.12.08.13.55.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:55:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s6AH6aeH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D670581068C7; Fri, 8 Dec 2023 13:55:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234292AbjLHVzr (ORCPT + 99 others); Fri, 8 Dec 2023 16:55:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1574800AbjLHVzi (ORCPT ); Fri, 8 Dec 2023 16:55:38 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EFBD1985 for ; Fri, 8 Dec 2023 13:55:44 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40c29f7b068so23132535e9.0 for ; Fri, 08 Dec 2023 13:55:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702072542; x=1702677342; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tf5qCRqNW7wSqrSaZ/MpVTnmBC6rjggpOIt26/5/rF4=; b=s6AH6aeHfAx5R2zteupW/ZMaTjJ4/vA7uuIVFDcTrVR6dMMgdX8fKQHXlTYKkp72Ef TYGyJzgnMIx1oG137MSVrRhrR50iXJ2j1+WUVGfpMP+d2os2SIQ3gOMP+SuBg1GZ3Io+ EEfFIFO0477ruX+60jeBNnGQD7WU7Fk4iR0eWKaKA6t9HhaUYx0QgKq6ag2dCdePHpg9 /i1mWsbiNHOljUWBl+QTJ9eaKeJS9BauQWsMVZMKStMurrqLNZ/eQeA/sVco8TZDAOi7 exp4aMIeBLi5BXUNuSqFL2jBMW9IqCjx2o7QJQTqX908QgYcJmRoXx36UHpvKs98ee7q oxFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702072542; x=1702677342; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tf5qCRqNW7wSqrSaZ/MpVTnmBC6rjggpOIt26/5/rF4=; b=oAhHqbjTFb5Ail+5nGujVtkr2PGjLXDyYupbumYuT7GtKe6Vqqr0d9GC555h9eR66y i6c0bXsXu1p/nTjMIYx0/5mUBqheczZD5LRIXw2dKuSW1buyCcpmrbxn+fU/0Yd3Gdtt k7iOrPzDyxcZstJDxvI8xX41RTBP3Z2a7iBLv36qaqR1Az9g777WEVfcq7t9W2xZE/JB mMt5afWciI9hWhB/7PZ9emCZejSLmJgPmlnqr7YcwNYOhDJuVA9eCDBm3mrg3ybK4/PU hJllHCX+L7/3iBsu7bAt/66URgWvlvIGgVIDFJecU544qIeRnxl3bmXkR10BDIED6PFs /WMw== X-Gm-Message-State: AOJu0YzWCJPe8Dji3mH94QfyyMumlCiQaV18QnnmoRGaENajwzOPq/+i yfR2tFlgvV6hYyyJr1jL1Vi7Fg== X-Received: by 2002:a05:600c:8a4:b0:40b:5e59:b7d3 with SMTP id l36-20020a05600c08a400b0040b5e59b7d3mr309002wmp.176.1702072542434; Fri, 08 Dec 2023 13:55:42 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id r20-20020a05600c459400b0040b349c91acsm6321789wmo.16.2023.12.08.13.55.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:55:42 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Andy Gross , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , Stephan Gerhold , Shawn Guo , Melody Olvera , Bartosz Golaszewski , Richard Acayan , Vinod Koul , krishna Lanka , Rohit Agarwal , Iskren Chernev , Martin Botka , Danila Tikhonov , Abel Vesa , Rajendra Nayak , 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/10] dt-bindings: pinctrl: qcom,qdu1000-tlmm: restrict number of interrupts Date: Fri, 8 Dec 2023 22:55:26 +0100 Message-Id: <20231208215534.195854-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> References: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 08 Dec 2023 13:55:58 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784752436569351757 X-GMAIL-MSGID: 1784752436569351757 QDU1000 TLMM pin controller comes with only one interrupt, so narrow the number of interrupts previously defined in common TLMM bindings. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/pinctrl/qcom,qdu1000-tlmm.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,qdu1000-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,qdu1000-tlmm.yaml index 237cac4f6ce1..47363c23f4ea 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,qdu1000-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,qdu1000-tlmm.yaml @@ -23,7 +23,9 @@ properties: reg: maxItems: 1 - interrupts: true + interrupts: + maxItems: 1 + interrupt-controller: true "#interrupt-cells": true gpio-controller: true From patchwork Fri Dec 8 21:55: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: 176054 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5740735vqy; Fri, 8 Dec 2023 13:56:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4GESvIWAo/xVQ4MSNXlYUxEoRTCkpoA+1dsuqZloyEHEBTUIG8bhA9dwbveBd7HkIweU4 X-Received: by 2002:a05:6a20:914f:b0:190:37a0:f343 with SMTP id x15-20020a056a20914f00b0019037a0f343mr1091304pzc.34.1702072563569; Fri, 08 Dec 2023 13:56:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702072563; cv=none; d=google.com; s=arc-20160816; b=duyYiqHouwYnk0JT9ezTaDcgCqLXQ5bicLkR1Mpvlt9l/9/kMdyTy0ru9MWULuIFcN 8+pOmxfyjmDEf+bTd3JES/rcQJrjcuu5rZTcgwlj4kklOgyEyZcGTmbg1kU3LdnAeJjG tC2Ke6AEEM4B+e1+nB08pc/exKw/CsWUG4I2zWZv14h5Y1xSSH3nu9WcC761GOcklilZ qcpsUKVL1Vh0Qpbli8kOJPYwAKAWFJlGCGZYoOJktP8Xrw00vaAnyjHaIdJFYsRAyVzr Vhjxx3Y953xBLLziVLe0nhdjUTJI9ku5YCJVKxyVhrhqXDtHKRNFuPTFxOXPwIbKe+Sw Rv2A== 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 :dkim-signature; bh=Y/60s+ovFXyEA70cJ6XBt4WPswR1xbbylguX4jwENxM=; fh=osUoKzrAgwDelRlndJEL5+nc7h7NF7pqP+0Zgt4syd4=; b=B2aIoyoC3ti2L7mTgmGfNZoP0Iozbg5d60/CRxl2snXfU8Z8E8tjzuKPQIpQuuxDBJ dEN6T3X04gjr4nwcqh1UY+KdvIdcLpxf/tnms15I1MnjXUX351FcvcIUgxuC7z3u1JmA CxsgJgRZz/AvD5X0IP7WIE5R8J1qoWjwsgfiJ4d6627rD9JtkkD5+b+HuM+bplHaUya2 ingnTTwMgpMi8Gn9pEd/z77ms7csUdfJuabfeF99RcqsGxC/qq7pNedG7yE1A2SWNFds nFVcVxH6O2B+i/sHUa4ppV9nX9URdDiSQK7SCvLlmiPbAR+tF9kHq0sk6BmAJTydnDmL PUYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W08R5cqH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id q12-20020a056a00088c00b006cddc343ceesi2137120pfj.181.2023.12.08.13.56.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:56:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W08R5cqH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7756C810687F; Fri, 8 Dec 2023 13:56:02 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574810AbjLHVzt (ORCPT + 99 others); Fri, 8 Dec 2023 16:55:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1574814AbjLHVzl (ORCPT ); Fri, 8 Dec 2023 16:55:41 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 026B1198D for ; Fri, 8 Dec 2023 13:55:46 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-40c39e936b4so2541125e9.1 for ; Fri, 08 Dec 2023 13:55:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702072545; x=1702677345; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Y/60s+ovFXyEA70cJ6XBt4WPswR1xbbylguX4jwENxM=; b=W08R5cqHG0N0Oti1OxhAQvHDHr0dyy9FxmZrXL0EJd5CQaYwZYX1j8cW3/sAtugK88 bjNAGAKxtmpCCSfdvGBrVYLnsOvoEHn3aLtBZlgCwUzsFdf6h4Ob2VBZqQurTAnCmQXr 1GuHe4ftIPhWJ+zl98xWBEjk6lcoAqoaUATZM0FvbkgBkkGWOOEZ/1ClR/mrw/RF9zIh sapwK8GL11EliaKqim0rMxW9rr6fLwi7uzJqeQPY5X4jit3BH66ZPUkwiAhkJkSwnrkn h4yae7mMHDkT9cA+MtsY9QceDYAGfy1A7zkNICOofZzqwfzp7+bObTutBoM11xvB2Kvl 3NYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702072545; x=1702677345; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Y/60s+ovFXyEA70cJ6XBt4WPswR1xbbylguX4jwENxM=; b=m6mruHAoGWSWWj3OrQGHzrGH01TPDktrmDlyA+MKF0w59+mPtO760x1RwR3di0hFw3 aQL8FqJ0a3FWG9BAkI7XBBYoYLe+IDJZ7l9QVjQl2IUvUhjUIhOhk8PVVR11lP2YnHEL oNYoxAYE9Q8dyVQZxUlvCRq3DMoKxEg9ugJn7zw/kfzCkHAtHEvx1EmZdACybyKNHm1x BwDptJNFLFFU34YfUTNSv3HP9R3BOUa2z6eaQvZqFdIkid/268HGkXB2pmvcelLZc3Qc cuI6I5szbLTmuJcv1tlwziCsQtqDeG6NWMZZdBfDAKd2MeiKXB047ijjezD/9YNtIY+C vOOg== X-Gm-Message-State: AOJu0YwW7rE/4dmnmnaD5jdiZF0YvTv+cpH6KpjGOguOmI6vKy9Esj9O w8FTNOampGR+raWFvJvqFb4eKw== X-Received: by 2002:a05:600c:231a:b0:40c:25ab:d6fc with SMTP id 26-20020a05600c231a00b0040c25abd6fcmr131489wmo.216.1702072545052; Fri, 08 Dec 2023 13:55:45 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id r20-20020a05600c459400b0040b349c91acsm6321789wmo.16.2023.12.08.13.55.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:55:44 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Andy Gross , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , Stephan Gerhold , Shawn Guo , Melody Olvera , Bartosz Golaszewski , Richard Acayan , Vinod Koul , krishna Lanka , Rohit Agarwal , Iskren Chernev , Martin Botka , Danila Tikhonov , Abel Vesa , Rajendra Nayak , 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/10] dt-bindings: pinctrl: qcom,sa8775p-tlmm: restrict number of interrupts Date: Fri, 8 Dec 2023 22:55:27 +0100 Message-Id: <20231208215534.195854-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> References: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 08 Dec 2023 13:56:02 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784752440259529458 X-GMAIL-MSGID: 1784752440259529458 SA8775p TLMM pin controller comes with only one interrupt, so narrow the number of interrupts previously defined in common TLMM bindings. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/pinctrl/qcom,sa8775p-tlmm.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sa8775p-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sa8775p-tlmm.yaml index 2173c5255638..d27933258db7 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sa8775p-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sa8775p-tlmm.yaml @@ -22,7 +22,9 @@ properties: reg: maxItems: 1 - interrupts: true + interrupts: + maxItems: 1 + interrupt-controller: true "#interrupt-cells": true gpio-controller: true From patchwork Fri Dec 8 21:55: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: 176058 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5741234vqy; Fri, 8 Dec 2023 13:57:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IE7lGgJsMbkzP/GrChjnhAaYsltX+36T5h7ZjlJAL29G5b1iyVvgqn6YZmD7SEuY/qQwa/m X-Received: by 2002:a05:6a00:198b:b0:6cb:cc67:90c2 with SMTP id d11-20020a056a00198b00b006cbcc6790c2mr639933pfl.17.1702072650006; Fri, 08 Dec 2023 13:57:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702072649; cv=none; d=google.com; s=arc-20160816; b=zqkSXvaoYEOWKBLI7pfI1HpbzvsONNTtM5yE0cNyBFP4ydGgYInqpBBpfK+4omPAoF fihEB3zaxRiWNCBsugPPX8dxp+UzG+UGGsW5hG6aCz2Mvg0CFFw07wRcRKOuCh4CEeQV VaNNtE1hPTP/Fn5z7ocOAC74LT0gMt81I5PpFWWZ7o0PIRnndKWa7UnXEmjaeOfmNKbW bwxNsCUQgU0adcbNI6mTAiWACaMxeGj8u925pHdtcfYLVfKTxMSGyE2tMJyhPIpSdsRV pUdtiTODzzX3lXlA5QDK7xEz7HQrhs2NDSQ6o1jzIooGC9vq65xB3jRpLeRl6CtFZ86b ppUw== 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 :dkim-signature; bh=V5eKd5hS9FWHlfnHZ7EWtGAMfO5+yUDXaRFWFo6RgIc=; fh=osUoKzrAgwDelRlndJEL5+nc7h7NF7pqP+0Zgt4syd4=; b=vO64M6aGYTRUkXndcPo1DJALJF1BHV4ycDTBRCpcDiGFiZqhtSVewhIWH1ZL72VKNs 3LYfLzDNnPvE2jyRwdBvBt4JOOBDxtnDJOZZZBHepoELUDDTEp8b+GQXV8zW+O97fbGw 0goe+YQhcz+bEfbAogpEELA6SrnaAEzJcE1q67PVyj1Bmv8TpAYU5f0Y4FEUU8dqH4pm PZ4hO4s3Itea2gRn7YK41aTCav9X5NCm5CVfLH1+Ldcn/zJZCotRE4MWmxfZsyy4pMvb jZ+NkcPjdH7c6OTotXFSaYGyrcy+G3pqhXIaAbdmUfnJqHfHnrO+SO0CekOS62jVBTDu HT5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hnGM312C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id s16-20020a056a00195000b006ce96e33eb8si2119544pfk.112.2023.12.08.13.57.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:57:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hnGM312C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id CE7F78076E47; Fri, 8 Dec 2023 13:56:37 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234176AbjLHVz6 (ORCPT + 99 others); Fri, 8 Dec 2023 16:55:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1574826AbjLHVzo (ORCPT ); Fri, 8 Dec 2023 16:55:44 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75A1E173B for ; Fri, 8 Dec 2023 13:55:49 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40c09d62b70so29281545e9.1 for ; Fri, 08 Dec 2023 13:55:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702072548; x=1702677348; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=V5eKd5hS9FWHlfnHZ7EWtGAMfO5+yUDXaRFWFo6RgIc=; b=hnGM312Cybf5UTFKCIJN+WEgbiqasvnJ6WrDHM0j/aOgC7Rxm3WO0HIT/7nI2FWCdF oWgd6SR/6WahIW+u71N78J7/aCo30qeXyFS172bygvk8dDHRwPUUyZuzgp1UNd5bYjqn eq/e2RqUVnMaff781c0goJd4/Q1J35gVkum24bT/OG9GzVniZQ+psxJU8TNYHVzeExz3 fjh6FEVlPDCSm5KvdYLvShQe6g1Uq1LKMDmCWNingOHfBL/9rufPfNpF+EL7+Kj7EVBA kG3j11SHwdBnlnueEELcEpX8BtkEC1heEJqsTLa3BM8b+plozCjJ9zR6k+0bKhiqlY05 5hIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702072548; x=1702677348; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=V5eKd5hS9FWHlfnHZ7EWtGAMfO5+yUDXaRFWFo6RgIc=; b=BYa7Fam7vlrX8JZpwMwO5KogP4KpHikSA7P1Q/lFPL7l4eS8xun4gESOl/p7zgpfh8 DbBvCcMsVTLzPZ/eRt53CwcGvOn8NY+CGxLrq+RdHlwgUB0HAZenDX2W6gxcxGzOVeqK U1gMDG80pK7msI0KS6Oky/bQGgTS1a9PEMHsxeUbVeFpn/it5U3sn2Q1R6Xi9zWEPut1 0YnyeAO7VxKgWjMQbRidsorE9KiQ9zdAp5dU6Ap27thgLkpALP6uBlI0uPRR7f10FisV 3UIc8TQWvXw2LAQE+iEEsuNbFKBogCOceWtC688GsgYUvDH49PhwPrWihKuyOw6e+gpc 2HWQ== X-Gm-Message-State: AOJu0YzUC99jFPlACH6LT/E+sSbWAgXsCj6w02Nj7XqPMxem2E7pO90t KQWwog4C5OLOSGc1SClgm8sImg== X-Received: by 2002:a05:600c:35d2:b0:40c:83f:b6ce with SMTP id r18-20020a05600c35d200b0040c083fb6cemr237619wmq.56.1702072547923; Fri, 08 Dec 2023 13:55:47 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id r20-20020a05600c459400b0040b349c91acsm6321789wmo.16.2023.12.08.13.55.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:55:47 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Andy Gross , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , Stephan Gerhold , Shawn Guo , Melody Olvera , Bartosz Golaszewski , Richard Acayan , Vinod Koul , krishna Lanka , Rohit Agarwal , Iskren Chernev , Martin Botka , Danila Tikhonov , Abel Vesa , Rajendra Nayak , 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/10] dt-bindings: pinctrl: qcom,sdx75-tlmm: restrict number of interrupts Date: Fri, 8 Dec 2023 22:55:28 +0100 Message-Id: <20231208215534.195854-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> References: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 08 Dec 2023 13:56:38 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784752530968415358 X-GMAIL-MSGID: 1784752530968415358 SDX75 TLMM pin controller comes with only one interrupt, so narrow the number of interrupts previously defined in common TLMM bindings. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/pinctrl/qcom,sdx75-tlmm.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx75-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx75-tlmm.yaml index 7cb96aa75b08..62cd8f84af9c 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx75-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx75-tlmm.yaml @@ -22,7 +22,9 @@ properties: reg: maxItems: 1 - interrupts: true + interrupts: + maxItems: 1 + interrupt-controller: true "#interrupt-cells": true gpio-controller: true From patchwork Fri Dec 8 21:55: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: 176055 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5740813vqy; Fri, 8 Dec 2023 13:56:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+DB+9A++uGPDUyXGBB4TuUL00SNhLBqTmV4sXuMxpLakuDYLyeERxOGtoD1bnA/YaYyw1 X-Received: by 2002:a17:90b:3ec8:b0:288:9282:7c1a with SMTP id rm8-20020a17090b3ec800b0028892827c1amr705988pjb.55.1702072575197; Fri, 08 Dec 2023 13:56:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702072575; cv=none; d=google.com; s=arc-20160816; b=tmp90kXRdq6pWvoh56b6mbh8302GddjDbF9prf97Wrj2ewjsP7eMeeL1hYICE+wbaz D5ilIn2rd6qNRNxG9wKPtEzu3bY25XctP3h2ZimG5ogKVaOl0ZLfJEqYPxFfCcyK7mbi d4wLZ4Y+EbmUpAeOVy3CUoR5oH9UP7c6W623xj50umWqEZYxTDXqq95bnwchTcgj/0YE VZVsAGoRAFvafOGL/ECne9G/7QjB7smAImt8yU4m+5CDz9WqFkAw/ky8/TtmLDsvoack TAcRurR2aqTouq8OdqItDqOQ3Z1M6vYpvQsSBfRZ+3E4vJUQ2Eb7o86jfEBqBMWlHDXh aSAg== 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 :dkim-signature; bh=BFdnrYwlBQ1rl9Jn+SrBUNOM0RDnJGbTZYEdwjlsUa0=; fh=osUoKzrAgwDelRlndJEL5+nc7h7NF7pqP+0Zgt4syd4=; b=SxQ176DA6f3nQAr5yZhCwuRTshqfq2m3QxH0qLOT0PPPIDS6xFY02t2n/LISQgRrx1 wrvgpoRrEFzEDZ4jULgaAAs30O6iU4QjKlKrDkl6z2LeLl6OXCjRxB6Z9JWCJaS+NC6k 7v73IzRVHe+HOD0ir/Inzrp199iAQnJjLSyQQ/9REllGUCYDBz+g20dqFDk0fSF4SjBF AR8qZY1Nno1C6DEthuUlTMYZ4uivDPHDJkkAy5HYUJJwYRImQzN47So8NpB6WhO+3rPf JYB8WXIqK+98z31VXCp8orS7mU0vv+7OcdNyhK1efAFA639uPHk2WaUAPCHOXGOvxbni KUsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AUkmJp3Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id nn16-20020a17090b38d000b00286bba72e5fsi3600635pjb.16.2023.12.08.13.56.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:56:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AUkmJp3Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 3258C81068C1; Fri, 8 Dec 2023 13:56:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574853AbjLHV4C (ORCPT + 99 others); Fri, 8 Dec 2023 16:56:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235948AbjLHVzq (ORCPT ); Fri, 8 Dec 2023 16:55:46 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36B951710 for ; Fri, 8 Dec 2023 13:55:52 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-40c26a45b2dso14531245e9.1 for ; Fri, 08 Dec 2023 13:55:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702072550; x=1702677350; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BFdnrYwlBQ1rl9Jn+SrBUNOM0RDnJGbTZYEdwjlsUa0=; b=AUkmJp3Q7QFlgvGqnUuOOPd0cbpXznjFpVyo9hLdtqJWokt7fbhAJMs+jZhyO3tkQC 01el1V2b9VI650kxyx8s6AEtmFo0gRvZNlj+ntMPxPJUJKLAyVd6Yqjtf3m1mYp5hkV9 cFc18RNFQOwNAUPwGZuxSDhX/GXbhYiXg+aLdFwq9n3+AfpReV3WUf9OekJ3maBEVfBv mlMPsZGeycINiY+yFHyVGNYhLF9OFP5LGjpicDMwg7RQcg1kpjKYtPrLZnygoguVM2/R 59BLKm4HRNxx1kcalixvj0KRX9N/PEuk/bYYswyqtJ83MUOsdvdNvIn0I8VSZQ2DXbAO /EWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702072550; x=1702677350; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BFdnrYwlBQ1rl9Jn+SrBUNOM0RDnJGbTZYEdwjlsUa0=; b=oG5JEwU+9ebzueTQBAxTGB8xJejYTkQlYrBQ9iEt14IQoatAMpsgNU7Y88KHQcSfQA MSWvu0la4CHC7zC3ovyDPqvp4Nqj6Bt/6a/sYZaqva8jCPeNHPE2xivNTYOkfxEW2Mjv U04pdy/8FE/uVCMx86rfRHpOJGxUJ6d7413GhW7fBBXqHqvW2IIb7MtJzxUZy2/ciWzN dwRgitF88A6rTn5VoG5ZLCvtGXg1VyYveMC7LYo0Rfs+IQvsFAYkQUFALIg5WVYt5ltB 8T8qhJ82cuO8bfpfDbLQuigjJbLIc4V8iF/ZZAFxodIrSy14z10Yx9ofEjb6Z6FebUmM llsw== X-Gm-Message-State: AOJu0Yz03ij8CtpNn7HedqInX5FCC1oc/epjIkdVVNAAm6qHTBHSnjZ7 94d4kCb0IrI1GMgTt6z9OZHUUA== X-Received: by 2002:a05:600c:d4:b0:40c:2c36:29ee with SMTP id u20-20020a05600c00d400b0040c2c3629eemr374181wmm.82.1702072550789; Fri, 08 Dec 2023 13:55:50 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id r20-20020a05600c459400b0040b349c91acsm6321789wmo.16.2023.12.08.13.55.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:55:50 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Andy Gross , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , Stephan Gerhold , Shawn Guo , Melody Olvera , Bartosz Golaszewski , Richard Acayan , Vinod Koul , krishna Lanka , Rohit Agarwal , Iskren Chernev , Martin Botka , Danila Tikhonov , Abel Vesa , Rajendra Nayak , 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/10] dt-bindings: pinctrl: qcom,sm8550-tlmm: restrict number of interrupts Date: Fri, 8 Dec 2023 22:55:29 +0100 Message-Id: <20231208215534.195854-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> References: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 08 Dec 2023 13:56:14 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784752452874025710 X-GMAIL-MSGID: 1784752452874025710 SM8550 TLMM pin controller comes with only one interrupt, so narrow the number of interrupts previously defined in common TLMM bindings. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/pinctrl/qcom,sm8550-tlmm.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8550-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8550-tlmm.yaml index f789c7753a92..567e44875c29 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8550-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8550-tlmm.yaml @@ -22,7 +22,9 @@ properties: reg: maxItems: 1 - interrupts: true + interrupts: + maxItems: 1 + interrupt-controller: true "#interrupt-cells": true gpio-controller: true From patchwork Fri Dec 8 21:55: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: 176056 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5740837vqy; Fri, 8 Dec 2023 13:56:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGcmcqapTU4/+Xs23j5hZ5mpctPSzbY5n/sBCIQwNM5I0x2xsP3toXfGTZk6ir2n1c/+odd X-Received: by 2002:a05:6a20:158b:b0:187:9f15:bfc7 with SMTP id h11-20020a056a20158b00b001879f15bfc7mr823290pzj.27.1702072580771; Fri, 08 Dec 2023 13:56:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702072580; cv=none; d=google.com; s=arc-20160816; b=IHeqZlzveH6uk4kb0C8vF7h6355CnAPJ44C6JNnz/DS3mTnJieLzFgjyswpADifwa4 rjgIZUr0tppIJ5dVWXCgJA3yqAl8vTLSR4xoFINsYSPgDWUycoq+qgnyLOuqLaUr7Aio NXEKLkCBTjMEJvEnZz+MWv7s5FgwKdykEPxxf1B0x0YrSF+7UffuRrNxezK5jrsA5sZx jj3YAcognyETJsJrSJsFE53JkajGru6p+9OZexZvwZuyqafsuRTla2HHWk+JswNiYSij CuTnhvHwXrC/2D+IcTqShGOeSAk25hryrWg5UNC2MMHKe55MBSJLVfSnyqNSTiicBkUZ y3SA== 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 :dkim-signature; bh=7SEeLdU51VRNsuOcRrVYSiWWzAmn1Zq+LC8LhMRr8pI=; fh=osUoKzrAgwDelRlndJEL5+nc7h7NF7pqP+0Zgt4syd4=; b=AqNpG8Mvl0awBrnKAQEH5jt7lHoaLWJ2uWcd3nWIEJvJadfThWhX8CJ+shiSMO6OJ8 4N0htbJd0ryqpqCSH3DAi53bYf/PYwDbYf70yn1spXELz6H9/2aIHO28DA42mtVJfEGq 9K9SGoiyShpPQQEZSx2GA1Pz3K+84YW/st/DCsbj1DWEllc2WCVf4R9C0akDT91+qOQ+ g+WazGvPfHthF34wqMKqBcSsw8swHmc/u5a6eIQNqQjoP6t11/2JcDmvb+fb7Vo1g/sb XVqYNXAjpdQ4f3qVlvHYainLIojCLhia6Ifzu42+/GWaTIu9dghAQxufyld6sUOsSoMH Aagg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W96UevFX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id g21-20020aa78195000000b006ce7f143603si2058391pfi.184.2023.12.08.13.56.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:56:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W96UevFX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 6621881068D1; Fri, 8 Dec 2023 13:56:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574864AbjLHV4F (ORCPT + 99 others); Fri, 8 Dec 2023 16:56:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1574819AbjLHVzw (ORCPT ); Fri, 8 Dec 2023 16:55:52 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC7B1171C for ; Fri, 8 Dec 2023 13:55:54 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-40c19f5f822so14509735e9.1 for ; Fri, 08 Dec 2023 13:55:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702072553; x=1702677353; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7SEeLdU51VRNsuOcRrVYSiWWzAmn1Zq+LC8LhMRr8pI=; b=W96UevFXHl/EVdt6Bhj2JzTDPGHKF6qokrUFOQmtJIbu89BRrlTEN/erVkUVOBVjVW zuLEQDZHTyXqwpvMMoaDk6Bq7KkPiJXbP+JGUuTCOZNE/u2cfqdvAxArlKm4mjUhTQQ6 vr0v8PqMl98MgqVmmrOV4ol+P41mxCyC2+ndBEnieC/DLoc1DuQkrjxKOgnuRB5hzVB+ jKHgPISr/Jlq2xmTbc4cM7BtHtRPNwfmXm0/DXjCI4vz7r3GQ8O/hhgYRFOGQf0xM7Mm N7AR2PqUT6jDzhcfBuMVVGcZ18GCsTyySEkKVw+8byJIQT0lmkUXugmRMH7QBkt7+JFE YVIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702072553; x=1702677353; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7SEeLdU51VRNsuOcRrVYSiWWzAmn1Zq+LC8LhMRr8pI=; b=F99s/+oQvZxW2jA/CMOZNuSwORHt+TlaxHRZB/2aa5W/VlNFPzkR7tvgh/a7fo6HUs cfzOil+U9gutivPnKqrypWTExTsGRr/Q/9x5BsBzeGZb7STOheMPWiMJsxxge0a7FEab 0ofqjEA409fd1AJJCFNAdtPHib6e8KkXtS7v5CBrIeI0KKCfNtUXNU9nsxO80ow8NohX bZjvdEahBFeA/JY4h56bkxBpQy4h/m3G3b0wpylzXpoY8Xy9ywkhBQ1laEahyzlQdVAs hoauv+E7jYqlIY4pNIJnxOTiKhDdnGrNAZm7VfjRrMQnvs1Q6M3ZwUdTn/w9fqOEjbvP LHhw== X-Gm-Message-State: AOJu0YwNkqM/NnLMrmy5v9xic5Mn/AgJ3aRQkP/FqO9pAWmSEFIXpUix gCtAoPC/hVF3zfHXfr0H5feidA== X-Received: by 2002:a05:600c:54c4:b0:40c:3984:4985 with SMTP id iw4-20020a05600c54c400b0040c39844985mr215151wmb.79.1702072553351; Fri, 08 Dec 2023 13:55:53 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id r20-20020a05600c459400b0040b349c91acsm6321789wmo.16.2023.12.08.13.55.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:55:53 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Andy Gross , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , Stephan Gerhold , Shawn Guo , Melody Olvera , Bartosz Golaszewski , Richard Acayan , Vinod Koul , krishna Lanka , Rohit Agarwal , Iskren Chernev , Martin Botka , Danila Tikhonov , Abel Vesa , Rajendra Nayak , 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/10] dt-bindings: pinctrl: qcom,sm8650-tlmm: restrict number of interrupts Date: Fri, 8 Dec 2023 22:55:30 +0100 Message-Id: <20231208215534.195854-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> References: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 08 Dec 2023 13:56:19 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784752458783509923 X-GMAIL-MSGID: 1784752458783509923 SM8650 TLMM pin controller comes with only one interrupt, so narrow the number of interrupts previously defined in common TLMM bindings. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/pinctrl/qcom,sm8650-tlmm.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8650-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8650-tlmm.yaml index 30432be8fb07..370789ce934b 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8650-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8650-tlmm.yaml @@ -22,7 +22,9 @@ properties: reg: maxItems: 1 - interrupts: true + interrupts: + maxItems: 1 + interrupt-controller: true "#interrupt-cells": true gpio-controller: true From patchwork Fri Dec 8 21:55: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: 176060 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5741329vqy; Fri, 8 Dec 2023 13:57:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IEiJ8/DUSipr8AQdib5f7b03xgS0jBercLBcBUTgr9d+XhujKPXupY/aCChR8heh6nRCITc X-Received: by 2002:a05:6358:33a4:b0:170:7df5:a874 with SMTP id i36-20020a05635833a400b001707df5a874mr749534rwd.31.1702072667439; Fri, 08 Dec 2023 13:57:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702072667; cv=none; d=google.com; s=arc-20160816; b=AWjmHLn5FtRYXhq3EIjB7D7ah3yD6WCo73lShfFYN6WyG2jPxAHL+bs/z+2VYBqlUT dHF9xiUzXisEj2K6xViZVfgmgIlBG3KEGuMaSoPECXHYwk3HkKPkEI0WtFp/xF5Ea7Cm lKu+5m1b19Zsg+ts5DUkSbUYxwZy9zA3FVS3dOSsTQC9g7ppi+Zm3kNgbAGgENmwkHtD wwORQoFpYaT3lU5BnpqCFj8wW9HQgA0I2WFGYJF48miKGU824tSi0zpIo9KKEU2FyhGd Ox2N+qsk2/hfiFcUPf1qPoU7YLHWrkpL4nGvJwP+/8rqAWiQA46LKMq78avgTfE3xzTs /zlg== 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 :dkim-signature; bh=a6LTNwuggOVu+lap2ETuWiVhYhZt32Ct7VN+rbmpRFk=; fh=osUoKzrAgwDelRlndJEL5+nc7h7NF7pqP+0Zgt4syd4=; b=v9Dh54gA/3K+z5fbNc0LqxfHl0pIJhgjm78QaKvqpPsrG1p21sFInWWdcPYZBdu580 VIYTZIohWrRNRaNb0As8VRK6+qe8bn9yj3/URDi8rB9cx3sKqcgsYaDRR91HHCucQ1Jy Fbvv4C2WdxiDabYpZHdKuBePUDacG81FFxpBYZKu/rz/+PlrrH/uUVxTEqd6CLxRnK+u dlNHvSxhWOuUXl6M2AzRNyBjYDJTANAjCOjiUwgw5TJrKREP6juhye4fkuh6MxiYspwB 3ZPUfvx33urCdMUZ9pvEloRy41DQg3AE3mr4s8YMFLlPpPw0x089rsEVTwCg77VvXnpU Qtxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FYRj91d6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id e8-20020a056a001a8800b006c8d6276344si2143522pfv.339.2023.12.08.13.57.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:57:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FYRj91d6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 3544B807E79C; Fri, 8 Dec 2023 13:56:35 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574837AbjLHV4K (ORCPT + 99 others); Fri, 8 Dec 2023 16:56:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1574849AbjLHVz4 (ORCPT ); Fri, 8 Dec 2023 16:55:56 -0500 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FAE019A4 for ; Fri, 8 Dec 2023 13:55:57 -0800 (PST) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-40c39e936b4so2542275e9.1 for ; Fri, 08 Dec 2023 13:55:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702072556; x=1702677356; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=a6LTNwuggOVu+lap2ETuWiVhYhZt32Ct7VN+rbmpRFk=; b=FYRj91d6mKvLUMYcHr1YnMzQMfdLDexOC1gI2Eo+vCHmcUbfbMVhRWmPfRo5HbjlZd j6D4+axb8PaD4UOwPKO67N4xtP6X0KcNke3ih8+b3NJEPQ5XDR9t4CDngIh1S61O2Mfw F7+Kf73tNw9qZNSKX/IrUKJOD+Wwv/EXW6t5CjptraUd7lFBs5wpz3Do22u/JQVuLD/b VTcpX+wYc4Xr+JB7mOv5lGtBjoxC4DzK/TXITMYdgIyPfHT2K8+bipVyTrQNyI4pf30D i2yjtly0Z3qiOFVTUcCoNdfhyFMtFS1bTZp8uHrrF4T9gABh1dmE3GFS3bg82WbnglVT TSDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702072556; x=1702677356; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=a6LTNwuggOVu+lap2ETuWiVhYhZt32Ct7VN+rbmpRFk=; b=k23RCyqm8op5tAP3b8sSeVUsVnVVYMHfWwn74QdnnSV7ZN3ghzt5ytnAJaYnBt4Mgh hzzQmcnD6/q/VOzEyqCepsOxsIPxMBeuppI1upxOBX3dJiv2Rib8h0K7be52UkNUpo1r XHTsgUlbHpTtUWUeVzev07OdE+VJpJC/kbfzv7aIYjMcf+aY7TUDY5JfekmRZnNXkoKN mUgiIMGme7pl1Fe+T+ydyHwk/tSAtgjTxHYRC86XdBgP9uKmc08sTKPbNZD5ZUi108SZ YB5LrZteOFnXD5pNNtEVfVEAytP+pckSPa9DeTPIodcpvAX+LgrLZP72nzHsRxS2phsh cQyA== X-Gm-Message-State: AOJu0YwZGxowwkTiXy/a3xVHgZCsnkg6/OFKpv88712vLWw861NKWd+T dtB12T6lWLzbwfKo/Lv1eGOWUg== X-Received: by 2002:a05:600c:21c7:b0:40c:2878:7adb with SMTP id x7-20020a05600c21c700b0040c28787adbmr165191wmj.58.1702072555791; Fri, 08 Dec 2023 13:55:55 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id r20-20020a05600c459400b0040b349c91acsm6321789wmo.16.2023.12.08.13.55.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:55:55 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Andy Gross , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , Stephan Gerhold , Shawn Guo , Melody Olvera , Bartosz Golaszewski , Richard Acayan , Vinod Koul , krishna Lanka , Rohit Agarwal , Iskren Chernev , Martin Botka , Danila Tikhonov , Abel Vesa , Rajendra Nayak , 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/10] dt-bindings: pinctrl: qcom,x1e80100-tlmm: restrict number of interrupts Date: Fri, 8 Dec 2023 22:55:31 +0100 Message-Id: <20231208215534.195854-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> References: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 08 Dec 2023 13:56:35 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784752549502806379 X-GMAIL-MSGID: 1784752549502806379 X1E80100 TLMM pin controller comes with only one interrupt, so narrow the number of interrupts previously defined in common TLMM bindings. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/pinctrl/qcom,x1e80100-tlmm.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,x1e80100-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,x1e80100-tlmm.yaml index 2bde8845a31e..3249c63a29cf 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,x1e80100-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,x1e80100-tlmm.yaml @@ -22,7 +22,9 @@ properties: reg: maxItems: 1 - interrupts: true + interrupts: + maxItems: 1 + interrupt-controller: true "#interrupt-cells": true gpio-controller: true From patchwork Fri Dec 8 21:55: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: 176057 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5741224vqy; Fri, 8 Dec 2023 13:57:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IFG+t48pc8rwqtHiSURwQebTHLkh2R2CwcjlE3LiTfhgqnchkU/iIutsDqjBopD6aqrx3eG X-Received: by 2002:a17:90a:6b4f:b0:286:f040:3a0b with SMTP id x15-20020a17090a6b4f00b00286f0403a0bmr709854pjl.33.1702072648220; Fri, 08 Dec 2023 13:57:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702072648; cv=none; d=google.com; s=arc-20160816; b=u5cJimsC8VwHp3qLijmTclOi8Pl0mVHhguq7hXADO+qFO6TJLDLtgAdkUZ+KiCXkQI ZmpX08nD63gx0Z9lhYC8jZ1XYUL2xl4KUspfMBNCO8nKucXlE5UUqfptTESpOHjXJ/RT GBTYN1pKK9wtJAT2Qnm4MSHZfQhYJM+u/Dxc98whxNEtN6G6HXzA9lHozSeBOyN1ahli 3sFZYAXTbpyYdlTNaMXTxJdSsxCka6wyD0IojaULlie6NLf2pT/Gi/E1GrU+7SXOmFSK DSX/stNiWtyXGqALfBUEm1LwaJUEzWDu4ROpwmNEZjL5N81UxTYb4cib2DelXAI+rcbE P0hg== 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 :dkim-signature; bh=1FNNr06IKR2wHvvjMWyMyZa7PkCEwhAg0OAea5b5CEQ=; fh=osUoKzrAgwDelRlndJEL5+nc7h7NF7pqP+0Zgt4syd4=; b=yCG6dIFAsarVp8bYD/DYqCK6nOWNvqhEKuDFT9vbWsm74Me8IurItDBsQpuZOhENc+ ncWkO/aqUbzK7frolEb3Xrv3M+RxI8ZcQA1quwNI0QnFNteMYxEkxImhk0ppYNjcH7QK ajVOFqYKMexqfUIoIYuM5oq0+ZDwE10mhpbfvjNtZTSnvguGTBo/HRs1BTt/kbFSHxWn v2nEOLdSEj2efZWtHUJurEh07i8AyO+whHy0cB0E2NsvkxHfKqt8BRmoQXe7VFZjCTow qQOgcFpihI7+nV4innyGqyplmADLqsjDLApV407dIG9R39nB2PSUYq4Cuzhkg2CVbC++ nHsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="O/jVzTeo"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id oc17-20020a17090b1c1100b00286e9b1a767si2283495pjb.100.2023.12.08.13.57.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:57:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="O/jVzTeo"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 67C7281121D5; Fri, 8 Dec 2023 13:56:41 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574833AbjLHV4Y (ORCPT + 99 others); Fri, 8 Dec 2023 16:56:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1574827AbjLHV4D (ORCPT ); Fri, 8 Dec 2023 16:56:03 -0500 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2253D19B6 for ; Fri, 8 Dec 2023 13:56:00 -0800 (PST) Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-332c0c32d19so3013600f8f.3 for ; Fri, 08 Dec 2023 13:56:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702072558; x=1702677358; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1FNNr06IKR2wHvvjMWyMyZa7PkCEwhAg0OAea5b5CEQ=; b=O/jVzTeoRcIBQO2m4uErlRzKiWx/bIWtxdIHNXG3oE1PgQD4uTRiopC5M3VyxSvYKH sLiK4ZmJDmiFbFYygbrE09x69V6vA3RBeKXmnSNUhqGJVTnjx9QUJmiTiczlUYImsllX sQH7ypnOlvNUdUdHJiIfY1Odj6+rgV1i0IRqeORlQAVGez44ldW+eZKlsr8zt7/XUydg 13aQk7mDKQqseGNIGLFgf43BlRsbBrv4a7VusGnRpL9layJDbkqOmUrDc1zUx9R0kZd9 WaAWuPHJxnXrihX0ihQvdZirOQlFjkDozeL+ieXDrSQ2Fdoc1pilV7uHnmTKhp9u2wIU k0YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702072558; x=1702677358; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1FNNr06IKR2wHvvjMWyMyZa7PkCEwhAg0OAea5b5CEQ=; b=Hm66BpCRwpBIByDKajUYk+DrBCDJQf3Y2rkK8lIHBS0im9P74hbVPVscb34jvlQl9L v55vWXMSJb40gANS5BdU7jvetYQBDFYlwWA3kqsxlYhJoX94p5m3xnQoVGhupnF0VZnM N7V4EoPvpXAViulhnZWRIlbQVy+v7uwpse7XPySLJhFRiIotaMfw8rhaE53oln65CX4M JZa+B+STef3KdIMtXZi6JaV6jx/f4WH4EawCo/wIVEeZn3r8SNUHKW1bP2aIawyndvLv tx2H+cv0iTwgh83hj1PS+Q7zV37cKNaWD2aKbIwljIf1SSkYuG7eWPJrU9GOV3JauHV+ vXZQ== X-Gm-Message-State: AOJu0YzKJDiqaRCxa5R+BQEyHJ0CzPG5hJyW9LSVXBcU3YVBaovhbIsw Kb0xCrJh4hmLRIWTm2DsEoa+YA== X-Received: by 2002:a1c:4b10:0:b0:40c:2cab:3571 with SMTP id y16-20020a1c4b10000000b0040c2cab3571mr294915wma.180.1702072558287; Fri, 08 Dec 2023 13:55:58 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id r20-20020a05600c459400b0040b349c91acsm6321789wmo.16.2023.12.08.13.55.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:55:57 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Andy Gross , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , Stephan Gerhold , Shawn Guo , Melody Olvera , Bartosz Golaszewski , Richard Acayan , Vinod Koul , krishna Lanka , Rohit Agarwal , Iskren Chernev , Martin Botka , Danila Tikhonov , Abel Vesa , Rajendra Nayak , 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/10] dt-bindings: pinctrl: qcom,ipq5018-tlmm: use common TLMM bindings Date: Fri, 8 Dec 2023 22:55:32 +0100 Message-Id: <20231208215534.195854-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> References: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 08 Dec 2023 13:56:41 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784752529200630655 X-GMAIL-MSGID: 1784752529200630655 Reference common Qualcomm SoC TLMM bindings to drop commonly used properties and also bring other schemas for common definitions. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/pinctrl/qcom,ipq5018-tlmm.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq5018-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq5018-tlmm.yaml index fad0118fd521..23300606547c 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq5018-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq5018-tlmm.yaml @@ -23,13 +23,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - gpio-reserved-ranges: minItems: 1 maxItems: 24 @@ -95,7 +88,10 @@ required: - compatible - reg -additionalProperties: false +allOf: + - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# + +unevaluatedProperties: false examples: - | From patchwork Fri Dec 8 21:55: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: 176061 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5741333vqy; Fri, 8 Dec 2023 13:57:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IGlgVgeAMy607PGQYGQYDkt42p3ooyMyYGMsj+86zCHTL8MtA76Ei4OVyqYXqihSeva9DO4 X-Received: by 2002:a05:6e02:1a29:b0:35d:59a2:2d7 with SMTP id g9-20020a056e021a2900b0035d59a202d7mr892132ile.119.1702072668071; Fri, 08 Dec 2023 13:57:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702072668; cv=none; d=google.com; s=arc-20160816; b=o0YuqYIewZuT5ZrqntC65Kmp8m7u/aJoVNFj0S9yY5UYoBKS7AmPwqa1Caip1yUPrB UHt31YpqJkiBiluww0e9Pj8gURiDkYGKNTLn24y8JBA/PUw3Z5erKksdeBlomxEXd+yO /S0pzsOXQGR9jgGLWWhtWCI0qSlBpAqIErs2VLVk6ZPYVuTu4TRq2QmaxgLO5LsMS7s2 srCri1vfctRvsCQUEzWRPwGr81jfsx84kmBhmaqepZynBWKjtpWcyUDw8t4jOPqaMgVY q9528TZijJiey5JiyQOkQQ0pKz4M6jtaHR9+exyG5HPAoMOxZpx4qQgeRC50CutGUrwH 59gQ== 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 :dkim-signature; bh=7qR+pV7JAGo5Ax1INQLTH+1sOkvPdEG1gVNThtNoT7E=; fh=osUoKzrAgwDelRlndJEL5+nc7h7NF7pqP+0Zgt4syd4=; b=jX/pJoWdZfU4HvgJN7c/fQRJl8DjeeFZug646BRQZN3xXlQMuugIWTknGfoTTbrJhF aM/UCzcx7v9AwySK5lzE/roLPE1Ov/mFLUuNzSkLhfZHGQMZnQLL4k6HHow67FfTpdCt 4K9fsWjXLhnIK9l7a/cVMv14qdI5ys8yLQ6eSFqyrl4UDRdKdRF03fS1GQnobnsqwoBu QeCIseZ1SPflB8POqFOIzt8HbBELqtf7y62+BCxzrAmf1bRNjEgYeZJHyUmHKflGvBVi +ZSpw5LTd22LJ4l+f8GLJV0QL5CV6Pj+blWyoymto4ndE3ETrywy75Wqgp4gMYw+nwPk EgrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cINTrriT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id h13-20020a170902f7cd00b001d07d6916f4si2121705plw.592.2023.12.08.13.57.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:57:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cINTrriT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 11D0D807E83D; Fri, 8 Dec 2023 13:56:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236014AbjLHV4f (ORCPT + 99 others); Fri, 8 Dec 2023 16:56:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236003AbjLHV4T (ORCPT ); Fri, 8 Dec 2023 16:56:19 -0500 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D26D01BD2 for ; Fri, 8 Dec 2023 13:56:02 -0800 (PST) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-40c0a0d068bso25682845e9.3 for ; Fri, 08 Dec 2023 13:56:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702072561; x=1702677361; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7qR+pV7JAGo5Ax1INQLTH+1sOkvPdEG1gVNThtNoT7E=; b=cINTrriTe8/GnJ/pihyyUQYc68GVn7vx0iQ0S2TCE/dDcMICvpgkq+Z8fACD/CGoTr 0q55fiehfSL7J8nwlynYdBW7AbPzcjmSAd9vpRxJF0Zio+zVtJGcplUSWqtVbel+LdIn XPdMO7M3kbUt2DghBoxNdw6VOcbOfmkDqcm+E9lZKPqGpzk2HPDKbp9b71c49tlOTyvg ICa8Z1JvA/qCAe4L9T0ybVJkUWfkH2K0jvnisMF9VwZw9ejdqa4QjVi8xQqJmMA4sToF VUWM03P/7tLYTpFr8ghnKp+3oHpa3Kq2awcNKP/hKuVmDRYmqv2oac7BF6/LpdzkYNE2 C2HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702072561; x=1702677361; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7qR+pV7JAGo5Ax1INQLTH+1sOkvPdEG1gVNThtNoT7E=; b=iyPCSOxI+jO9LUeQmHyAmy2X9QYyCfRSgfi3tE5iVyk8URoJa1RG2FTedHgUtAM2+u pKOofj+6TESz/3AYC1mHlVMs0n+CJd/1UiXLa0edYM1oFIIP5AM6C4N6L6bKmeel7WGo eN361qoCLnQRgsWRrbVaCP2d7FvhzEjCMzPRf1zNwwibd2+UOYLazjufnL1FH600Bb5H YMkG8GPVIKUb7qY8uXjlTV/NV6sR6zglXovQaRp4Xj3NoxpL7Q95xMfREZq1UiaaVPyv px+LyuQUJrpyJehAlpZN3V8MZwXz4Zm8WgnKH0DNseLMEhTgDm9Jh/VedRqX4Wxyb2YW 3lZQ== X-Gm-Message-State: AOJu0YzGGYd3An+VU6XRS1o+jzIMO66kJJaBMUCcoRPVuFFR3kAahCsc 4Wp5zZTl9LmfRM8V7VsH1LudYA== X-Received: by 2002:a05:600c:1913:b0:40c:9d9:b87a with SMTP id j19-20020a05600c191300b0040c09d9b87amr326689wmq.93.1702072560988; Fri, 08 Dec 2023 13:56:00 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id r20-20020a05600c459400b0040b349c91acsm6321789wmo.16.2023.12.08.13.55.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:56:00 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Andy Gross , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , Stephan Gerhold , Shawn Guo , Melody Olvera , Bartosz Golaszewski , Richard Acayan , Vinod Koul , krishna Lanka , Rohit Agarwal , Iskren Chernev , Martin Botka , Danila Tikhonov , Abel Vesa , Rajendra Nayak , 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/10] dt-bindings: pinctrl: qcom: drop common properties Date: Fri, 8 Dec 2023 22:55:33 +0100 Message-Id: <20231208215534.195854-9-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> References: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 08 Dec 2023 13:56:51 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784752549646192809 X-GMAIL-MSGID: 1784752549646192809 Drop common properties already defined in referenced common Qualcomm SoC TLMM bindings and use "unevaluatedProperties: false". This makes the binding smaller and easier to review. In few places move the "required:" block to bottom, to match convention. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,ipq5332-tlmm.yaml | 9 +----- .../pinctrl/qcom,ipq8074-pinctrl.yaml | 9 +----- .../bindings/pinctrl/qcom,ipq9574-tlmm.yaml | 9 +----- .../bindings/pinctrl/qcom,mdm9607-tlmm.yaml | 18 ++++-------- .../pinctrl/qcom,msm8660-pinctrl.yaml | 9 +----- .../bindings/pinctrl/qcom,msm8909-tlmm.yaml | 18 ++++-------- .../pinctrl/qcom,msm8916-pinctrl.yaml | 9 +----- .../pinctrl/qcom,msm8960-pinctrl.yaml | 9 +----- .../pinctrl/qcom,msm8974-pinctrl.yaml | 9 +----- .../pinctrl/qcom,msm8976-pinctrl.yaml | 9 +----- .../pinctrl/qcom,msm8994-pinctrl.yaml | 9 +----- .../pinctrl/qcom,msm8996-pinctrl.yaml | 9 +----- .../pinctrl/qcom,msm8998-pinctrl.yaml | 9 +----- .../bindings/pinctrl/qcom,qcm2290-tlmm.yaml | 9 +----- .../bindings/pinctrl/qcom,qcs404-pinctrl.yaml | 9 +----- .../bindings/pinctrl/qcom,qdu1000-tlmm.yaml | 10 +------ .../bindings/pinctrl/qcom,sa8775p-tlmm.yaml | 19 ++++--------- .../bindings/pinctrl/qcom,sc7180-pinctrl.yaml | 9 +----- .../bindings/pinctrl/qcom,sc7280-pinctrl.yaml | 28 +------------------ .../bindings/pinctrl/qcom,sc8180x-tlmm.yaml | 20 +++++-------- .../bindings/pinctrl/qcom,sc8280xp-tlmm.yaml | 18 ++++-------- .../bindings/pinctrl/qcom,sdm630-pinctrl.yaml | 10 +------ .../bindings/pinctrl/qcom,sdm670-tlmm.yaml | 19 ++++--------- .../bindings/pinctrl/qcom,sdm845-pinctrl.yaml | 10 +------ .../bindings/pinctrl/qcom,sdx75-tlmm.yaml | 10 +------ .../bindings/pinctrl/qcom,sm6115-tlmm.yaml | 8 +----- .../bindings/pinctrl/qcom,sm6125-tlmm.yaml | 20 +++++-------- .../bindings/pinctrl/qcom,sm6350-tlmm.yaml | 20 ++++--------- .../bindings/pinctrl/qcom,sm6375-tlmm.yaml | 18 ++++-------- .../bindings/pinctrl/qcom,sm7150-tlmm.yaml | 9 +----- .../bindings/pinctrl/qcom,sm8150-pinctrl.yaml | 9 +----- .../bindings/pinctrl/qcom,sm8250-pinctrl.yaml | 9 +----- .../bindings/pinctrl/qcom,sm8350-tlmm.yaml | 20 ++++--------- .../bindings/pinctrl/qcom,sm8450-tlmm.yaml | 20 ++++--------- .../bindings/pinctrl/qcom,sm8550-tlmm.yaml | 10 +------ .../bindings/pinctrl/qcom,sm8650-tlmm.yaml | 10 +------ .../bindings/pinctrl/qcom,x1e80100-tlmm.yaml | 10 +------ 37 files changed, 94 insertions(+), 375 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq5332-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq5332-tlmm.yaml index 3d3086ae1ba6..e571cd64418f 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq5332-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq5332-tlmm.yaml @@ -26,13 +26,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - gpio-reserved-ranges: minItems: 1 maxItems: 27 @@ -100,7 +93,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq8074-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq8074-pinctrl.yaml index e053fbd588b5..6f90dbbdbdcc 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq8074-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq8074-pinctrl.yaml @@ -23,13 +23,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - gpio-reserved-ranges: minItems: 1 maxItems: 35 @@ -103,7 +96,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq9574-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq9574-tlmm.yaml index e5e9962b2174..bca903b5da6d 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq9574-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq9574-tlmm.yaml @@ -23,13 +23,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - gpio-reserved-ranges: minItems: 1 maxItems: 33 @@ -97,7 +90,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-tlmm.yaml index 5ece3b9d676b..bd3cbb44c99a 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-tlmm.yaml @@ -25,19 +25,7 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true gpio-reserved-ranges: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - -required: - - compatible - - reg - -additionalProperties: false patternProperties: "-state$": @@ -110,6 +98,12 @@ $defs: required: - pins +required: + - compatible + - reg + +unevaluatedProperties: false + examples: - | #include diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8660-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8660-pinctrl.yaml index a05971611780..61f5be21f30c 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8660-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8660-pinctrl.yaml @@ -23,13 +23,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - gpio-reserved-ranges: minItems: 1 maxItems: 86 @@ -92,7 +85,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml index 5095e86fe9a2..295dd5fcf4c3 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml @@ -25,19 +25,7 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true gpio-reserved-ranges: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - -required: - - compatible - - reg - -additionalProperties: false patternProperties: "-state$": @@ -108,6 +96,12 @@ $defs: required: - pins +required: + - compatible + - reg + +unevaluatedProperties: false + examples: - | #include diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8916-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8916-pinctrl.yaml index 063d004967bb..904af87f9eaf 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8916-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8916-pinctrl.yaml @@ -23,13 +23,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - gpio-reserved-ranges: minItems: 1 maxItems: 61 @@ -114,7 +107,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8960-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8960-pinctrl.yaml index 9172b50f7a98..46618740bd31 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8960-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8960-pinctrl.yaml @@ -23,13 +23,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - gpio-reserved-ranges: minItems: 1 maxItems: 76 @@ -108,7 +101,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8974-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8974-pinctrl.yaml index 8a3be65c51ed..840fdaabde12 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8974-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8974-pinctrl.yaml @@ -23,13 +23,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - gpio-reserved-ranges: minItems: 1 maxItems: 73 @@ -124,7 +117,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8976-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8976-pinctrl.yaml index ca95de0b87a6..d4391c194ff7 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8976-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8976-pinctrl.yaml @@ -23,13 +23,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - gpio-reserved-ranges: minItems: 1 maxItems: 73 @@ -104,7 +97,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8994-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8994-pinctrl.yaml index 41525ecfa8e3..fa90981db40b 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8994-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8994-pinctrl.yaml @@ -25,13 +25,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - gpio-reserved-ranges: minItems: 1 maxItems: 73 @@ -114,7 +107,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8996-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8996-pinctrl.yaml index 59d406b60957..c5010c175b23 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8996-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8996-pinctrl.yaml @@ -23,13 +23,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - gpio-reserved-ranges: minItems: 1 maxItems: 75 @@ -133,7 +126,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8998-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8998-pinctrl.yaml index bd6d7caf499a..bcaa231adaf7 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8998-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8998-pinctrl.yaml @@ -23,13 +23,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - gpio-reserved-ranges: minItems: 1 maxItems: 75 @@ -118,7 +111,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-tlmm.yaml index c323f6d495a4..e123beb33aef 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-tlmm.yaml @@ -22,13 +22,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - patternProperties: "-state$": oneOf: @@ -92,7 +85,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,qcs404-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,qcs404-pinctrl.yaml index b1b9cd319e50..4009501b3414 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,qcs404-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,qcs404-pinctrl.yaml @@ -29,13 +29,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - gpio-reserved-ranges: minItems: 1 maxItems: 60 @@ -130,7 +123,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,qdu1000-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,qdu1000-tlmm.yaml index 47363c23f4ea..88afeae530c6 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,qdu1000-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,qdu1000-tlmm.yaml @@ -26,10 +26,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - gpio-reserved-ranges: minItems: 1 maxItems: 76 @@ -37,10 +33,6 @@ properties: gpio-line-names: maxItems: 151 - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - patternProperties: "-state$": oneOf: @@ -103,7 +95,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sa8775p-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sa8775p-tlmm.yaml index d27933258db7..e9abbf2c0689 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sa8775p-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sa8775p-tlmm.yaml @@ -25,13 +25,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - gpio-reserved-ranges: minItems: 1 maxItems: 74 @@ -39,12 +32,6 @@ properties: gpio-line-names: maxItems: 148 -required: - - compatible - - reg - -additionalProperties: false - patternProperties: "-state$": oneOf: @@ -110,6 +97,12 @@ $defs: required: - pins +required: + - compatible + - reg + +unevaluatedProperties: false + examples: - | #include diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc7180-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc7180-pinctrl.yaml index 573e459b1c44..5606f2136ad1 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc7180-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc7180-pinctrl.yaml @@ -29,13 +29,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - gpio-reserved-ranges: minItems: 1 maxItems: 60 @@ -112,7 +105,7 @@ required: - reg - reg-names -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml index c8735ab97e40..5329fe2a4397 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml @@ -23,24 +23,6 @@ properties: description: Specifies the TLMM summary IRQ maxItems: 1 - interrupt-controller: true - - '#interrupt-cells': - description: - Specifies the PIN numbers and Flags, as defined in defined in - include/dt-bindings/interrupt-controller/irq.h - const: 2 - - gpio-controller: true - - '#gpio-cells': - description: Specifying the pin number and flags, as defined in - include/dt-bindings/gpio/gpio.h - const: 2 - - gpio-ranges: - maxItems: 1 - gpio-reserved-ranges: minItems: 1 maxItems: 88 @@ -48,8 +30,6 @@ properties: gpio-line-names: maxItems: 175 - wakeup-parent: true - patternProperties: "-state$": oneOf: @@ -124,14 +104,8 @@ allOf: required: - compatible - reg - - interrupts - - interrupt-controller - - '#interrupt-cells' - - gpio-controller - - '#gpio-cells' - - gpio-ranges -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-tlmm.yaml index b086a5184235..c122bb849f0f 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-tlmm.yaml @@ -31,20 +31,7 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - '#interrupt-cells': true - gpio-controller: true gpio-reserved-ranges: true - '#gpio-cells': true - gpio-ranges: true - wakeup-parent: true - -required: - - compatible - - reg - - reg-names - -additionalProperties: false patternProperties: "-state$": @@ -106,6 +93,13 @@ $defs: required: - pins +required: + - compatible + - reg + - reg-names + +unevaluatedProperties: false + examples: - | #include diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-tlmm.yaml index 4bd6d7977d3e..ed344deaf8b9 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-tlmm.yaml @@ -25,19 +25,7 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true gpio-reserved-ranges: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - -required: - - compatible - - reg - -additionalProperties: false patternProperties: "-state$": @@ -108,6 +96,12 @@ $defs: required: - pins +required: + - compatible + - reg + +unevaluatedProperties: false + examples: - | #include diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdm630-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdm630-pinctrl.yaml index 508e0633b253..a00cb43df144 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdm630-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdm630-pinctrl.yaml @@ -34,10 +34,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - gpio-reserved-ranges: minItems: 1 maxItems: 57 @@ -45,10 +41,6 @@ properties: gpio-line-names: maxItems: 114 - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - patternProperties: "-state$": oneOf: @@ -130,7 +122,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdm670-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdm670-tlmm.yaml index 84a15f77e710..b56e717aa28e 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdm670-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdm670-tlmm.yaml @@ -25,23 +25,10 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true gpio-reserved-ranges: minItems: 1 maxItems: 75 - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - -required: - - compatible - - reg - -additionalProperties: false - patternProperties: "-state$": oneOf: @@ -98,6 +85,12 @@ $defs: required: - pins +required: + - compatible + - reg + +unevaluatedProperties: false + examples: - | #include diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.yaml index d301881ddfa8..dfe5616b9b85 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.yaml @@ -26,10 +26,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - gpio-reserved-ranges: minItems: 1 maxItems: 75 @@ -37,10 +33,6 @@ properties: gpio-line-names: maxItems: 150 - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - patternProperties: "-state$": oneOf: @@ -110,7 +102,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx75-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx75-tlmm.yaml index 62cd8f84af9c..cb1d978d02c9 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx75-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx75-tlmm.yaml @@ -25,10 +25,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - gpio-reserved-ranges: minItems: 1 maxItems: 67 @@ -36,10 +32,6 @@ properties: gpio-line-names: maxItems: 133 - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - patternProperties: "-state$": oneOf: @@ -102,7 +94,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml index 871df54f69a2..7f36f9b93333 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml @@ -29,13 +29,7 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true gpio-reserved-ranges: true - wakeup-parent: true patternProperties: "-state$": @@ -97,7 +91,7 @@ required: - reg - reg-names -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-tlmm.yaml index 8d77707b02b9..ddeaeaa9a450 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-tlmm.yaml @@ -30,20 +30,7 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true gpio-reserved-ranges: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - -required: - - compatible - - reg - - reg-names - -additionalProperties: false patternProperties: "-state$": @@ -105,6 +92,13 @@ $defs: required: - pins +required: + - compatible + - reg + - reg-names + +unevaluatedProperties: false + examples: - | #include diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-tlmm.yaml index 27af379cf791..a4771f87d936 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-tlmm.yaml @@ -26,10 +26,6 @@ properties: minItems: 9 maxItems: 9 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - gpio-reserved-ranges: minItems: 1 maxItems: 78 @@ -37,16 +33,6 @@ properties: gpio-line-names: maxItems: 156 - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - -required: - - compatible - - reg - -additionalProperties: false - patternProperties: "-state$": oneOf: @@ -112,6 +98,12 @@ $defs: required: - pins +required: + - compatible + - reg + +unevaluatedProperties: false + examples: - | #include diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml index 6e02ba24825f..047f82863f9b 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml @@ -25,19 +25,7 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true gpio-reserved-ranges: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - -required: - - compatible - - reg - -additionalProperties: false patternProperties: "-state$": @@ -113,6 +101,12 @@ $defs: required: - pins +required: + - compatible + - reg + +unevaluatedProperties: false + examples: - | #include diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm7150-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm7150-tlmm.yaml index ede0f3acad9c..7f23f939ad32 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm7150-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm7150-tlmm.yaml @@ -32,13 +32,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - gpio-reserved-ranges: minItems: 1 maxItems: 60 @@ -111,7 +104,7 @@ required: - reg - reg-names -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8150-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8150-pinctrl.yaml index c6439626464e..bdb7ed4be026 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8150-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8150-pinctrl.yaml @@ -30,13 +30,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - gpio-reserved-ranges: minItems: 1 maxItems: 88 @@ -113,7 +106,7 @@ required: - reg - reg-names -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml index 021c54708524..b5d04347c064 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml @@ -28,13 +28,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - gpio-reserved-ranges: minItems: 1 maxItems: 90 @@ -106,7 +99,7 @@ required: - reg - reg-names -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml index 6e8f41ff0a76..ec5e09611d81 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml @@ -25,10 +25,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - gpio-reserved-ranges: minItems: 1 maxItems: 102 @@ -36,16 +32,6 @@ properties: gpio-line-names: maxItems: 203 - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - -required: - - compatible - - reg - -additionalProperties: false - patternProperties: "-state$": oneOf: @@ -108,6 +94,12 @@ $defs: required: - pins +required: + - compatible + - reg + +unevaluatedProperties: false + examples: - | #include diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-tlmm.yaml index 5163fe3f5365..16fd2c5e2339 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-tlmm.yaml @@ -25,10 +25,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - gpio-reserved-ranges: minItems: 1 maxItems: 105 @@ -36,16 +32,6 @@ properties: gpio-line-names: maxItems: 210 - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - -required: - - compatible - - reg - -additionalProperties: false - patternProperties: "-state$": oneOf: @@ -107,6 +93,12 @@ $defs: required: - pins +required: + - compatible + - reg + +unevaluatedProperties: false + examples: - | #include diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8550-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8550-tlmm.yaml index 567e44875c29..c2ae79df424f 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8550-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8550-tlmm.yaml @@ -25,10 +25,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - gpio-reserved-ranges: minItems: 1 maxItems: 105 @@ -36,10 +32,6 @@ properties: gpio-line-names: maxItems: 210 - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - patternProperties: "-state$": oneOf: @@ -119,7 +111,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8650-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8650-tlmm.yaml index 370789ce934b..c0a06abf851d 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8650-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8650-tlmm.yaml @@ -25,10 +25,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - gpio-reserved-ranges: minItems: 1 maxItems: 105 @@ -36,10 +32,6 @@ properties: gpio-line-names: maxItems: 210 - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - patternProperties: "-state$": oneOf: @@ -112,7 +104,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,x1e80100-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,x1e80100-tlmm.yaml index 3249c63a29cf..a1333e0743a9 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,x1e80100-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,x1e80100-tlmm.yaml @@ -25,10 +25,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - gpio-reserved-ranges: minItems: 1 maxItems: 119 @@ -36,10 +32,6 @@ properties: gpio-line-names: maxItems: 238 - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true - patternProperties: "-state$": oneOf: @@ -108,7 +100,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Dec 8 21:55: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: 176059 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5741241vqy; Fri, 8 Dec 2023 13:57:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IEBOuTB9RFr88uePT6vFzw9F7+G/XfEGohXcp5LomAAjHNt+zapzaW8oMhSYhVcpxI/MKo4 X-Received: by 2002:a17:90a:7d02:b0:286:9204:da51 with SMTP id g2-20020a17090a7d0200b002869204da51mr1949396pjl.34.1702072651362; Fri, 08 Dec 2023 13:57:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702072651; cv=none; d=google.com; s=arc-20160816; b=JE16yt7nHh6ha5hB8wxiT1gBaptn7uKiAdJ3IPKvXdK4y1PgaRo5kbIj+OLUN+AYkc BKbRojGSFdGKlHCNzwKZ+PoyPXlxkLSwN5dghSr29x1RY2s6NU6GZjNmwCRsVE3il7X/ 3GkGqQNZEj4lcQh5Ef2hl1YtT278Zzm6txFKaQGkB1aDG8Rt/4Y926sBgUqcWApieWir /xeo9/3ICDgzkFsp3CAtTY8engkzGplhktTAKShQ1VjdAvrevaNKfkmpcgUqLbDFdirD l/L4iUtl7Img7T6ZQyBnktKRogbmZS4+Vbs3yvU8uQjf92vPjqA6JZbhX51I61uye6lg BFMQ== 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 :dkim-signature; bh=UvC2I0iVSlYBpEavv2s399rriLt9p7Wi8wI8jxxuqwI=; fh=osUoKzrAgwDelRlndJEL5+nc7h7NF7pqP+0Zgt4syd4=; b=ci4a2YtMYxieAV+w4eJUjb4T/leGAHgZOquaGFqTzT67CoZa0V7Agy25TRhyVWvZvy jO+u5Gmb5xUJfDQEFLi6jk8MiSxvLxNPlNcED0uuMfTNxd/d8Z8Qs8TCgrTcUgmCX4/z dfOKGXyH177UOv1EHo7czpIygJwqa5fionu5w5k5qelZhF28hh3BuBisFjrpgS5EI+lU Wjzw3FfYwXMtbGzPhZN4BmExy2bjVgNvRiY1OtT1sNJOMIqN/RwfH3ksn5hgmhVPXTww /R1IkZ52soaDSa++vEX33yB4dtVSIY2O5yrhuaxJAIucnb2xPdlpAKImUM060DFV/QGk FgIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HN2Axzd1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id fz3-20020a17090b024300b0028683b7af1esi3502241pjb.12.2023.12.08.13.57.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:57:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HN2Axzd1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 9A31481BFBAC; Fri, 8 Dec 2023 13:56:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574903AbjLHV4j (ORCPT + 99 others); Fri, 8 Dec 2023 16:56:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236018AbjLHV4U (ORCPT ); Fri, 8 Dec 2023 16:56:20 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CDE21BF8 for ; Fri, 8 Dec 2023 13:56:05 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40c39ef63d9so2501505e9.3 for ; Fri, 08 Dec 2023 13:56:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702072564; x=1702677364; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=UvC2I0iVSlYBpEavv2s399rriLt9p7Wi8wI8jxxuqwI=; b=HN2Axzd1k7d5XS15kimiPVxU/tBKxHzYrL72HmoeMTvfHdMvqvTy3M4GX9yGjcA5Wc sAjNH2no70KagIU9EO3dJT5PsuDzZ69p+PPNQLlJpAA5qOLd48Kga2zVZQjkWM2BFNZ+ KVmHvcznwy1iF1fgc4x+ctb3hUuUCeC/pn43lg75gZtX56qRExyxnHfo7OiZpnLTjuCy e/NHCJgSbBsuI2pyvzd2q1bQwBQNUjNfoXrjIQd4X8t+XWcteR6HRIawztpzolOngQso rjVH40aJ5W2OBtDjZzxELvLFmsJaJJtoDhI8DSIXAQ5UWM1kk60QpW9yxAb8FvLuuVpE 6obg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702072564; x=1702677364; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UvC2I0iVSlYBpEavv2s399rriLt9p7Wi8wI8jxxuqwI=; b=GUzMPGSrT6ogTZsGxBMgmHsABv510L5q4FYPxTEFpDhuiJPLqXpeVxENix/r+ELXfU cNS4InlaW43QUsq433yLXQglFyAJHCHcchIwPLlgRdyuucy7Uul2f5AIy6x3AL2fk/JK JwB2ynLI+67KjlnApxwZNpFIcma/P6OwZRYdrV6VY1ODxHVuNLWm/lRb3FMQK3XRdjZr dCY7/oOORNIx9h03Bhc3DFEzmrAXThS5+WTsV8i0iIQeVvB9jeqVq0K3T+6QR0yatp6W vX+betr4DmUVXLehadotdH/tDTwn+E9zXfhXzMHqR2BG3vJiLpWHjh7BBUmtyUusSvpD Okhg== X-Gm-Message-State: AOJu0Yxykpe1nbta2nFqoi2x27ILroSKFh6w+pFcYnwvneVebAIni4rf WrSf4IFHvsk6sHilMTQnzM9z8w== X-Received: by 2002:a05:600c:3542:b0:401:b2c7:34a8 with SMTP id i2-20020a05600c354200b00401b2c734a8mr364557wmq.7.1702072563935; Fri, 08 Dec 2023 13:56:03 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id r20-20020a05600c459400b0040b349c91acsm6321789wmo.16.2023.12.08.13.56.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:56:03 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Andy Gross , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , Stephan Gerhold , Shawn Guo , Melody Olvera , Bartosz Golaszewski , Richard Acayan , Vinod Koul , krishna Lanka , Rohit Agarwal , Iskren Chernev , Martin Botka , Danila Tikhonov , Abel Vesa , Rajendra Nayak , 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/10] dt-bindings: pinctrl: qcom: drop common properties and allow wakeup-parent Date: Fri, 8 Dec 2023 22:55:34 +0100 Message-Id: <20231208215534.195854-10-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> References: <20231208215534.195854-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 08 Dec 2023 13:56:50 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784752532905307808 X-GMAIL-MSGID: 1784752532905307808 Drop common properties already defined in referenced common Qualcomm SoC TLMM bindings and use "unevaluatedProperties: false". This makes the binding smaller and easier to review. Additionally this allows now "wakeup-parent" property coming from common TLMM bindings. In few places move the "required:" block to bottom, to match convention. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/pinctrl/qcom,ipq6018-pinctrl.yaml | 8 +------- .../bindings/pinctrl/qcom,mdm9615-pinctrl.yaml | 18 ++++++------------ .../bindings/pinctrl/qcom,msm8226-pinctrl.yaml | 8 +------- .../bindings/pinctrl/qcom,msm8953-pinctrl.yaml | 7 +------ .../bindings/pinctrl/qcom,sdx55-pinctrl.yaml | 8 +------- .../bindings/pinctrl/qcom,sdx65-tlmm.yaml | 8 +------- 6 files changed, 11 insertions(+), 46 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml index 7c3e5e043f07..ed00fbaec11b 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml @@ -22,12 +22,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - patternProperties: "-state$": oneOf: @@ -100,7 +94,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9615-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9615-pinctrl.yaml index 5885aee95c98..299e0b4b0ab4 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9615-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9615-pinctrl.yaml @@ -23,18 +23,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - '#interrupt-cells': true - gpio-controller: true - '#gpio-cells': true - gpio-ranges: true - -required: - - compatible - - reg - -additionalProperties: false - patternProperties: "-state$": oneOf: @@ -74,6 +62,12 @@ $defs: required: - pins +required: + - compatible + - reg + +unevaluatedProperties: false + examples: - | #include diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml index a602bf0d27fb..68d3fa2105b8 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml @@ -23,12 +23,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - gpio-reserved-ranges: maxItems: 1 @@ -82,7 +76,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml index 798aac9e6e31..8a3a962f6c00 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml @@ -22,12 +22,7 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true gpio-reserved-ranges: true - "#gpio-cells": true - gpio-ranges: true patternProperties: "-state$": @@ -117,7 +112,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml index 67af99dd8f14..edbcff92bbf9 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml @@ -23,12 +23,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - gpio-reserved-ranges: maxItems: 1 @@ -102,7 +96,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-tlmm.yaml index 27319782d94b..a31b638c456d 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-tlmm.yaml @@ -22,12 +22,6 @@ properties: interrupts: maxItems: 1 - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - "#gpio-cells": true - gpio-ranges: true - gpio-reserved-ranges: maxItems: 1 @@ -122,7 +116,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - |