-
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 tags 'acpi-6.2-rc1' and 'irq-core-2022-12-10' into loongarch-next
LoongArch architecture changes for 6.2 depend on the acpi and irqchip changes to work, so merge them to create a base.
- Loading branch information
Showing
192 changed files
with
4,560 additions
and
2,171 deletions.
There are no files selected for viewing
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
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; | ||
}; |
33 changes: 0 additions & 33 deletions
33
Documentation/devicetree/bindings/interrupt-controller/mediatek,cirq.txt
This file was deleted.
Oops, something went wrong.
68 changes: 68 additions & 0 deletions
68
Documentation/devicetree/bindings/interrupt-controller/mediatek,mtk-cirq.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,68 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/interrupt-controller/mediatek,mtk-cirq.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: MediaTek System Interrupt Controller | ||
|
||
maintainers: | ||
- Youlin Pei <youlin.pei@mediatek.com> | ||
|
||
description: | ||
In MediaTek SoCs, the CIRQ is a low power interrupt controller designed to | ||
work outside of MCUSYS which comprises with Cortex-Ax cores, CCI and GIC. | ||
The external interrupts (outside MCUSYS) will feed through CIRQ and connect | ||
to GIC in MCUSYS. When CIRQ is enabled, it will record the edge-sensitive | ||
interrupts and generate a pulse signal to parent interrupt controller when | ||
flush command is executed. With CIRQ, MCUSYS can be completely turned off | ||
to improve the system power consumption without losing interrupts. | ||
|
||
|
||
properties: | ||
compatible: | ||
items: | ||
- enum: | ||
- mediatek,mt2701-cirq | ||
- mediatek,mt8135-cirq | ||
- mediatek,mt8173-cirq | ||
- mediatek,mt8192-cirq | ||
- const: mediatek,mtk-cirq | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
'#interrupt-cells': | ||
const: 3 | ||
|
||
interrupt-controller: true | ||
|
||
mediatek,ext-irq-range: | ||
$ref: /schemas/types.yaml#/definitions/uint32-array | ||
items: | ||
- description: First CIRQ interrupt | ||
- description: Last CIRQ interrupt | ||
description: | ||
Identifies the range of external interrupts in different SoCs | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- '#interrupt-cells' | ||
- interrupt-controller | ||
- mediatek,ext-irq-range | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/irq.h> | ||
cirq: interrupt-controller@10204000 { | ||
compatible = "mediatek,mt2701-cirq", "mediatek,mtk-cirq"; | ||
reg = <0x10204000 0x400>; | ||
#interrupt-cells = <3>; | ||
interrupt-controller; | ||
interrupt-parent = <&sysirq>; | ||
mediatek,ext-irq-range = <32 200>; | ||
}; |
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
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
Oops, something went wrong.