Skip to content

Commit 1f6e218

Browse files
kanakshilledarpalmer-dabbelt
authored andcommitted
dt-bindings: riscv: cpus: add ref to interrupt-controller
removed the redundant properties for interrupt-controller and provide reference to the riscv,cpu-intc.yaml which defines the interrupt-controller. making the properties for riscv interrupt-controller at a central place. Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Kanak Shilledar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 9ff1410 commit 1f6e218

File tree

1 file changed

+1
-20
lines changed
  • Documentation/devicetree/bindings/riscv

1 file changed

+1
-20
lines changed

Documentation/devicetree/bindings/riscv/cpus.yaml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -102,26 +102,7 @@ properties:
102102

103103
interrupt-controller:
104104
type: object
105-
additionalProperties: false
106-
description: Describes the CPU's local interrupt controller
107-
108-
properties:
109-
'#interrupt-cells':
110-
const: 1
111-
112-
compatible:
113-
oneOf:
114-
- items:
115-
- const: andestech,cpu-intc
116-
- const: riscv,cpu-intc
117-
- const: riscv,cpu-intc
118-
119-
interrupt-controller: true
120-
121-
required:
122-
- '#interrupt-cells'
123-
- compatible
124-
- interrupt-controller
105+
$ref: /schemas/interrupt-controller/riscv,cpu-intc.yaml#
125106

126107
cpu-idle-states:
127108
$ref: /schemas/types.yaml#/definitions/phandle-array

0 commit comments

Comments
 (0)