drivers: MediaTek MT8195 Audio DSP interrupt controller
Add an interrupt controller driver for this device. This is an extremely simple second level controller with per-interrupt-bit registers for "enable" and "status". There is no internal latching, so no "clear/ACK" process is needed. Signed-off-by: Andy Ross <andyross@google.com>
This commit is contained in:
parent
c23132afdf
commit
3f07d70cf3
5 changed files with 127 additions and 0 deletions
33
dts/bindings/interrupt-controller/mediatek,adsp_intc.yaml
Normal file
33
dts/bindings/interrupt-controller/mediatek,adsp_intc.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Copyright 2023 The ChromiumOS Authors
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: MediaTek MT8xxx Audio DSP Interrupt Controller
|
||||
|
||||
compatible: "mediatek,adsp_intc"
|
||||
|
||||
include: [interrupt-controller.yaml, base.yaml]
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
interrupts:
|
||||
required: true
|
||||
|
||||
"#interrupt-cells":
|
||||
const: 3
|
||||
|
||||
status-reg:
|
||||
description: Register address of interrupt-is-signaled bits
|
||||
type: int
|
||||
required: true
|
||||
|
||||
mask:
|
||||
description: Mask of valid interrupt bits
|
||||
type: int
|
||||
required: true
|
||||
|
||||
interrupt-cells:
|
||||
- irq
|
||||
- sense
|
||||
- priority
|
Loading…
Add table
Add a link
Reference in a new issue