-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch irq/loongarch-of into irq/irqchip-next
* irq/loongarch-of: : . : Initial OF support for LoongArch. Funny how it only took : *one* release from plumbing ACPI into an unsuspecting : architecture to start enabling OF on it. Oh well... : . irqchip/loongarch-cpu: Fix a missing prototype warning dt-bindings: interrupt-controller: add yaml for LoongArch CPU interrupt controller irqchip: loongarch-cpu: add DT support Signed-off-by: Marc Zyngier <maz@kernel.org>
- Loading branch information
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
...entation/devicetree/bindings/interrupt-controller/loongarch,cpu-interrupt-controller.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/interrupt-controller/loongarch,cpu-interrupt-controller.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: LoongArch CPU Interrupt Controller | ||
|
||
maintainers: | ||
- Liu Peibao <liupeibao@loongson.cn> | ||
|
||
properties: | ||
compatible: | ||
const: loongarch,cpu-interrupt-controller | ||
|
||
'#interrupt-cells': | ||
const: 1 | ||
|
||
interrupt-controller: true | ||
|
||
additionalProperties: false | ||
|
||
required: | ||
- compatible | ||
- '#interrupt-cells' | ||
- interrupt-controller | ||
|
||
examples: | ||
- | | ||
interrupt-controller { | ||
compatible = "loongarch,cpu-interrupt-controller"; | ||
#interrupt-cells = <1>; | ||
interrupt-controller; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters