Skip to contentSkip to conversation

dt-bindings: powerpc: Drop duplicate fsl/mpic.txt

PATCH New Rob Herring (Arm) 1 participant 1 message Aug 14, 2025

Subsystems (4)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH v2 1/1 dt-bindings: powerpc: Drop duplicate fsl/mpic.txt

The chrp,open-pic binding schema already supports the "fsl,mpic" compatible. Add a couple of missing properties and support for 4 "#interrupt-cells" to the chrp,open-pic binding, so fsl/mpic.txt can be removed.

---
v2:
- Add support for 4 #interrupt-cells

---
 .../interrupt-controller/chrp,open-pic.yaml   |  17 +-
 .../devicetree/bindings/powerpc/fsl/mpic.txt  | 231 ------------------
 2 files changed, 16 insertions(+), 232 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/powerpc/fsl/mpic.txt
Documentation/devicetree/bindings/interrupt-controller/chrp,open-pic.yaml +16 -1
index f0d9bbd7d510..642738512f3c 100644
@@ -36,12 +36,27 @@ properties:
     const: 0
 
   '#interrupt-cells':
-    const: 2
+    description:
+      A value of 4 means that interrupt specifiers contain the interrupt-type or
+      type-specific information cells.
+    enum: [ 2, 4 ]
 
   pic-no-reset:
     description: Indicates the PIC shall not be reset during runtime initialization.
     type: boolean
 
+  single-cpu-affinity:
+    description:
+      If present, non-IPI interrupts will be routed to a single CPU at a time.
+    type: boolean
+
+  last-interrupt-source:
+    description:
+      Some MPICs do not correctly report the number of hardware sources in the
+      global feature registers. This value, if specified, overrides the value
+      read from MPIC_GREG_FEATURE_LAST_SRC.
+    $ref: /schemas/types.yaml#/definitions/uint32
+
 required:
   - compatible
   - reg
Documentation/devicetree/bindings/powerpc/fsl/mpic.txt deleted +0 -231

231 lines not on this page · raw message

Signature · 1 line
2.47.2