-
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 tag 'irqchip-6.2' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/maz/arm-platforms into irq/core Pull irqchip updates frim Marc Zyngier: - More APCI fixes and improvements for the LoongArch architecture, adding support for the HTVEC irqchip, suspend-resume, and some PCI INTx workarounds - Initial DT support for LoongArch. I'm not even kidding. - Support for the MTK CIRQv2, a minor deviation from the original version - Error handling fixes for wpcm450, GIC... - BE detection for a FSL controller - Declare the Sifive PLIC as wake-up agnostic - Simplify fishing out the device data for the ST irqchip - Mark some data structures as __initconst in the apple-aic driver - Switch over from strtobool to kstrtobool - COMPILE_TEST fixes
- Loading branch information
Showing
23 changed files
with
557 additions
and
144 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; | ||
}; |
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
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
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
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.