dt-bindings: pinctrl: qcom: allow nine interrupts on SM6350
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 30 Dec 2022 13:56:43 +0000 (14:56 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 13 Jan 2023 10:47:52 +0000 (11:47 +0100)
Almost all Qualcomm SoC Top Level Mode Multiplexers come with only
summary interrupt.  SM6350 is different because downstream and upstream
DTS have nine of the interrupts.  Allow such variation.

Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221230135645.56401-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
34 files changed:
Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,ipq8074-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-tlmm.yaml
Documentation/devicetree/bindings/pinctrl/qcom,mdm9615-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,msm8660-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml
Documentation/devicetree/bindings/pinctrl/qcom,msm8916-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,msm8960-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,msm8974-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,msm8976-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,msm8994-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,msm8996-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,msm8998-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-tlmm.yaml
Documentation/devicetree/bindings/pinctrl/qcom,qcs404-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sc7180-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-tlmm.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-tlmm.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sdm630-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sdm670-tlmm.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sdx65-tlmm.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sm6125-tlmm.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sm6350-tlmm.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sm8150-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sm8450-tlmm.yaml
Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml

index 93f231c7a3b43e3383439c77111abdbce7f63f09..28f1b6a07b70d8d07435236377d7bc02fdc5b183 100644 (file)
@@ -19,7 +19,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index 5687acaf19bfa7c23abf68b8ef91b81d1df0164d..3137db927fc0a7e419435c0c1eefb0021050654d 100644 (file)
@@ -20,7 +20,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index a0a12171b6d0d9e415d4638954ed78aaf63d79e9..96b598bf9a76ff0984be7c08f0f7dcf531ff5c3d 100644 (file)
@@ -22,7 +22,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index a4f6e4c588f4254d68ff870bae129e1e772c3115..c7c94d742ed2b983d1e3dd96484f78095c441096 100644 (file)
@@ -20,7 +20,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   '#interrupt-cells': true
   gpio-controller: true
index 3b79f5be860ba56e334abc6553a0876d24a0be90..ab6672a4c8c121d226b62c651ce10d49572548b3 100644 (file)
@@ -20,7 +20,9 @@ properties:
     description: Specifies the base address and size of the TLMM register space
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index ad0cad4694c0dad8c213c3a0d7a386361fd0d8a8..348d84c3cd2161af6753efe1378067a3048a7719 100644 (file)
@@ -20,7 +20,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index cc6d0c9c510019801ad77dff31728f068ca31902..449e6e34be61689fc41421ade6d32d4bf7d1b158 100644 (file)
@@ -22,7 +22,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index 5495f58905af0fcf1c0a38c2a97bc212348907ee..633c9e5ed49e062525587cabccf5087046a058fe 100644 (file)
@@ -20,7 +20,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index c9a4a79e8d01bbba2d2a5e5a76592d391c307f96..6bcd5208080163faaecbf2de3fef5ae8d7d66916 100644 (file)
@@ -19,7 +19,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index 33d07d531273014f85cf73d5481f53371fc4082f..cf386f644ccb02568b5d622458243a51bb567dab 100644 (file)
@@ -20,7 +20,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index 9287cbbff7111e684b1a9faf6c0cd8d46d61b104..afe4a80f0b79621f2171e0ffe407c3a5029e3f60 100644 (file)
@@ -20,7 +20,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index 858f45710fe267dd6a2f059232200bf5c451f1fd..5dfcc3eadbb0c69a4ec031be21c3cf45f5e5904b 100644 (file)
@@ -20,7 +20,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index 55d5439c6c2494be7488e14d4d87c0a81303e470..f4a8180f59590799b8c5c7f686328009c1c80248 100644 (file)
@@ -22,7 +22,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index 8e1cd4ba11164a8e741656647ff24cc4b1856bc9..047b4584e3c0139b6f1998c5279ccb6ae489444a 100644 (file)
@@ -20,7 +20,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index 21ba32cc204aae2bdbc09df959118626b9712d8d..c07ee986804600d1181cc9d101a6e89a92fef541 100644 (file)
@@ -20,7 +20,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index adf64bfaa4ed3f8a17bcb78fba521a633015a367..6271fd15e0b6764856bdf3412a032f17a355a0ff 100644 (file)
@@ -19,7 +19,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index 29d50c4a0034cdb8cb466a19016e88254a8cbbe5..20bc967a17b5ac411eee4df37a0cf70de84f4f6c 100644 (file)
@@ -26,7 +26,9 @@ properties:
       - const: north
       - const: east
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index b40f6dc6adaec31406eaf3d626d777f8bce83dbe..f33792a1af6c68c0267fda393c689a1ff5e7df4a 100644 (file)
@@ -26,7 +26,9 @@ properties:
       - const: north
       - const: south
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index 24191d5f64acdb379965be22b8cadc9be2c136cd..0ace55c9868edeb2c0a13f63b6d4e324a6c100db 100644 (file)
@@ -28,7 +28,9 @@ properties:
       - const: east
       - const: south
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   '#interrupt-cells': true
   gpio-controller: true
index 4efde29c36a2693a62069626993a9b5abc48cb55..97b27d6835e983edf571a070e61a13310cbb3195 100644 (file)
@@ -22,7 +22,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index bd4fd8404aa4c5d556b5054d4eaa4c2e23ceae0f..ea6bd0b44f5695c3c90a46852c691cc33e7dd08e 100644 (file)
@@ -31,7 +31,9 @@ properties:
       - const: center
       - const: north
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index 7585117c0f06e8e71df16d5b74e91b3d1d849052..f586b3aa138e5123bd0503f20a0d5381bafeee68 100644 (file)
@@ -22,7 +22,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index 18ddcfe2e088f513a6c6b2163c778f8d6934552c..23d7c030fec0aa78058fd116d8b940abc0388b6a 100644 (file)
@@ -23,7 +23,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index a76117e41d93023112cc2f4a77aaa5e986420fda..add3c7e64520b451fe35ee3f428b2e76b7c410e7 100644 (file)
@@ -20,7 +20,9 @@ properties:
     description: Specifies the base address and size of the TLMM register space
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index 2f53905260e616d75b7bb04f14cc6897ec81a0a9..89c5562583d157aaca194d55590ed45ec5c992b0 100644 (file)
@@ -19,7 +19,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index 164f24db8b2b6521bcb4aeaec31ac999d29072c7..29325483cd2b79b8518f69cce62e2c7ef2b0ce56 100644 (file)
@@ -26,7 +26,9 @@ properties:
       - const: south
       - const: east
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index e1dd54a160d55033b44c16d131520a451f947dde..c9bc4893e8e8abbc5d61f51cc0412fe125b7b35f 100644 (file)
@@ -27,7 +27,9 @@ properties:
       - const: south
       - const: east
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index 39f3ec5b71879a0afc1962b6c940c3afd8602b74..d95935fcc8b5a1c9dd68bb905df7fa57bea613de 100644 (file)
@@ -22,7 +22,10 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    minItems: 9
+    maxItems: 9
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
@@ -125,7 +128,16 @@ examples:
     pinctrl@f100000 {
         compatible = "qcom,sm6350-tlmm";
         reg = <0x0f100000 0x300000>;
-        interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
+        interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
+                     <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>,
+                     <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
+                     <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
+                     <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
+                     <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>,
+                     <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>,
+                     <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>,
+                     <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>;
+
         gpio-controller;
         #gpio-cells = <2>;
         interrupt-controller;
index d54ebb2bd5a8f96a09f5b7acaed531e249ec069f..e4231d10d76f50585cdf251d49521b0b11abd594 100644 (file)
@@ -22,7 +22,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index 85adddbdee566d9958609d71f7ea18b3c66203a1..4376a9bd4d70dceafce08485701e8e52081852be 100644 (file)
@@ -27,7 +27,9 @@ properties:
       - const: north
       - const: south
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index c80f3847ac0873100203495b7fb79dc1b6d5fa73..56e058c315f75b8db9c9d2e5ef2a04939db63854 100644 (file)
@@ -25,7 +25,9 @@ properties:
       - const: south
       - const: north
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index 7b483e93bfe18752aeb52f1a5faebca7e417f5f5..49a74f351e996c387639a02e2549b0ac172b4af1 100644 (file)
@@ -22,7 +22,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index 4a1d10d6c5e7e7c450c38b42b6d11dbda8203e4f..451faad12a6670321eb5db7446fbfb0c77646f4f 100644 (file)
@@ -22,7 +22,9 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts: true
+  interrupts:
+    maxItems: 1
+
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
index e1354f0c64f82a10076cebbf79954abb7dc4e6ef..cb5ba1bd6f8d2f4d7ff833cbd97341497b1f9626 100644 (file)
@@ -16,8 +16,9 @@ description:
 properties:
   interrupts:
     description:
-      Specifies the TLMM summary IRQ
-    maxItems: 1
+      TLMM summary IRQ and dirconn interrupts.
+    minItems: 1
+    maxItems: 9
 
   interrupt-controller: true