The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v2 1/1] dt-bindings: interrupt-controller: fsl,irqsteer: Add imx8qxp support
@ 2024-04-12 11:03 Alexander Stein
  2024-04-13  7:49 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Stein @ 2024-04-12 11:03 UTC (permalink / raw)
  To: Thomas Gleixner, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Lucas Stach
  Cc: Alexander Stein, linux-kernel, devicetree

Some SoC like i.MX8QXP use a power-domain for this IP. Add a SoC-specific
compatible, which also requires a power-domain.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
This patch replaces v1 from [1].

Changes in v2:
* Add imx8qxp specific compatible
* Require a power-domain for this SoC

[1] https://lore.kernel.org/all/20240110094338.472304-1-alexander.stein@ew.tq-group.com/
 .../interrupt-controller/fsl,irqsteer.yaml    | 20 ++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml b/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml
index 20ad4ad82ad6..0ce0246870c0 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml
@@ -14,7 +14,9 @@ properties:
     oneOf:
       - const: fsl,imx-irqsteer
       - items:
-          - const: fsl,imx8m-irqsteer
+          - enum:
+              - fsl,imx8m-irqsteer
+              - fsl,imx8qxp-irqsteer
           - const: fsl,imx-irqsteer
 
   reg:
@@ -42,6 +44,9 @@ properties:
   clock-names:
     const: ipg
 
+  power-domains:
+    maxItems: 1
+
   interrupt-controller: true
 
   "#interrupt-cells":
@@ -72,6 +77,19 @@ required:
 
 additionalProperties: false
 
+allOf:
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: fsl,imx8qxp-irqsteer
+    then:
+      properties:
+        power-domains:
+          minItems: 1
+      required:
+        - power-domains
+
 examples:
   - |
     #include <dt-bindings/clock/imx8mq-clock.h>
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-13  7:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-12 11:03 [PATCH v2 1/1] dt-bindings: interrupt-controller: fsl,irqsteer: Add imx8qxp support Alexander Stein
2024-04-13  7:49 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox