Skip to content

Commit 889588d

Browse files
cyyselfThomas Gleixner
authored andcommitted
dt-bindings: interrupt-controller: sifive,plic: Clarify the riscv,ndev meaning in PLIC
In PLIC, interrupt source 0 is reserved and should not be used. Therefore, the valid interrupt sources are from 1 to riscv,ndev inclusive. Update the documentation to clarify this point. [ tglx: Fixup subject prefix ] Signed-off-by: Yangyu Chen <cyy@cyyself.name> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/tencent_720A4669773B1EE15EC720869C35C2F0490A@qq.com
1 parent 42e025b commit 889588d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ properties:
108108
riscv,ndev:
109109
$ref: /schemas/types.yaml#/definitions/uint32
110110
description:
111-
Specifies how many external interrupts are supported by this controller.
111+
Specifies how many external (device) interrupts are supported by this
112+
controller. Note that source 0 is reserved in PLIC, so the valid
113+
interrupt sources are 1 to riscv,ndev inclusive.
112114

113115
clocks: true
114116

0 commit comments

Comments
 (0)