lkml.org 
[lkml]   [2024]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v3 1/1] dt-bindings: interrupt-controller: fsl,irqsteer: Add imx8qxp support
Date
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>
---
Thanks for the feedback.

Changes in v3:
* Move 'allOf' before 'additionalProperties'
* Remove superfluous 'minItems: 1'

.../interrupt-controller/fsl,irqsteer.yaml | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml b/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml
index 20ad4ad82ad64..3d33b75d6ecfa 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":
@@ -70,6 +75,16 @@ required:
- fsl,channel
- fsl,num-irqs

+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: fsl,imx8qxp-irqsteer
+ then:
+ required:
+ - power-domains
+
additionalProperties: false

examples:
--
2.34.1

\
 
 \ /
  Last update: 2024-04-22 08:50    [W:0.065 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site