Skip to content

Commit de13141

Browse files
nxpfranklirobherring
authored andcommitted
dt-bindings: interrupt-controller: Add arm,armv7m-nvic and fix #interrupt-cells
According to existed dts arch/arm/boot/dts/armv7-m.dtsi and driver drivers/irqchip/irq-nvic.c, compatible string should be arm,armv7m-nvic, Fix below CHECK_DTB warning: arch/arm/boot/dts/nxp/vf/vf610m4-cosmic.dtb: /interrupt-controller@e000e100: failed to match any schema with compatible: ['arm,armv7m-nvic'] Signed-off-by: Frank Li <Frank.Li@nxp.com> Link: https://lore.kernel.org/r/20250624224630.2518776-1-Frank.Li@nxp.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent 1b22afb commit de13141

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • Documentation/devicetree/bindings/interrupt-controller

Documentation/devicetree/bindings/interrupt-controller/arm,nvic.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ description:
1717
properties:
1818
compatible:
1919
enum:
20+
- arm,armv7m-nvic # deprecated
2021
- arm,v6m-nvic
2122
- arm,v7m-nvic
2223
- arm,v8m-nvic
@@ -30,7 +31,7 @@ properties:
3031
interrupt-controller: true
3132

3233
'#interrupt-cells':
33-
const: 2
34+
enum: [1, 2]
3435
description: |
3536
Number of cells to encode an interrupt source:
3637
first = interrupt number, second = priority.

0 commit comments

Comments
 (0)